#503 Create pungi-patch-iso script
Closed: Fixed Opened by dmach.

Use case:

  • Anaconda supports OEMDRV feature.
  • When a user inserts a flash drive with OEMDRV label and ks.cfg on it, the kickstart is used automatically.
  • I was told the feature is quite fragile, because the flash drive doesn't always get loaded in time and properly.

That's why we want an option how to add ks.cfg on installation media.

The overall idea is to create a script that patches an iso with files from overlay directory:

pungi-patch-iso [--supported=..] [--label=...] <target-iso> <source-iso> <overlay-dir>
  • mount source iso
  • create graft points from mounted source iso + overlay dir
  • if ks.cfg is detected, patch syslinux + grub to use it
  • label is copied from source iso unless --label is specified
  • make the target iso bootable if source iso is bootable
  • supported composes: fedora-25+, rhel-7+
  • implantmd5 + supported bit (use the same as on source iso, unless overriden by --supported option)
  • isohybrid support

It might be useful to add ks.cfg reference to .treeinfo.
If you think it's a good idea, let's work together on patching productmd.

Metadata Update from @lsedlar:
- Issue assigned to lsedlar

While working on this I have found a few things that might be bugs in lorax:
https://github.com/rhinstaller/lorax/issues/186
https://github.com/rhinstaller/lorax/issues/187

Pull request #537 should fix this.

Metadata Update from @lsedlar:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @lsedlar:
- Issue tagged with: 4.1.14

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/503

Please continue any further discussion there.

Metadata