mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
busybox: init: use buildsystem's SYSTEM_SIZE for update warning
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
7e67a70da0
commit
9d03223e80
@ -208,6 +208,7 @@ makeinstall_init() {
|
||||
cp ${PKG_DIR}/scripts/init ${INSTALL}
|
||||
sed -e "s/@DISTRONAME@/${DISTRONAME}/g" \
|
||||
-e "s/@KERNEL_NAME@/${KERNEL_NAME}/g" \
|
||||
-e "s/@SYSTEM_SIZE@/${SYSTEM_SIZE}/g" \
|
||||
-i ${INSTALL}/init
|
||||
chmod 755 ${INSTALL}/init
|
||||
}
|
||||
|
@ -916,7 +916,7 @@ check_update() {
|
||||
echo ""
|
||||
echo "You must re-install your system using the disk image of a"
|
||||
echo "current release, or you must re-size your existing partitions"
|
||||
echo "so that the System (FAT) partition is at least 512MB in size."
|
||||
echo "so that the System (FAT) partition is at least @SYSTEM_SIZE@MB in size."
|
||||
echo ""
|
||||
do_cleanup
|
||||
StartProgress countdown "Normal startup in 60s... " 60 "NOW"
|
||||
|
Loading…
x
Reference in New Issue
Block a user