Use merged usr throughout the entire bootstrap

This commit is contained in:
fosslinux 2024-01-12 22:12:47 +11:00
parent 5b84cdd178
commit 3669db9125
3 changed files with 11 additions and 7 deletions

View file

@ -3,13 +3,6 @@
# SPDX-FileCopyrightText: 2023 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Add the rest of the FHS that we will use and is not created pre-boot
rm -rf /sbin /usr/sbin
ln -s /usr/bin /usr/sbin
for d in bin lib sbin; do
ln -s "/usr/${d}" "/${d}" || true # these might exist if rerunning
done
mkdir -p /etc /run /var/log /var/lock /var/spool /var/tmp /var/cache