Commit Graph

1384 Commits

Author SHA1 Message Date
Dennis Gilmore
ca17987de9 make sure we treat the isfinal option as a boolean when fetching it
It will make sure that we only pass --isfinal to lorax when it is
passed in on the CLI

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-20 15:14:39 -05:00
Dennis Gilmore
f5eaa7326f if there is a variant use it in the volume id and shorten it. this
will make each producst install tree have different volume ids for
their isos

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-20 15:14:00 -05:00
Dennis Gilmore
b6825f3471 fix up productmd import in the executable
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-04-24 17:58:59 -05:00
Dennis Gilmore
771ed2efcb fixup productmd imports for changes with open sourcing
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-04-24 17:55:56 -05:00
Dennis Gilmore
f828850466 tell the scm wrapper to do an absolute import otherwise we hit a
circular dep issue and things go wonky

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-04-24 17:51:28 -05:00
Dennis Gilmore
eba5a8bd96 include the dtd files in /usr/share/pungi
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-03-14 15:03:32 -05:00
Dennis Gilmore
5197fed16a add missing ) causing a syntax error
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-03-14 14:20:31 -05:00
Dennis Gilmore
d337c34b2a fix up the productmd imports to import the function from the common module
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-03-14 12:21:27 -05:00
Dennis Gilmore
ad18e21d1a fix up typo in getting arch for the lorax log file
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-03-14 12:20:44 -05:00
Dennis Gilmore
012c749cdb fix up Requires on productmd, it needed renaming to meeting fedora
naming guidelines
2015-03-14 11:58:51 -05:00
Dennis Gilmore
18d4d2ecf8 fix up the pungi logging by putting the arch in the log file name 2015-03-12 17:29:59 -05:00
Dennis Gilmore
07e90f0f96 change pypungi imports to pungi 2015-03-12 16:12:38 -05:00
Dennis Gilmore
fdc7901127 spec file cleanups 2015-03-12 16:09:23 -05:00
Dennis Gilmore
a3158ec144 rename binaries
rename the pungi binary to pungi-koji since it does is tasks in koji
rename pungi-gather to pungi as it is the standalone old pungi binary

there is scripts that expect pungi to be the old pungi, the new binary
is not yet in use, pungi-koji semes to make sense, open to better ideas
2015-03-12 13:15:29 -05:00
Brian C. Lane
320724ed98 Add the option to pass a custom path for the multilib config files
The default is /usr/share/pungi/multilib/, pass --multilibconf to
override this.

This also adds multilib.init() so that an import of multilib doesn't
immediately setup the classes.

(cherry picked from commit 234524296fd53871aed64690cf6a7d5849ca154a)
2015-03-12 11:40:23 -05:00
Brian C. Lane
13526d1c49 Call lorax as a process not a library
Doing this allows lorax to move to DNF (and Python3) without needing to
wait for pungi to be updated.
2015-03-12 11:29:58 -05:00
Brian C. Lane
9947c7e0cd Close child fds when using subprocess 2015-03-12 11:13:51 -05:00
Dennis Gilmore
dfd0cc947b fixup setup.py and MANIFEST.in to make a useable tarball 2015-03-12 11:03:48 -05:00
Dennis Gilmore
64b6c8065c switch to BSD style hashes for the iso checksums 2015-03-12 10:16:09 -05:00
Dennis Gilmore
0633eb29d3 refactor to get better data into .treeinfo
for https://fedorahosted.org/rel-eng/ticket/6008 refacter how we deal
with the data that feeds into .treeinfo
Deprecate --name for --family
Deprecate --flavor for --variant
rather than using --name as the iso base name use the value of
family if there is a variant add it with a - as the seperator
2015-03-12 10:15:55 -05:00
Daniel Mach
f116d9384f Initial code merge for Pungi 4.0. 2015-02-10 08:19:34 -05:00
Daniel Mach
f5c6d44000 Initial changes for Pungi 4.0. 2015-02-10 06:47:16 -05:00
Connie Sieh
274236a3f3 Add --nomacboot option
sotime an OS would want to disable booting on mac machines. For
instance when buildinga RHEL clone where there is no hfs support.
The option disables mac support
2015-01-16 12:29:59 -06:00
Dennis Gilmore
fedc440159 3.13 release 2014-12-12 20:21:03 -06:00
Brian C. Lane
c4dd0e75ed Add support for --installpkgs
This allows the user to add specific packages, or package globs, to the
installer's root via lorax. For example, to build a server product with
the correct product.img you would pass --installpkgs
fedora-productimg-server

