mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
init: warn on obvious KERNEL/SYSTEM mismatch
... because rpi / netboot users still cant get it
This commit is contained in:
parent
dc27f1ad64
commit
912e3794db
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Busybox version: 1.22.1
|
# Busybox version: 1.22.1
|
||||||
# Thu Apr 24 17:06:16 2014
|
# Sun Nov 23 18:41:18 2014
|
||||||
#
|
#
|
||||||
CONFIG_HAVE_DOT_CONFIG=y
|
CONFIG_HAVE_DOT_CONFIG=y
|
||||||
|
|
||||||
@ -286,7 +286,7 @@ CONFIG_FEATURE_FANCY_TAIL=y
|
|||||||
# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
|
# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
|
||||||
# CONFIG_TRUE is not set
|
# CONFIG_TRUE is not set
|
||||||
# CONFIG_TTY is not set
|
# CONFIG_TTY is not set
|
||||||
# CONFIG_UNAME is not set
|
CONFIG_UNAME=y
|
||||||
# CONFIG_UNEXPAND is not set
|
# CONFIG_UNEXPAND is not set
|
||||||
# CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set
|
# CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS is not set
|
||||||
# CONFIG_UNIQ is not set
|
# CONFIG_UNIQ is not set
|
||||||
|
@ -599,6 +599,18 @@
|
|||||||
mount --move /storage /sysroot/storage
|
mount --move /storage /sysroot/storage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "/sysroot/lib/modules/$(uname -r)/" -a -f "/sysroot/usr/lib/systemd/systemd" ]; then
|
||||||
|
echo ""
|
||||||
|
echo "NEVER TOUCH boot= in extlinux.conf / cmdline.txt"
|
||||||
|
echo "if you dont know what you are doing"
|
||||||
|
echo ""
|
||||||
|
echo "your installation is now broken"
|
||||||
|
echo ""
|
||||||
|
echo "normal boot in 60s..."
|
||||||
|
usleep 60000000
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
[ -f "/sysroot/usr/lib/systemd/systemd" ] || error "final_check" "Could not find system."
|
[ -f "/sysroot/usr/lib/systemd/systemd" ] || error "final_check" "Could not find system."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user