diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-02-23 19:02:50 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-02-23 19:02:50 +0000 |
commit | 4ca5fc180ccc79adb8d0376ad720e5e3a1b60f35 (patch) | |
tree | 3b539616bdb0dfd8879911be64b64eb19093df79 | |
parent | 64eb57a5b469f5ec905c145824362016657b497e (diff) | |
download | anaconda-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-- | ChangeLog | 4 | ||||
-rwxr-xr-x | scripts/pkgorder | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -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) |