summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-16 18:37:03 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-20 19:19:34 +0100
commitc8465b4c1a5ec64fda51d2a7f4fa33b6126f91d1 (patch)
treeefb1e68cc45cb701510275e0e8f8632c34b439df /Meta
parente2dfd028f944d95bafcc9021231b47a010baa8ac (diff)
downloadserenity-c8465b4c1a5ec64fda51d2a7f4fa33b6126f91d1.zip
Meta: Slightly improve image script
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/build-root-filesystem.sh3
1 files changed, 1 insertions, 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 )