diff --git a/packages/sysutils/busybox/package.mk b/packages/sysutils/busybox/package.mk index 8365016ddd..8491f96dbe 100644 --- a/packages/sysutils/busybox/package.mk +++ b/packages/sysutils/busybox/package.mk @@ -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 } diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 050ad1387d..7d7ad04bae 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/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"