From a6af7a0fa4bfe6b34bdac74546af69b335ea4953 Mon Sep 17 00:00:00 2001 From: Pasha Date: Thu, 29 Feb 2024 19:43:10 +0000 Subject: create-image use console output,initrd size fix, README update --- create-image.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'create-image.sh') diff --git a/create-image.sh b/create-image.sh index 1ae60cc..290c0d3 100644 --- a/create-image.sh +++ b/create-image.sh @@ -5,7 +5,7 @@ LOOP=$(sudo losetup -f) LOOPPART="${LOOP}p1" IMG=hd.img -IMG_SIZE=10GB +IMG_SIZE=4GB BASE_SYS_ROOT=$(basename $SYS_ROOT) create_image () { @@ -53,9 +53,9 @@ copy_files () { cp -R $SYSTEM/$BASE_SYS_ROOT/libexec/* mount/libexec/ && cp files/{rc,runsystem} mount/libexec/ && (if [ -f mount/lib/ld-x86-64.so.1 ]; then - ln -sfv /lib/ld-x86-64.so.1 mount/lib/ld.so + ln -svf /lib/ld-x86-64.so.1 mount/lib/ld.so else - ln -sfv /lib/ld.so.1 mount/lib/ld.so + ln -svf /lib/ld.so.1 mount/lib/ld.so fi) && ln -svf / mount/$BASE_SYS_ROOT ln -svf /bin/bash mount/bin/sh && -- cgit v1.2.1