dump contents of /boot/

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=183
This commit is contained in:
Olaf Hering 2013-01-03 17:13:23 +00:00 committed by Git OBS Bridge
parent 2cf70258a5
commit dc1ca1c8e9

View File

@ -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