]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Getting unknown filesystem type 'rootfs', so use bind method
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 3 Jul 2023 05:12:38 +0000 (07:12 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 3 Jul 2023 05:12:38 +0000 (07:12 +0200)
PLD_Builder/rpm_builder.py

index 4b1eccf3ac9f2e4db4da0614bb72712e6262718d..f64ec6c789c72b457417a998a393f300c97c5348 100644 (file)
@@ -155,7 +155,7 @@ def prepare_env(logfile = None):
         test ! -c /dev/zero && rm -f /dev/zero && mknod -m 666 /dev/zero c 1 5
 
         # need entry for "/" in mtab, for diskspace() to work in rpm
-        [ -z $(awk '$2 == "/" {print $1; exit}' /etc/mtab) ] && mount -f -t rootfs rootfs /
+        [ -z $(awk '$2 == "/" {print $1; exit}' /etc/mtab) ] && mount -o bind / /
 
         # make neccessary files readable for builder user
         # TODO: see if they really aren't readable for builder
This page took 0.173585 seconds and 4 git commands to generate.