mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
Base+Meta: Remove invalid symlinks from Base for more and env
These symlinks' only purpose was to be copied into the rootfs along with the rest of Base. Instead of storing symlinks to files that either don't exist in the Base directory, or point to an absolute path outside of the serenity folder, move these symlinks into the build-root-filesystem.sh script.
This commit is contained in:
parent
c1983244a2
commit
9fb781d7db
3 changed files with 3 additions and 3 deletions
|
@ -1 +0,0 @@
|
|||
/bin/less
|
|
@ -1 +0,0 @@
|
|||
/bin/env
|
|
@ -134,7 +134,7 @@ chmod 755 mnt/res/devel/templates/*.postcreate
|
|||
echo "done"
|
||||
|
||||
printf "creating initial filesystem structure... "
|
||||
for dir in bin etc proc mnt tmp boot mod var/run usr/local; do
|
||||
for dir in bin etc proc mnt tmp boot mod var/run usr/local usr/bin; do
|
||||
mkdir -p mnt/$dir
|
||||
done
|
||||
chmod 700 mnt/boot
|
||||
|
@ -200,6 +200,8 @@ echo "done"
|
|||
printf "installing shortcuts... "
|
||||
ln -sf Shell mnt/bin/sh
|
||||
ln -sf test mnt/bin/[
|
||||
ln -sf less mnt/bin/more
|
||||
ln -sf /bin/env mnt/usr/bin/env
|
||||
echo "done"
|
||||
|
||||
printf "installing 'checksum' variants... "
|
||||
|
|
Loading…
Reference in a new issue