mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
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:
parent
ace109be29
commit
50b73b9d09
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user