notaz.gp2x.de
/
ginge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cf0a08f
)
wiz release3 (script hacks)
author
notaz
<notaz@pixelinis>
Thu, 19 Aug 2010 10:04:10 +0000
(13:04 +0300)
committer
notaz
<notaz@pixelinis>
Thu, 19 Aug 2010 10:04:10 +0000
(13:04 +0300)
dist/ginge.gpe
patch
|
blob
|
blame
|
history
diff --git
a/dist/ginge.gpe
b/dist/ginge.gpe
index
5e06e1d
..
9a7e95f
100755
(executable)
--- a/
dist/ginge.gpe
+++ b/
dist/ginge.gpe
@@
-6,6
+6,7
@@
unset LD_PRELOAD
/sbin/insmod ./tools/warm_2.6.24.ko
# we might write something to /tmp, no need to write to flash
/sbin/insmod ./tools/warm_2.6.24.ko
# we might write something to /tmp, no need to write to flash
+# FIXME: doesn't seem to work, tmpfs broken in Wiz kernel?
if ! grep -q '/tmp' /proc/mounts; then
mount -t tmpfs none /tmp
fi
if ! grep -q '/tmp' /proc/mounts; then
mount -t tmpfs none /tmp
fi
@@
-13,12
+14,14
@@
fi
# theoretically GP2X apps can make use of more RAM, because
# Wiz has 2.6 kernel (larger memory requirements) and larger
# reserved areas, so we mount some swap here just in case.
# theoretically GP2X apps can make use of more RAM, because
# Wiz has 2.6 kernel (larger memory requirements) and larger
# reserved areas, so we mount some swap here just in case.
-mkswap swapfile
-swapon swapfile
+
+# FIXME: doesn't work too, causes more problems than resolves
+#mkswap swapfile
+#swapon swapfile
./gp2xmenu --view-game
./gp2xmenu --view-game
-swapoff swapfile
+
#
swapoff swapfile
umount /tmp
/sbin/rmmod warm 2> /dev/null
umount /tmp
/sbin/rmmod warm 2> /dev/null