[libvirt-tck PATCH] Debian calls mkisofs genisoimage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



so check for that too when generating the iso.
---
 lib/Sys/Virt/TCK/NetworkHelpers.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/Sys/Virt/TCK/NetworkHelpers.pm b/lib/Sys/Virt/TCK/NetworkHelpers.pm
index f7f6d70..5e1bac1 100644
--- a/lib/Sys/Virt/TCK/NetworkHelpers.pm
+++ b/lib/Sys/Virt/TCK/NetworkHelpers.pm
@@ -32,8 +32,10 @@ sub build_cdrom_ks_image {
     unless (-e $isoimage) {
 	my $isofiledir = $tck->bucket_dir($bucket1);
 	my $ksfile = $tck->get_scratch_resource($ks, $bucket1, "ks.cfg");
+	my @progs = `which mkisofs genisoimage`;
+	chomp(@progs);
 
-	`mkisofs -o "$isoimage" $isofiledir`;
+	`$progs[0] -o "$isoimage" $isofiledir`;
     }
 
     return ($isoimage, "cdrom:/ks.cfg");
-- 
1.7.10.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]