create /selinux in initrd, guestfsd tries to bind mount it into the guest
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=83
This commit is contained in:
parent
3cfa25b5f5
commit
27969a5f19
@ -6,6 +6,9 @@
|
|||||||
# in guestfsd the mount point defaults to /sysroot
|
# in guestfsd the mount point defaults to /sysroot
|
||||||
mkdir -vp $tmp_mnt/sysroot
|
mkdir -vp $tmp_mnt/sysroot
|
||||||
|
|
||||||
|
# guestfsd tries to bind mount this directory
|
||||||
|
mkdir -vp $tmp_mnt/selinux
|
||||||
|
|
||||||
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…
Reference in New Issue
Block a user