#503 Create pungi-patch-iso script
Closed: Fixed 8 years ago Opened 8 years ago 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

8 years ago

Pull request #537 should fix this.

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

8 years ago

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

8 years ago

Log in to comment on this ticket.

Metadata