Commit Graph

126 Commits

Author SHA1 Message Date
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
Martin Gracik 7deae5840c Lorax patch
Use lorax instead of buildinstall
2011-01-12 13:50:39 -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 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 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 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
npetrov 7dd898cbad fixes --force when compose fails during split-tree process. 2010-05-17 14:38:58 -07:00
Jesse Keating 6ed01b8852 Patch for new anaconda path
This patch came from Chris Lumens via RHBZ 579873
2010-04-14 16:11:10 -07:00
Jesse Keating be078f9850 Leave some breadcrumbs about the checksum. 2010-04-14 16:01:17 -07:00
Brian C. Lane 38d41ad0be Add proxy support from the repo line in the kickstart file 2010-03-08 17:18:35 -08:00
Bill Nottingham f8865c35e2 pungi: Fix dependency resolution to recurse properly.
It wasn't properly recusing in the --selfhosting or --fulltree cases
before, leading to potenial broken deps.

Bill

Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-09-15 14:51:19 -07:00
Jesse Keating acdac6a2be Patch from dgregor for #522371 (no package left behind) 2009-09-15 14:51:19 -07:00
Jesse Keating 7f0cd87c4f pychecker clean up, don't overload 'file' 2009-08-04 14:40:32 -07:00
Jesse Keating 05c51e4b96 Cleanup from pychecker, remove unused items. 2009-08-04 14:36:17 -07:00
Jesse Keating eb3caa4161 Kill extra whitespace 2009-08-04 14:23:55 -07:00
Jesse Keating cd466ce546 Remove unused functions in splittree 2009-08-04 14:21:59 -07:00
Jesse Keating 179d3cd678 Fix boot.iso showing up on DVD and potentially split media. 2009-05-21 10:31:35 -07:00
Jesse Keating 8a15ecca80 Use the new splittree method of dynamic srpm cd splitting 2009-05-18 15:37:31 -07:00
Jesse Keating a73e976bc8 Create a new function to create the splitSRPM dirs
Use this function to create split SRPM dirs on the fly
2009-05-18 14:33:18 -07:00
Jesse Keating ff3b72a97e Don't set the number of discs we have until after splittree is done.
Splittree now splits as needed, so we can't possible know how many
discs we'll be making until it is done.  This also means that
splittree requires less input from us.
2009-05-15 13:00:40 -07:00
Jesse Keating e377f015df Use the new function to create the first split dir only. 2009-05-15 12:22:04 -07:00
Jesse Keating 038a98a2d3 Make splits on demand rather than pre-create a hard set of splits. 2009-05-15 11:19:26 -07:00
Jesse Keating 9012c9fd41 Add two new functions to help with creating split dirs on demand.
createFirstSplitDir is called for the first split.
createSplitDir is called for all other splits.
2009-05-15 11:17:23 -07:00
Bill Nottingham 0074f79e5d Add a method that completes the package set with all subpackages of currently used source rpms.
In other places, this method could be called No Package Left Behind.

Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:16:31 -07:00
Bill Nottingham 63adcfcc7c Create dicts to map between source and binary packages.
This avoids repeating the operation many times later if we do it
on demand each time.

Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:16:20 -07:00
Bill Nottingham e437dd7f7f Remove obsolete code.
Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:16:07 -07:00
Bill Nottingham 28412ffc8f Resolve package build dependencies.
Since each package we add for build dependencies may add a new source rpm
to our list, this needs to recurse.

Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:15:40 -07:00
Bill Nottingham f46d84ed73 Operate on source rpm package objects, not a list that is then turned into package objects.
Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:15:21 -07:00
Bill Nottingham 9ecb4c5dc3 Allow ignoring of group metadata from repos.
Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:15:05 -07:00
Jesse Keating c484a26f44 Pad the ppc bootable disks by 15 megs, lots of isofs overhead. 2009-04-07 18:09:00 -07:00
Jesse Keating 44c4028447 Add a function to deselect packages, stolen from Anaconda.
Use deselectPackage to deslect things marked with - in kickstart.
More in line with how anaconda treats them.
2009-04-07 15:03:46 -07:00
Jesse Keating e3d6cf508d Disable arch test for now, it was tripping i386/i586 for no good reason. 2009-03-04 13:45:44 -08:00
Jesse Keating bdf3b118aa Fix size estimation in splittree.
This while file needs a major rework, but this gets us correct
size estimations when building up discs.
2009-02-12 11:26:48 -08:00
Jesse Keating 5216793a69 Count all copies of a hardlink when determining CD size for now,
until bug #485167 is fixed.
2009-02-11 17:09:04 -08:00
Jesse Keating 6843a12485 Fix unique md file config setting. 2009-02-10 16:21:17 -08:00
Jesse Keating 7dc76be687 Name the checksum file after the isos being generated. 2009-02-10 16:21:11 -08:00
Jesse Keating 9b77cea3b7 Use sha256 in the treeinfo file 2009-02-10 14:52:01 -08:00