summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2014-03-05 22:38:25 -0500
committerGui Chen <gui.chen@intel.com>2014-03-06 00:05:52 -0500
commit2d1cf9b4fa741faed703e43c5b78f2c1e4d021a1 (patch)
tree146b3ffc14d1578e007bcf09e138f25f5424ede8
parent5240d9239351b1a5ec71676e9c652927f1cd9532 (diff)
downloadmic-2d1cf9b4fa741faed703e43c5b78f2c1e4d021a1.tar.gz
mic-2d1cf9b4fa741faed703e43c5b78f2c1e4d021a1.tar.bz2
mic-2d1cf9b4fa741faed703e43c5b78f2c1e4d021a1.zip
fix includepkgs and excludepkgs lost during translating
Change-Id: Ia34191428f3dd99cd596aa4520e18a29a839edfc Signed-off-by: Gui Chen <gui.chen@intel.com>
-rw-r--r--mic/kickstart/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mic/kickstart/__init__.py b/mic/kickstart/__init__.py
index 8ee5f1d..a17f902 100644
--- a/mic/kickstart/__init__.py
+++ b/mic/kickstart/__init__.py
@@ -715,16 +715,16 @@ def get_default_kernel(ks, default = None):
return ks.handler.bootloader.default
RepoType = collections.namedtuple("Repo",
- "name, baseurl, mirrorlist, inc, exc, proxy, \
+ "name, baseurl, mirrorlist, includepkgs, excludepkgs, proxy, \
proxy_username, proxy_password, debuginfo, \
source, gpgkey, disable, ssl_verify, nocache, \
cost, priority")
-def Repo(name, baseurl, mirrorlist=None, inc=[], exc=[], proxy=None,
+def Repo(name, baseurl, mirrorlist=None, includepkgs=[], excludepkgs=[], proxy=None,
proxy_username=None, proxy_password=None, debuginfo=None,
source=None, gpgkey=None, disable=None, ssl_verify=False,
nocache=False, cost=None, priority=None):
- return RepoType(name, baseurl, mirrorlist, inc, exc, proxy,
+ return RepoType(name, baseurl, mirrorlist, includepkgs, excludepkgs, proxy,
proxy_username, proxy_password, debuginfo,
source, gpgkey, disable, ssl_verify, nocache,
cost, priority)