stages/dnf: use nspawn's vfs tree
dracut stumbled over the one we set up (errors about not being able to access /dev/kmsg). Use the one that systemd-nspawn sets up instead.
This commit is contained in:
parent
9741087e92
commit
29c396584f
1 changed files with 3 additions and 3 deletions
|
|
@ -32,9 +32,9 @@ def main(tree, options):
|
|||
script = f"""
|
||||
set -e
|
||||
mkdir -p {tree}/dev {tree}/sys {tree}/proc
|
||||
mount -t devtmpfs none {tree}/dev
|
||||
mount -t sysfs none {tree}/sys
|
||||
mount -t proc none {tree}/proc
|
||||
mount -o bind /dev {tree}/dev
|
||||
mount -o bind /sys {tree}/sys
|
||||
mount -o bind /proc {tree}/proc
|
||||
"""
|
||||
returncode = subprocess.run(["/bin/sh", "-c", script]).returncode
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue