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:
Andrew Kaster 2023-03-04 05:38:33 -07:00 committed by Andreas Kling
parent c1983244a2
commit 9fb781d7db
Notes: sideshowbarker 2024-07-17 00:57:24 +09:00
3 changed files with 3 additions and 3 deletions

View File

@ -1 +0,0 @@
/bin/less

View File

@ -1 +0,0 @@
/bin/env

View File

@ -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... "