From 33f570be6dba8c6fa8b966a25a24e130fb521463 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Tue, 24 Apr 2012 04:59:58 +0200 Subject: [PATCH] pandora-first-run-wizard and pandora-state: Moved zram module loading into /etc/modules --- .../pandora-first-run-wizard/first-run-wizard.sh | 3 ++- recipes/pandora-system/pandora-state/rc.pandora-state | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh index d0c2cc3..a4f1a13 100755 --- a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh +++ b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh @@ -234,8 +234,9 @@ if ! grep -q 'blacklist wl1251_sdio' /etc/modprobe.conf 2> /dev/null; then echo 'blacklist wl1251_sdio' >> /etc/modprobe.conf fi -# add Midi Module +# add Midi Module and zram echo snd-seq>>/etc/modules +echo zram>>/etc/modules # get rid of some dirs in /media that OE creates but are unlikely to be used rmdir /media/card /media/cf /media/mmc1 /media/net /media/realroot /media/union 2> /dev/null diff --git a/recipes/pandora-system/pandora-state/rc.pandora-state b/recipes/pandora-system/pandora-state/rc.pandora-state index 637f0b1..e5729fc 100644 --- a/recipes/pandora-system/pandora-state/rc.pandora-state +++ b/recipes/pandora-system/pandora-state/rc.pandora-state @@ -71,7 +71,6 @@ d_start() { sed -n '11p' /etc/pandora/conf/nubs.state > /proc/pandora/nub1/scroll_rate sed -n '12p' /etc/pandora/conf/nubs.state > /proc/pandora/nub1/mbutton_threshold echo "Enabling ZRAM Swap" - modprobe zram mkswap /dev/zram0 swapon -p 5 /dev/zram0 } -- 2.39.2