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 1272222 - [BACKPORT] --installpkgs argument from lorax 22.1-1
Summary: [BACKPORT] --installpkgs argument from lorax 22.1-1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lorax
Version: 7.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-15 19:33 UTC by Pat Riehecky
Modified: 2016-11-03 23:44 UTC (History)
4 users (show)

Fixed In Version: lorax-19.6.67-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:44:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2165 0 normal SHIPPED_LIVE lorax bug fix and enhancement update 2016-11-03 13:15:01 UTC

Description Pat Riehecky 2015-10-15 19:33:19 UTC
Description of problem:
Adding packages to the lorax images currently requires editing the template files or building your own template directory.  Upstream lorax has added a --includepkg argument for this use case.

Version-Release number of selected component (if applicable): 	lorax-19.6.51-1.el7


How reproducible:100%


Steps to Reproduce:
1.look for option to pass additional packages via command line
2.
3.

Actual results:
No such option

Expected results:
commandline override for package set

Additional info:
git log 52d962d613886121aa2b8f52562fddb714f7dd9f

commit 52d962d613886121aa2b8f52562fddb714f7dd9f
Author: Colin Walters <walters>
Date:   Tue Nov 25 22:30:11 2014 -0500

    Add --includepkg argument
    
    Recently, Fedora has been trying to do a 3 product split.  As part of
    that, lorax was changed to do "installpkg lorax-product-*" via
    provides.
    
    I think that approach is awkward; a much simpler approach is to simply
    specify the product package as input to lorax on the command line, via
    external rel-eng scripts.
    
    This patch therefore adds --includepkg (and we should probably add an
    option to remove the implicit lorax-product-* glob).

Comment 2 Brian Lane 2015-10-17 00:48:19 UTC
It is actually named --installpkgs, the commit message is incorrect (because I missed updating it when I changed the name)

Comment 4 Peter Kotvan 2016-08-17 11:08:02 UTC
Verified on RHEL-7.3-20160811.0 with lorax-19.6.77-1.el7.

Comment 6 errata-xmlrpc 2016-11-03 23:44:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2165.html


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