Red Hat Bugzilla – Bug 1272222
[BACKPORT] --installpkgs argument from lorax 22.1-1
Last modified: 2016-11-03 19:44:13 EDT
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
Steps to Reproduce:
1.look for option to pass additional packages via command line
No such option
commandline override for package set
git log 52d962d613886121aa2b8f52562fddb714f7dd9f
Author: Colin Walters <email@example.com>
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
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).
It is actually named --installpkgs, the commit message is incorrect (because I missed updating it when I changed the name)
Verified on RHEL-7.3-20160811.0 with lorax-19.6.77-1.el7.
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.