Bug 688268

Summary: Need support for edit-livecd to take a kickstart file for RPM installation and blacklisting
Product: Red Hat Enterprise Linux 6 Reporter: Perry Myers <pmyers>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0CC: apevec, desktop-bugs, dhuff, jstodola, lagarcia, ovirt-maint, rmm, rwilliam, syeghiay
Target Milestone: rcKeywords: FutureFeature, OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: livecd-tools-031-4 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-12 18:09:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 688331, 696848, 705163, 891344, 1055798    
Attachments:
Description Flags
initial patch for upstream livecd-tools
none
fixups
none
patched creator.py backported to livecd-tools-031-2.el6
none
patched kickstart.py backported to livecd-tools-031-2.el6
none
patched edit-livecd backported to livecd-tools-031-2.el6
none
edit-livecd -k patch rebased for livecd-tools-031-3.el6 none

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