Patch to pungi to allow "relnotepkgs" and "relnotefilere" to be passed on command line
Connie Sieh
csieh at fnal.gov
Mon Mar 17 20:21:42 UTC 2014
I have attached at patch to pungi to allow for "relnotepkgs" and
"relnotefilere" to be passed on the command line. This allows for
packages other than fedora-release to contain the "relnotefilere" files .
It also lets one define what files to include via the command line vs the
hard coded defaults.
Thanks
-Connie Sieh
-------------- next part --------------
--- src/bin/pungi.py.orig 2014-03-14 13:13:45.000000000 -0500
+++ src/bin/pungi.py 2014-03-14 13:16:56.000000000 -0500
@@ -252,6 +252,13 @@
help="Flag to enable processing the BuildInstall stage")
parser.add_option("-I", action="store_true", default=False, dest="do_createiso",
help="Flag to enable processing the CreateISO stage")
+ parser.add_option("--relnotepkgs", dest="relnotepkgs", type="string",
+ action="callback", callback=set_config, callback_args=(config, ),
+ help='Rpms which contain the release notes')
+ parser.add_option("--relnotefilere", dest="relnotefilere", type="string",
+ action="callback", callback=set_config, callback_args=(config, ),
+ help='Which files are the release notes -- GPL EULA')
+
(opts, args) = parser.parse_args()
More information about the buildsys
mailing list