From 6184d29f49d7bad5429c8e3e17ef61d36a3f3599 Mon Sep 17 00:00:00 2001 From: m45t3r Date: Thu, 12 Nov 2020 00:20:19 -0300 Subject: Add make_opk.sh --- opk/make_opk.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 opk/make_opk.sh (limited to 'opk/make_opk.sh') diff --git a/opk/make_opk.sh b/opk/make_opk.sh new file mode 100755 index 0000000..f263b63 --- /dev/null +++ b/opk/make_opk.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +cd $(dirname "$0") + +OPK_NAME="${1:-snesemu.opk}" + +echo Building "${OPK_NAME}"... + +# create opk +FLIST="../snes9x default.gcw0.desktop sfc.png" + +rm -f "${OPK_NAME}" +mksquashfs ${FLIST} "${OPK_NAME}" -all-root -no-xattrs -noappend -no-exports + +cat default.gcw0.desktop -- cgit v1.2.3