This removes the need for the kickstart to use --exclude on the repo
lines and makes it more explicit as to what is being built. This command
mirrors the same command in lorax.
2014-12-09 11:52:53 -06:00
Brian C. Lane
2221f66ff5 Add a cmdline option to set the lorax config file
Add --lorax-conf which will be used to point lorax to a INI style
config file. Useful for running things from a git checkout instead of
installed system.
2014-12-09 11:52:53 -06:00
Brian C. Lane
1bd069683c Add python-lockfile requires and drop python-devel 2014-12-09 11:52:53 -06:00
Peter Jones
33ebc4e11f Make our OS iso bootable on aarch64.
Aarch64 needs to get the el torito image generation code x86 has for
UEFI as well.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-12-09 11:51:41 -06:00
Dennis Gilmore
d865c94330 fix up typo 2014-12-09 11:51:30 -06:00
Dennis Gilmore
add538d7b4 replace tabs with spaces 2014-09-19 15:28:05 -05:00
Dennis Gilmore
21021f521a 3.12 release 2014-09-11 11:09:13 -05:00
Mark Hamzy
e3c8c3b7e0 Remove magic parameter to mkisofs
Instead of supplying a backlevel magic file, do not pass the file in at all.
2014-09-11 10:53:33 -05:00
Pat Riehecky
55c00f6d60 Added option for setting release note files 2014-08-22 14:41:41 -05:00
Dennis Gilmore
1175551e2c 3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release 2014-07-31 06:04:25 -05:00
Dennis Gilmore
6a26176c23 make sure that the dvd/cd is using the shortened volumeid 2014-07-31 06:02:12 -05:00
Dennis Gilmore
2bb948fce7 3.10 release 2014-07-31 04:25:26 -05:00
Dennis Gilmore
6177cf6f88 fix up volume shortening substituions to actually work 2014-07-31 04:23:17 -05:00
Dennis Gilmore
ea8f3909ac 3.09 release 2014-07-30 11:36:11 -05:00
Dennis Gilmore
76ba16d4a6 implement nameing scheme from
https://fedoraproject.org/wiki/User:Adamwill/Draft_fedora_image_naming_policy
2014-07-30 11:25:44 -05:00
Dennis Gilmore
a5aa03f58c implement shortening of the volumeid which has a 32 character limit 2014-07-30 11:25:44 -05:00
Dennis Gilmore
af9f7520f4 3.08 release 2014-07-23 11:19:20 -05:00
Dennis Gilmore
5c9d28dc9f fix up some issues with --no-dvd and --workbasedir 2014-07-23 07:43:14 -05:00
Dennis Gilmore
9d339e774b 3.07 release 2014-07-20 12:04:58 -05:00
Dennis Gilmore
a313fa8214 add a flag to turn off making install DVD's 2014-07-18 14:30:52 -05:00
Dennis Gilmore
6820ad7c23 3.06 release 2014-07-14 15:42:54 -05:00
Dennis Gilmore
f57a4ac5ee allow the base work directory to be configurable. 2014-07-14 15:39:57 -05:00
Dennis Gilmore
fb3d4ca185 3.05 release 2014-07-09 01:27:55 -05:00
Peter Jones
170ca88549 Don't emit media labels with spaces in them.
Spaces cause various bugs like #923374 and #855849 , and it would be
better if we just didn't use them.

Note that there's a corresponding lorax change to go with this.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-07-08 15:49:41 -05:00
Dennis Gilmore
1ba64d6e6b 3.04 release 2014-04-29 16:29:34 -05:00
Ralph Bean
224463030b Use a lockfile around things that modify the cachedir. 2014-04-29 13:51:15 -05:00