mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
fix(steps-guix): initialize /proc and mtab before delegating finalize_fhs
This commit is contained in:
parent
685f8aefa2
commit
3bea5b5ce6
1 changed files with 6 additions and 0 deletions
|
|
@ -2,4 +2,10 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
mkdir -p /proc /etc
|
||||||
|
if [ ! -r /proc/mounts ]; then
|
||||||
|
mount -t proc proc /proc
|
||||||
|
fi
|
||||||
|
ln -snf /proc/mounts /etc/mtab
|
||||||
|
|
||||||
exec /steps/improve/finalize_fhs.sh
|
exec /steps/improve/finalize_fhs.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue