Bug 688268 - Need support for edit-livecd to take a kickstart file for RPM installation and blacklisting
Summary: Need support for edit-livecd to take a kickstart file for RPM installation an...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: livecd-tools
Version: 6.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 688331 696848 705163 891344 1055798
TreeView+ depends on / blocked
 
Reported: 2011-03-16 16:56 UTC by Perry Myers
Modified: 2019-11-05 19:15 UTC (History)
9 users (show)

Fixed In Version: livecd-tools-031-4
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-12 18:09:32 UTC
Target Upstream Version:


Attachments (Terms of Use)
initial patch for upstream livecd-tools (11.44 KB, patch)
2011-03-16 23:51 UTC, Alan Pevec
no flags Details | Diff
fixups (11.43 KB, patch)
2011-03-17 00:24 UTC, Alan Pevec
no flags Details | Diff
patched creator.py backported to livecd-tools-031-2.el6 (32.35 KB, text/plain)
2011-05-10 21:41 UTC, Alan Pevec
no flags Details
patched kickstart.py backported to livecd-tools-031-2.el6 (18.28 KB, text/plain)
2011-05-10 21:42 UTC, Alan Pevec
no flags Details
patched edit-livecd backported to livecd-tools-031-2.el6 (27.03 KB, text/plain)
2011-05-10 21:45 UTC, Alan Pevec
no flags Details
edit-livecd -k patch rebased for livecd-tools-031-3.el6 (31.45 KB, patch)
2011-08-30 20:03 UTC, Alan Pevec
no flags Details | Diff

Description Perry Myers 2011-03-16 16:56:02 UTC
Description of problem:
edit-livecd presently just takes a shell script which is free-form.  Add support for a -k --kickstart option that will take a kickstart file and from it utilize the %packages and %post sections, including %post sections that utilize the image minimizer interface for blacklisting

Comment 2 Alan Pevec 2011-03-16 23:51:43 UTC
Created attachment 485863 [details]
initial patch for upstream livecd-tools

Not posted upstream yet!
    edit-livecd: -k --kickstart option
    
    Adds kickstart option for using kickstart file as an recipe for editing
    a livecd image.
    Following directives are honored:
    part / --size <new rootfs size to be resized to>
    bootloader --append "!opt-to-remove opt-to-add"
    repo --baseurl=file://path-to-RPMs
    %pre
    %post
    %packages

Comment 3 Alan Pevec 2011-03-17 00:24:35 UTC
Created attachment 485871 [details]
fixups

Comment 4 Alan Pevec 2011-05-10 21:41:51 UTC
Created attachment 498172 [details]
patched creator.py backported to livecd-tools-031-2.el6

replace /usr/lib/python2.6/site-packages/imgcreate/creator.py

Comment 5 Alan Pevec 2011-05-10 21:42:59 UTC
Created attachment 498173 [details]
patched kickstart.py backported to livecd-tools-031-2.el6

replaces /usr/lib/python2.6/site-packages/imgcreate/kickstart.py

Comment 6 Alan Pevec 2011-05-10 21:45:09 UTC
Created attachment 498174 [details]
patched edit-livecd backported to livecd-tools-031-2.el6

Comment 9 Alan Pevec 2011-08-30 20:03:45 UTC
Created attachment 520681 [details]
edit-livecd -k patch rebased for livecd-tools-031-3.el6


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