From 8c2c4ba906fd6bf9def6b879c7cc3ec9ae9e2c2e Mon Sep 17 00:00:00 2001 From: pepedog Date: Sat, 20 Oct 2012 21:16:34 +0200 Subject: [PATCH] alarm/raspberrypi-firmware ram config --- .../raspberrypi-firmware.install | 34 ++----------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/alarm/raspberrypi-firmware/raspberrypi-firmware.install b/alarm/raspberrypi-firmware/raspberrypi-firmware.install index 7a3561a4b..4ad264bbd 100644 --- a/alarm/raspberrypi-firmware/raspberrypi-firmware.install +++ b/alarm/raspberrypi-firmware/raspberrypi-firmware.install @@ -1,34 +1,4 @@ -pre_upgrade() { -startelfmd5="$(md5sum /boot/start.elf| awk '{print $1}')" - -for file in /boot/*.elf; do - - if [ $file != /boot/start.elf ] - then - currentmd5="$(md5sum $file| awk '{print $1}')" - - if [ "$currentmd5" == "$startelfmd5" ] - then - echo "$file" > /tmp/rpifirmware.txt - echo " >>>Current installed start.elf: $file" - fi - fi -done - - -} - - post_upgrade() { - -if [ -e /tmp/rpifirmware.txt ] - then - firmwarename=$(head -n 1 /tmp/rpifirmware.txt) - if [ -e "$firmwarename" ] - then - echo " >>>Replacing /boot/start.elf with $firmwarename" - cp $firmwarename /boot/start.elf - fi -fi +echo ">>see http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=20255&start=25#p198247" +echo ">>on how to configure gpu/ram split" } -