Commit Graph

116 Commits

Author SHA1 Message Date
Daniel Mach 14ffefd376 Fix --nodeps by setting Pungi.is_resolve_deps according to config. 2013-10-27 15:44:08 -04:00
Dennis Gilmore 44cd5ff806 fixup things to use new arch module 2013-08-20 11:33:44 -05:00
Daniel Mach 854899344c Implement %fulltree-excludes kickstart section to exclude packages from --fulltree processing. 2013-08-20 11:22:24 -05:00
Daniel Mach 17221a33f3 Major rewrite to gain performance boost in nogreedy mode. 2013-08-20 11:22:24 -05:00
Daniel Mach 60803f32f3 Fix getting SRPMs for nosrc arch. 2013-08-20 11:22:24 -05:00
Daniel Mach 9776e3cd9d Don't pull @core and @base groups by default. 2013-08-20 11:22:24 -05:00
Daniel Mach a9581e2056 Stop pulling unnecessary multilib packages on completing package set (fulltree). 2013-08-20 11:22:24 -05:00
Daniel Mach 30c0f358d9 Resolve multilib packages. Controlled by the --multilib option. 2013-08-20 11:22:24 -05:00
Daniel Mach 91f70cbb43 Handle a special case, when system-release virtual provide is specified in the greedy mode. 2013-08-20 11:22:24 -05:00
Daniel Mach bd35d6bc03 Support for multilib packages (pattern: <package_name>.+) 2013-08-20 11:20:29 -05:00
Daniel Mach c047fe570b Improve debuginfo lookup. 2013-08-20 11:20:29 -05:00
Daniel Mach 5451453f6f Refactor how pungi works with arches. 2013-08-20 11:20:04 -05:00
Daniel Mach c076de2e9f Lookaside repo support. 2013-08-09 10:21:09 -05:00
Dennis Gilmore 2d2a3e8083 make sure mac support is only enabled on x86 2013-08-08 09:32:05 -05:00
Daniel Mach cd75bc4875 Add langpacks support. 2013-05-03 20:09:33 -05:00
Daniel Mach 5069eb8b09 Check each package's deps only once. 2013-05-03 20:09:14 -05:00
Daniel Mach 77dea0ec92 Suppress duplicate depsolving log messages. 2013-05-03 20:08:56 -05:00
Daniel Mach dd6a68eb7c Speed depsolving up by providing pre-computed pkg_refs.
Requires: yum >= 3.4.3-28
2013-05-03 20:08:36 -05:00
Daniel Mach 50c1d46c7e Delete the 'anaruntime' variable, it's no longer needed. 2013-05-03 20:07:00 -05:00
Dennis Gilmore 49b530b1f8 make sure deltarpm is disabled 2013-02-28 10:38:19 -06:00
Dennis Gilmore eea89a2b78 remove sparc support 2013-02-25 06:04:50 -06:00
Dennis Gilmore 45bb97ba97 get ppc images for ppc and ppc64 bz#888517 2012-12-21 14:55:16 -06:00
Dennis Gilmore b7c6c80949 reset the arch to ppc64 when making lorax calls so that the iso will run everywhere 2012-12-21 09:25:26 -06:00
Dennis Gilmore 8d54c4be1b there is no point making isos on arm, lets log and move on. 2012-12-21 09:23:14 -06:00
Dennis Gilmore 6cbf093f8e Only include groups that are specified in the kickstart. Remove any environments that use groups not on the media.
patch from notting http://lists.fedoraproject.org/pipermail/buildsys/2012-December/004033.html
include langpack in comps
2012-12-20 22:06:16 -06:00
Dennis Gilmore feadeaadb8 We need to reset the arch to ppc64p7 for both ppc and ppc64 2012-09-22 08:51:52 -05:00
Dennis Gilmore 5cd88a47e6 add 32 bit arm base arches 2012-08-31 00:41:12 -05:00
Dennis Gilmore 4b7685daaa ppc fixes for bz#849731 also set the arch to ppc64p7 so that power7 optimised rpms get included on the install disk 2012-08-31 00:39:48 -05:00
Dennis Gilmore 2d37fb2fa9 do not run isohybrid on the source iso it doesnt work so well 2012-05-25 09:31:01 -05:00
Dennis Gilmore 989462bf86 don't include s390 packages when composing s390x image
Signed-off-by: Dan Horák <dan@danny.cz>
2012-04-16 15:54:08 -05:00
Dennis Gilmore 8ed9aafb78 fix up doing hashed directories for Packages 2012-04-16 14:54:24 -05:00
Daniel Mach 72b9333abd Run yumbase.arch.setup_arch() to set arch correctly. 2012-04-03 10:17:07 -05:00
Daniel Mach aa401cc49b Find %name-debuginfo-common-%arch debuginfo files. 2012-04-03 10:13:15 -05:00
Daniel Mach 9d7f82d91a Handle excludes during depsolving.
Prefiously, packages were excluded from the initial package list,
but could have been pulled in during depsolving. This patch excludes
selected packages for good. Supported syntax is -$name or -%name.%arch
including wildchars.
2012-03-12 10:50:59 -05:00
Daniel Mach 8ccc24e106 Improve --nogreedy behaviour to select only the best packages for target arch. Also exact package arch can be selected by specifying $name.$arch in the config file. 2012-03-12 10:50:59 -05:00
Daniel Mach 83a22bd5ea Add --full-archlist option to include i686 packages in x86_64 trees.
Pungi limits x86_64 package architectures to x86_64 and noarch only,
which renders depsolving in multiarch repos impossible.
This patch adds --full-archlist option which removes the limitation.
2012-03-12 10:50:59 -05:00
Daniel Mach 249efe1d75 Add --nodownload option to print packages instead of downloading them.
This allows other tools to use Pungi for depsolving and process
packages in their own way.
2012-03-12 10:50:58 -05:00
Dennis Gilmore 9cf7418cd5 Build in the Mac el-torito if present
Patch from Matthew Garrett <mjg@redhat.com>
2012-03-12 10:50:20 -05:00
Dennis Gilmore 45964282af hash the Packages tree by default, adding a --nohash option for old style layout 2012-02-09 09:12:55 -06:00
Will Woods 32eacf5eec Use a predictable ISO Volume ID (#732298)
Since the new lorax branch needs to know the iso Volume ID to be able to
boot, we need to make sure we're using the same Volume ID that lorax
sets up the bootloaders to expect.
2011-10-29 13:26:44 -05:00
Will Woods 0ff7275349 Fix DVD building on ppc64
ppc64 systems used to have arch == 'ppc', so pungi was only checking to
see if arch == 'ppc'. Now that ppc64 is separate from ppc, we need to
check if arch.startswith('ppc') instead.
2011-10-29 13:26:44 -05:00
Dennis Gilmore e70fa6c60f lorax and anaconda now use isfinal, it simplifies things for us. 2011-07-27 11:40:57 -05:00
Jesse Keating d6490ebf6e Always re-init the yum object (#717089) 2011-07-18 15:24:17 -07:00
Tom "spot" Callaway 7e65e60fc6 proper isohybrid support 2011-05-26 10:09:00 -05:00
Dennis Gilmore 80120d1e53 add commandline option --isfinal for ga releases. defaulting to a beta
for https://bugzilla.redhat.com/show_bug.cgi?id=703815
2011-05-16 17:59:23 -05:00
Jesse Keating 0c8b9d268e Only init yum if we haven't already
And fix where the import goes
2011-04-29 01:45:28 -07:00
Jesse Keating e3a59fe484 Add the repo from topdir to our yumobject for lorax.
This allows lorax to make use of the local low cost repo to fetch
packages from.  Buildinstall would previously get passed this repo as a
runtime argument.
2011-04-29 01:45:28 -07:00
Jesse Keating 7a8ab8817a Add a function for adding repos to the yum object.
This allows us to re-use the code if we add repos later, like the repo
we just gathered and createrepod
2011-04-29 01:45:28 -07:00
Dennis Gilmore 4002565f53 only filter the arch list on x86_64 we cant do it on sparc and ppc.
it really only makes sense on x86_64.
2011-04-11 14:03:01 -05:00
Bill Nottingham b4e40a079e Add an option to allow only grabbing the best provides for a particular depenedency, instead of all. 2011-02-10 15:30:02 -05:00