Commit Graph

2519 Commits

Author SHA1 Message Date
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
80454a89b2 Revamp optparse error handling. 2012-03-12 10:50:59 -05:00
Daniel Mach
1623bbe936 Implement arch override.
Using the --arch option, it is possible to run depsolving
(Gather stage) on any host regardless the architecture.
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
Tomas Mlcoch
44cda03261 Fix indentation. 2012-03-12 10:50:58 -05:00
Tomas Mlcoch
cd9797de71 Add --norelnotes option to skip getting release notes. 2012-03-12 10:50:58 -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
0857d30f82 prep 2.10 release 2012-02-09 18:06:46 -06:00
Dennis Gilmore
7ab8ee1443 set the default for nohash to False 2012-02-09 14:44:37 -06: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
59ff9f9068 prep for 2.9 release 2011-07-27 11:48:13 -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
e215694a6b Prep for 2.8 release 2011-07-18 15:26:22 -07: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
76c3cd9309 bump to 2.7 2011-05-26 10:08:43 -05:00
Dennis Gilmore
ebedace49d 2.7 release 2011-05-16 18:04:03 -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
6e05f8162f New release 2011-04-29 01:45:29 -07: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
Dennis Gilmore
4bc181ed4a allow source isos to be generated, there is no split media support 2011-02-21 18:28:39 -06: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
Jesse Keating
27cf6a26b4 Release 2.5 2011-01-12 13:52:34 -08:00
Martin Gracik
7deae5840c Lorax patch
Use lorax instead of buildinstall
2011-01-12 13:50:39 -08:00
Jesse Keating
6d480f0896 Prep for release 2010-12-21 14:26:25 -08:00
Jesse Keating
5b0c9715a5 Enable efi booting on x86_64 isos
This was requested by Peter Jones.
2010-12-20 13:54:38 -08:00
Martin Gracik
19993ef780 Let the yumconf.persistdir be as the default
This path gets appended to the installroot every time,
even if it's an absolute path, so it ends up being inside
the installroot everytime. We don't want it to be in some
path depending on a temporary workdir. This will put all
the yum files in a standard /var/lib/yum directory inside
the installroot.
2010-11-30 15:11:51 -08:00
Jesse Keating
31d6c3d6ef Prep for release 2010-11-15 16:44:47 -08:00
Jesse Keating
6e28466560 Remove code to generate media:// repodata
This is no longer necessary when doing single media composes
2010-11-15 16:39:27 -08:00
Jesse Keating
cbba0e4cd7 Remove unneeded files now that we don't split 2010-11-12 09:28:15 -08:00
Jesse Keating
d5ef2c25ff Remove ability to generate split media 2010-11-12 09:27:10 -08:00
Jesse Keating
9976438e31 Remove options to do split media composes 2010-11-12 09:18:04 -08:00
Jesse Keating
9b221ec535 Prep for release and further fix pkgorder issue 2010-10-14 10:52:44 -07:00
Jesse Keating
95a8aaa0c1 Add the full boat of possible initrd items 2010-10-14 10:52:02 -07:00
Jesse Keating
18143a47a1 Prep for release 2010-10-13 15:40:40 -07:00
Jesse Keating
17070c0887 Make sure lvm shows up on the first disk (#642557) 2010-10-13 15:39:02 -07:00
Jesse Keating
06c5a94b5b prep for release 2010-06-29 16:00:34 -07:00
Jesse Keating
a7a43e413b Fix a traceback (#609247) 2010-06-29 15:58:55 -07:00
Jesse Keating
39326ef54a Clean up white space. 2010-06-11 08:29:31 -07:00
npetrov
f3dafc4446 adding support to exclude groups (-@fonts) from a default ks file. 2010-06-11 08:28:31 -07:00
npetrov
6703e700ba check for broken symlinks when using --force 2010-06-09 08:34:34 -07:00
Jesse Keating
c6f01468c3 Prep for release 2010-06-04 11:32:05 -07:00
Jesse Keating
7099d39f24 Don't do multilib gathering.
Anaconda won't install them, so why gather them?  Thanks to Seth Vidal
for the code.
2010-06-04 10:29:01 -07:00