Bug 1130539 - [RFE] livemedia-creator include config and commands
Summary: [RFE] livemedia-creator include config and commands
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-15 13:42 UTC by Pat Riehecky
Modified: 2014-10-17 00:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-10-17 00:46:49 UTC

Attachments (Terms of Use)

Description Pat Riehecky 2014-08-15 13:42:03 UTC
Description of problem: When creating images such as --make-iso or --make-disk it would be helpful if their was a way to optionally include the kickstart file and commands used to build the image on the image root.

something like:
mount -o loop my.iso /mnt/
ls /mnt/livemedia.ks
ls /mnt/livemedia-recreate.sh

Version-Release number of selected component (if applicable):lorax-21.19-1.fc22

How reproducible:

Steps to Reproduce:
1. Discover 3 month old live media
2. Wish to rebuild with current packages
3. Media rebuild is not self contained

Actual results:
Need to find the kickstart and commands from an external location

Expected results:
The ability to easily make media anyone can reproduce from information on the media itself.

Additional info:

Comment 1 Brian Lane 2014-10-17 00:46:49 UTC
Getting the actual source kickstart onto the final media is tricky. Anaconda does write a copy of it, after parsing, into /root/ but that doesn't include any comments.

You could package your kickstart in a rpm and include it that way, or fetch it from a network source in %post. When using --no-virt you may even be able to copy it from the host in a %post --nochroot section.

There is the additional problem that not everyone wants to include it, so that means adding yet another switch, so in the end I think it's best to let you pull it in yourself in %post.

Note You need to log in before you can comment on or make changes to this bug.