forked from pool/libguestfs
create /sysroot directory in initrd, guestfsd relies on it
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=61
This commit is contained in:
parent
81fafb8188
commit
03c60de8f5
@ -2,6 +2,10 @@
|
|||||||
#%stage: block
|
#%stage: block
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# many guestfish commands need a mount point
|
||||||
|
# in guestfsd the mount point defaults to /sysroot
|
||||||
|
mkdir -vp $tmp_mnt/sysroot
|
||||||
|
|
||||||
for f in /etc/magic /usr/share/misc/magic*
|
for f in /etc/magic /usr/share/misc/magic*
|
||||||
do
|
do
|
||||||
if test -e $f
|
if test -e $f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user