FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-29-2010, 12:26 AM
"Brian C. Lane"
 
Default fixup exclude/excludepkgs usage (#607664)

NOTE: I haven't tested this yet.

yum calls it exclude, anaconda ksrepo calls it excludepkgs. writeKS
is where the problem lies.

Resolves: rhbz#607664
---
yuminstall.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index dfb65de..f59126b 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -755,7 +755,7 @@ class AnacondaYum(YumSorter):
if ksrepo.cost:
repo.cost = ksrepo.cost

- if ksrepo.exclude:
+ if ksrepo.excludepkgs:
repo.exclude = ksrepo.excludepkgs

if ksrepo.includepkgs:
@@ -1943,8 +1943,9 @@ debuglevel=10

if repo.includepkgs:
line += " --includepkgs="%s"" % ",".join(repo.includepkgs)
- if repo.excludepkgs:
- line += " --excludepkgs="%s"" % ",".join(repo.excludepkgs)
+
+ if repo.exclude:
+ line += " --excludepkgs="%s"" % ",".join(repo.exclude)

line += "
"

--
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 02:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org