Minor improvements.

This commit is contained in:
Ivan Davidov 2017-12-06 03:09:42 +02:00
parent 3756755d39
commit 3844205480
2 changed files with 6 additions and 4 deletions

View File

@ -14,7 +14,7 @@ BUSYBOX_INSTALLED=$(pwd)/work/busybox/busybox_installed
cd work cd work
echo "Preparing rootfsfs work area." echo "Preparing rootfs work area."
rm -rf rootfs rm -rf rootfs
# Copy all BusyBox generated stuff to the location of our 'rootfs' folder. # Copy all BusyBox generated stuff to the location of our 'rootfs' folder.
@ -53,12 +53,14 @@ cp $SYSROOT/lib/libc.so.6 lib
# Copy all necessary 'glibc' libraries to '/lib' END. # Copy all necessary 'glibc' libraries to '/lib' END.
echo "Reducing the size of libraries and executables."
set +e
strip -g \ strip -g \
$SRC_DIR/work/rootfs/bin/* \ $SRC_DIR/work/rootfs/bin/* \
$SRC_DIR/work/rootfs/sbin/* \ $SRC_DIR/work/rootfs/sbin/* \
$SRC_DIR/work/rootfs/lib/* \ $SRC_DIR/work/rootfs/lib/* \
2>/dev/null 2>/dev/null
echo "Reduced the size of libraries and executables." set -e
# Read the 'OVERLAY_LOCATION' property from '.config' # Read the 'OVERLAY_LOCATION' property from '.config'
OVERLAY_LOCATION="$(grep -i ^OVERLAY_LOCATION $SRC_DIR/.config | cut -f2 -d'=')" OVERLAY_LOCATION="$(grep -i ^OVERLAY_LOCATION $SRC_DIR/.config | cut -f2 -d'=')"

View File

@ -52,8 +52,8 @@ PROMPT 1
TIMEOUT 50 TIMEOUT 50
DEFAULT mll DEFAULT mll
SAY Press enter to boot minimal linux or wait 5 seconds SAY Press enter to boot Minimal Linux Live or wait 5 seconds.
SAY Press tab to view available boot entries or enter syslinux commands directly SAY Press tab to view available boot entries or enter Syslinux commands directly.
LABEL mll LABEL mll
LINUX kernel.xz LINUX kernel.xz