summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2006-11-15 11:58:36 +0000
committerPaul Nasrat <pnasrat@redhat.com>2006-11-15 11:58:36 +0000
commit9cfc3730d34e24e0fa91d13a0ccfd343a8c93140 (patch)
tree241bda2d8f9eb6d24ceb0624f0ba243fa3287b55
parent8cba26381a43c821ac2c7a2408a7b2117e916817 (diff)
downloadanaconda-9cfc3730d34e24e0fa91d13a0ccfd343a8c93140.tar.gz
anaconda-9cfc3730d34e24e0fa91d13a0ccfd343a8c93140.tar.xz
anaconda-9cfc3730d34e24e0fa91d13a0ccfd343a8c93140.zip
Resolve deps on pkgorder
-rw-r--r--ChangeLog5
-rwxr-xr-xscripts/pkgorder13
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6aa7cce74..877d26e52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)