From 0a562126d84c59a113231ae7ab38984f92d62153 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 24 Apr 2003 15:46:31 +0000 Subject: another taroon merge. tagged before as before-taroon-merge, after as after-taroon-merge this one adds s390 fixes, basic i/p series platform support, support for multiple kernels and one second stage, cmdline kickstart mode (nice for s390), some warning cleanups. --- packages.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'packages.py') diff --git a/packages.py b/packages.py index 09f1114a3..c739235c1 100644 --- a/packages.py +++ b/packages.py @@ -511,9 +511,6 @@ def setupTimezone(timezone, upgrade, instPath, dir): def doPreInstall(method, id, intf, instPath, dir): - if flags.test: - return - if dir == DISPATCH_BACK: return @@ -542,7 +539,12 @@ def doPreInstall(method, id, intf, instPath, dir): if arch == "s390": if (string.find(os.uname()[2], "tape") > -1): select(id.hdList, 'kernel-tape') - elif isys.smpAvailable() or isys.htavailable(): + elif arch == "ppc" and iutil.getPPCMachine() == "pSeries": + select(id.hdList, 'kernel-pseries') + elif arch == "ppc" and iutil.getPPCMachine() == "iSeries": + select(id.hdList, "kernel-iseries") + + if isys.smpAvailable() or isys.htavailable(): select(id.hdList, 'kernel-smp') if (id.hdList.has_key('kernel-bigmem')): @@ -580,10 +582,19 @@ def doPreInstall(method, id, intf, instPath, dir): select(id.hdList, 'lilo') elif iutil.getArch() == "i386" and id.bootloader.useGrubVal == 1: select(id.hdList, 'grub') + elif iutil.getArch() == "s390": + select(id.hdList, 's390utils') + elif iutil.getArch() == "ppc": + select(id.hdList, 'yaboot') + elif iutil.getArch() == "ia64": + select(id.hdList, 'elilo') if pcmcia.pcicType(): select(id.hdList, 'kernel-pcmcia-cs') + if flags.test: + return + # make sure that all comps that include other comps are # selected (i.e. - recurse down the selected comps and turn # on the children -- cgit