From 29c396584f9a819df5dbaf076290dc31413d0607 Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Wed, 14 Aug 2019 02:42:11 +0300 Subject: [PATCH] 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. --- stages/org.osbuild.dnf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stages/org.osbuild.dnf b/stages/org.osbuild.dnf index 2a0145b8..9aa59aa2 100755 --- a/stages/org.osbuild.dnf +++ b/stages/org.osbuild.dnf @@ -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