Bind-mount vfs directories for each stage
Many of the stages need it anyway.
This commit is contained in:
parent
658d691174
commit
f6023ed78b
4 changed files with 20 additions and 40 deletions
4
osbuild
4
osbuild
|
|
@ -58,6 +58,10 @@ def main(pipeline_path, from_archive, save):
|
|||
set -e
|
||||
mount -t tmpfs tmpfs /tmp
|
||||
mount -t tmpfs tmpfs /var/tmp
|
||||
mkdir -p {tree}/dev {tree}/sys {tree}/proc
|
||||
mount --bind /dev {tree}/dev
|
||||
mount --bind /sys {tree}/sys
|
||||
mount --bind /proc {tree}/proc
|
||||
stages/{name}
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue