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:
		@@ -423,6 +423,7 @@ CFLAGS="$RPM_OPT_FLAGS -Wno-unused"
 | 
				
			|||||||
CXXFLAGS="$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
 | 
					# 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
 | 
					# 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
 | 
					if /sbin/modinfo -k "`env PATH=/sbin:/usr/sbin:$PATH get_kernel_version '%{kernel_binary}'`" virtio-scsi
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
	: use virtio-scsi, which is the default in libguestfs
 | 
						: use virtio-scsi, which is the default in libguestfs
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user