summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-02-23 19:02:50 +0000
committerJeremy Katz <katzj@redhat.com>2006-02-23 19:02:50 +0000
commit4ca5fc180ccc79adb8d0376ad720e5e3a1b60f35 (patch)
tree3b539616bdb0dfd8879911be64b64eb19093df79
parent64eb57a5b469f5ec905c145824362016657b497e (diff)
downloadanaconda-4ca5fc180ccc79adb8d0376ad720e5e3a1b60f35.tar.gz
anaconda-4ca5fc180ccc79adb8d0376ad720e5e3a1b60f35.tar.xz
anaconda-4ca5fc180ccc79adb8d0376ad720e5e3a1b60f35.zip
2006-02-23 Jeremy Katz <katzj@redhat.com>
* scripts/pkgorder: Don't get warnings spewed with new yum
-rw-r--r--ChangeLog4
-rwxr-xr-xscripts/pkgorder5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6db90abfc..816b2fb30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-23 Jeremy Katz <katzj@redhat.com>
+
+ * scripts/pkgorder: Don't get warnings spewed with new yum
+
2006-02-23 Paul Nasrat <pnasrat@redhat.com>
* yuminstall.py: Make conditional packages on deps work
diff --git a/scripts/pkgorder b/scripts/pkgorder
index 3f28d32f7..5915d9adf 100755
--- a/scripts/pkgorder
+++ b/scripts/pkgorder
@@ -44,9 +44,9 @@ class PackageOrderer(YumSorter):
# if hasattr(self.repos, 'sqlite'):
# self.repos.sqlite = False
# self.repos._selectSackType()
- exclude = self.conf.getConfigOption('exclude')
+ exclude = self.conf.exclude
exclude.extend(excludes)
- self.conf.setConfigOption('exclude', exclude)
+ self.conf.exclude = exclude
cachedir = yum.misc.getCacheDir()
self.repos.setCacheDir(cachedir)
self.repos.setCache(0)
@@ -106,6 +106,7 @@ reposdir=/dev/null
exclude=*debuginfo*
[anaconda]
+name=Anaconda
baseurl=file://%s
enabled=1
""" % (toppath)