mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
Meta: Slightly improve image script
This commit is contained in:
parent
e2dfd028f9
commit
c8465b4c1a
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
|
# file permissions in Base/ are too restrictive. Restore
|
||||||
# the permissions needed in the image.
|
# the permissions needed in the image.
|
||||||
chmod -R g+rX,o+rX "$SERENITY_ROOT"/Base/* mnt/
|
chmod -R g+rX,o+rX "$SERENITY_ROOT"/Base/* mnt/
|
||||||
chmod 400 mnt/res/kernel.map
|
|
||||||
|
|
||||||
chmod 660 mnt/etc/WindowServer/WindowServer.ini
|
chmod 660 mnt/etc/WindowServer/WindowServer.ini
|
||||||
chown $window_uid:$window_gid 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
|
chown 0:$utmp_gid mnt/bin/utmpupdate
|
||||||
chmod 2755 mnt/bin/utmpupdate
|
chmod 2755 mnt/bin/utmpupdate
|
||||||
chmod 600 mnt/etc/shadow
|
chmod 600 mnt/etc/shadow
|
||||||
|
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
printf "creating initial filesystem structure... "
|
printf "creating initial filesystem structure... "
|
||||||
|
@ -83,6 +81,7 @@ echo "done"
|
||||||
|
|
||||||
printf "setting up device nodes folder... "
|
printf "setting up device nodes folder... "
|
||||||
mkdir -p mnt/dev
|
mkdir -p mnt/dev
|
||||||
|
echo "done"
|
||||||
|
|
||||||
printf "writing version file... "
|
printf "writing version file... "
|
||||||
GIT_HASH=$( (git log --pretty=format:'%h' -n 1 | head -c 7) || true )
|
GIT_HASH=$( (git log --pretty=format:'%h' -n 1 | head -c 7) || true )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue