1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:27:34 +00:00

LibC: Enough compat work to make binutils-2.32 build and run.

This commit is contained in:
Andreas Kling 2019-02-23 17:24:50 +01:00
parent d7753c7c8d
commit a7a456002e
14 changed files with 110 additions and 45 deletions

View file

@ -4,7 +4,7 @@ if [ $(id -u) != 0 ]; then
fi
rm -vf _fs_contents.lock
rm -vf _fs_contents
dd if=/dev/zero of=_fs_contents bs=1M count=12
dd if=/dev/zero of=_fs_contents bs=1M count=256
mke2fs _fs_contents
chown 1000:1000 _fs_contents
mkdir -vp mnt
@ -32,6 +32,7 @@ ln -s /proc/self/fd/0 mnt/dev/stdin
ln -s /proc/self/fd/1 mnt/dev/stdout
ln -s /proc/self/fd/2 mnt/dev/stderr
cp -vR ../Base/* mnt/
cp -vR ../Root/* mnt/
mkdir mnt/home/anon
mkdir mnt/home/nona
chown -vR 100:100 mnt/home/anon