Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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-automation>
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:
Embargoed:
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