Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
FirmwareUpdateKit
support_mkisofs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File support_mkisofs.patch of Package FirmwareUpdateKit
Index: FirmwareUpdateKit-1.6/fuk =================================================================== --- FirmwareUpdateKit-1.6.orig/fuk +++ FirmwareUpdateKit-1.6/fuk @@ -499,8 +499,12 @@ if($opt_iso) { if(!-f "/usr/share/syslinux/isolinux.bin") { die "/usr/share/syslinux/isolinux.bin: no such file\nPlease install package 'syslinux'.\n"; } - if(!-x "/usr/bin/genisoimage") { - die "genisoimage not found\nPlease install package 'genisoimage'.\n"; + $mkisofs = "/usr/bin/mkisofs"; + if(!-x $mkisofs) { + $mkisofs = "/usr/bin/genisoimage"; + if(!-x $mkisofs) { + die "mkisofs not found\nPlease install package 'mkisofs' or 'genisoimage'.\n"; + } } mkdir "$fuk_dir/cd", 0755; @@ -523,7 +527,7 @@ timeout 0 system "cp /usr/share/syslinux/memdisk $fuk_dir/cd"; system "cp /usr/share/syslinux/isolinux.bin $fuk_dir/cd"; - system "genisoimage" . ($opt_verbose ? "" : " --quiet") . + system $mkisofs . ($opt_verbose ? "" : " --quiet") . " -o $opt_iso -f -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux.bin -hide boot.catalog $fuk_dir/cd"; exit 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor