live-bootstrap/steps/improve/merged_usr.sh
2025-10-17 18:53:10 +11:00

10 lines
314 B
Bash
Executable file

#!/bin/sh
# SPDX-FileCopyrightText: 2023 Samuel Tyler <samuel@samuelt.me>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Add the rest of the FHS that we will use and is not created pre-boot
ln -s bin /usr/sbin
for d in bin lib sbin; do
ln -s "usr/${d}" "/${d}" || true # these might exist if rerunning
done