forked from pool/libguestfs
dump contents of /boot/
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=183
This commit is contained in:
parent
2cf70258a5
commit
dc1ca1c8e9
@ -423,6 +423,7 @@ CFLAGS="$RPM_OPT_FLAGS -Wno-unused"
|
||||
CXXFLAGS="$RPM_OPT_FLAGS -Wno-unused"
|
||||
# If the kernel happens to have no virtio-scsi force virtio-blk usage in the tools
|
||||
# This is true for kernel.rpm included in 12.1 and older
|
||||
ls -laR /boot/ || :
|
||||
if /sbin/modinfo -k "`env PATH=/sbin:/usr/sbin:$PATH get_kernel_version '%{kernel_binary}'`" virtio-scsi
|
||||
then
|
||||
: use virtio-scsi, which is the default in libguestfs
|
||||
|
Loading…
Reference in New Issue
Block a user