SHA256
1
0
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:
Olaf Hering 2012-09-03 15:32:29 +00:00 committed by Git OBS Bridge
parent 81fafb8188
commit 03c60de8f5

View File

@ -2,6 +2,10 @@
#%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*
do
if test -e $f