1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +00:00

WindowServer: Support desktop wallpapers.

For now, you don't get to choose the wallpaper, but it's still pretty cool.
This commit is contained in:
Andreas Kling 2019-02-08 08:45:59 +01:00
parent 2736957701
commit 90d3375dc2
5 changed files with 230 additions and 3 deletions

View file

@ -1,9 +1,15 @@
rm -vf _fs_contents.lock
rm -vf _fs_contents
cp -vp _fs_contents.stock _fs_contents
dd if=/dev/zero of=_fs_contents bs=1M count=8
mke2fs _fs_contents
chown 1000:1000 _fs_contents
mkdir -vp mnt
mount -o loop _fs_contents mnt/
mkdir -vp mnt/bin
mkdir -vp mnt/etc
mkdir -vp mnt/proc
mkdir -vp mnt/dev
mkdir -vp mnt/dev/pts
mknod mnt/dev/tty0 c 4 0
mknod mnt/dev/tty1 c 4 1
mknod mnt/dev/tty2 c 4 2
@ -11,7 +17,6 @@ mknod mnt/dev/tty3 c 4 3
mknod mnt/dev/keyboard c 85 1
mknod mnt/dev/psaux c 10 1
mknod mnt/dev/ptmx c 5 2
mkdir mnt/dev/pts
mknod mnt/dev/gui_events c 66 1
ln -s /proc/self/fd/0 mnt/dev/stdin
ln -s /proc/self/fd/1 mnt/dev/stdout