1 2 3 4 5 6 7 8 9 10 11 12 13 14 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