busybox: remove support for initramfs.conf, disable SYSTEM-to-RAM support for RPi

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-07-25 07:30:19 +02:00
parent ace109be29
commit 50b73b9d09
3 changed files with 0 additions and 13 deletions

View File

@ -232,10 +232,6 @@ makeinstall_init() {
touch $INSTALL/etc/fstab touch $INSTALL/etc/fstab
ln -sf /proc/self/mounts $INSTALL/etc/mtab ln -sf /proc/self/mounts $INSTALL/etc/mtab
if [ -f $PROJECT_DIR/$PROJECT/initramfs/initramfs.conf ]; then
cp $PROJECT_DIR/$PROJECT/initramfs/initramfs.conf $INSTALL/etc
fi
cp $PKG_DIR/scripts/init $INSTALL cp $PKG_DIR/scripts/init $INSTALL
chmod 755 $INSTALL/init chmod 755 $INSTALL/init
} }

View File

@ -55,11 +55,6 @@
INSTALLED_MEMORY=`cat /proc/meminfo | grep 'MemTotal:' | awk '{print $2}'` INSTALLED_MEMORY=`cat /proc/meminfo | grep 'MemTotal:' | awk '{print $2}'`
SYSTEM_TORAM_LIMIT=1024000 SYSTEM_TORAM_LIMIT=1024000
# load any configuration
if [ -f "/etc/initramfs.conf" ]; then
. /etc/initramfs.conf
fi
# hide kernel log messages on console # hide kernel log messages on console
echo '1 4 1 7' > /proc/sys/kernel/printk echo '1 4 1 7' > /proc/sys/kernel/printk

View File

@ -1,4 +0,0 @@
# min size to support System to RAM
# default for RaspberryPi we set to 356MB (256MB + appr. image size (100MB) )
# to be sure we have at least 256MB free
SYSTEM_TORAM_LIMIT=364544