Actions
Bug #3247
closedruby193-rubygem-foreman_bootdisk should depend on genisoimage
Description
After installing the RPM for foreman-bootdisk and attempting to generate an ISO image, you will observe the following error:
[root@foreman ~]# foreman-rake bootdisk:generate:generic --trace- Invoke bootdisk:generate:generic (first_time)
- Invoke environment (first_time)
- Execute environment
"WARNING: Please upgrade to mysql2. The old mysql adapter is not supported by foreigner." - Execute bootdisk:generate:generic
rake aborted!
ERF51-8093: ISO build failed
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-1.2.2/app/services/bootdisk/iso_generator.rb:34:in `block in generate'
/opt/rh/ruby193/root/usr/share/ruby/tmpdir.rb:83:in `mktmpdir'
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-1.2.2/app/services/bootdisk/iso_generator.rb:12:in `generate'
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-1.2.2/lib/tasks/bootdisk.rake:19:in `block (3 levels) in <top (required)>'
[[snip]]
It turns out that this is because mkisofs cannot be found. A simple fix would be to ensure that the 'genisoimage' RPM is a dependency of the rubygem-foreman_bootdisk RPM.
Actions