mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Meta: Slightly improve image script
This commit is contained in:
parent
e2dfd028f9
commit
c8465b4c1a
Notes:
sideshowbarker
2024-07-18 23:02:41 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/c8465b4c1a5 Pull-request: https://github.com/SerenityOS/serenity/pull/5010
1 changed files with 1 additions and 2 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue