From c8465b4c1a5ec64fda51d2a7f4fa33b6126f91d1 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 16 Jan 2021 18:37:03 +0100 Subject: [PATCH] Meta: Slightly improve image script --- Meta/build-root-filesystem.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh index fa56f8eb93..9dfe00e9c7 100755 --- a/Meta/build-root-filesystem.sh +++ b/Meta/build-root-filesystem.sh @@ -39,7 +39,6 @@ $CP -PdR Root/* mnt/ # file permissions in Base/ are too restrictive. Restore # the permissions needed in the image. chmod -R g+rX,o+rX "$SERENITY_ROOT"/Base/* mnt/ -chmod 400 mnt/res/kernel.map chmod 660 mnt/etc/WindowServer/WindowServer.ini chown $window_uid:$window_gid mnt/etc/WindowServer/WindowServer.ini @@ -63,7 +62,6 @@ chmod 4750 mnt/bin/keymap chown 0:$utmp_gid mnt/bin/utmpupdate chmod 2755 mnt/bin/utmpupdate chmod 600 mnt/etc/shadow - echo "done" printf "creating initial filesystem structure... " @@ -83,6 +81,7 @@ echo "done" printf "setting up device nodes folder... " mkdir -p mnt/dev +echo "done" printf "writing version file... " GIT_HASH=$( (git log --pretty=format:'%h' -n 1 | head -c 7) || true )