diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2006-11-15 11:58:36 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2006-11-15 11:58:36 +0000 |
commit | 9cfc3730d34e24e0fa91d13a0ccfd343a8c93140 (patch) | |
tree | 241bda2d8f9eb6d24ceb0624f0ba243fa3287b55 | |
parent | 8cba26381a43c821ac2c7a2408a7b2117e916817 (diff) | |
download | anaconda-9cfc3730d34e24e0fa91d13a0ccfd343a8c93140.tar.gz anaconda-9cfc3730d34e24e0fa91d13a0ccfd343a8c93140.tar.xz anaconda-9cfc3730d34e24e0fa91d13a0ccfd343a8c93140.zip |
Resolve deps on pkgorder
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | scripts/pkgorder | 13 |
2 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2006-11-15 Paul Nasrat <pnasrat@redhat.com> + + * scripts/pkgorder: Depsolve on optional/non-grouped packages so sort + works correctly (#214848) + 2006-11-14 Chris Lumens <clumens@redhat.com> * xsetup (XSetup.writeKS): Typo. diff --git a/scripts/pkgorder b/scripts/pkgorder index fe3311eef..81eacaf3e 100755 --- a/scripts/pkgorder +++ b/scripts/pkgorder @@ -161,6 +161,14 @@ if __name__ == "__main__": addGroups(ds, ["core", "base", "text-internet"]) + # hack, hack, hack... make sure iscsi ends up on disc1 (#208832) + if os.path.isdir("%s/%s/RPMS" % (toppath, product)): + printMatchingPkgs("%s/%s/RPMS/%s" % (toppath, product, "iscsi-*")) + elif os.path.isdir("%s/%s" %(toppath, product)): + printMatchingPkgs("%s/%s/%s" % (toppath, product, "iscsi-*")) + else: + printMatchingPkgs("%s/%s" % (toppath, "iscsi-*")) + addGroups(ds, ["base-x", "dial-up", "graphical-internet", "editors", "graphics", "gnome-desktop", "sound-and-video", @@ -177,16 +185,17 @@ if __name__ == "__main__": "gnome-software-development", "eclipse", "x-software-development", "java-development", "kde-software-development", - "mail-server", "legacy-network-server"]) + "mail-server", "network-server", "legacy-network-server"]) addGroups(ds, ["news-server", "legacy-software-development"]) - #Everthing else but kernels - don't depsolve + #Everthing else but kernels for po in ds.pkgSack.returnPackages(): if po.pkgtup not in ds._installed.returnPackages(): if po.name.find("kernel") == -1: member = ds.tsInfo.addInstall(po) + ds.resolveDeps() processTransaction(ds) os.unlink(config) shutil.rmtree(testpath) |