diff options
Diffstat (limited to 'create-image.sh')
-rw-r--r-- | create-image.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 && |