1 |
--- |
2 |
catalyst/base/stagebase.py | 10 +++++----- |
3 |
catalyst/defaults.py | 4 ++-- |
4 |
2 files changed, 7 insertions(+), 7 deletions(-) |
5 |
|
6 |
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py |
7 |
index b44a957..96b1c19 100644 |
8 |
--- a/catalyst/base/stagebase.py |
9 |
+++ b/catalyst/base/stagebase.py |
10 |
@@ -1020,7 +1020,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
11 |
|
12 |
def chroot_setup(self): |
13 |
self.makeconf=read_makeconf(normpath(self.settings["chroot_path"]+ |
14 |
- self.settings["make.conf"])) |
15 |
+ self.settings["make_conf"])) |
16 |
self.override_cbuild() |
17 |
self.override_chost() |
18 |
self.override_cflags() |
19 |
@@ -1068,7 +1068,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
20 |
|
21 |
""" Modify and write out make.conf (for the chroot) """ |
22 |
makepath = normpath(self.settings["chroot_path"] + |
23 |
- self.settings["make.conf"]) |
24 |
+ self.settings["make_conf"]) |
25 |
cmd("rm -f " + makepath,\ |
26 |
"Could not remove " + makepath, env=self.env) |
27 |
myf=open(makepath, "w") |
28 |
@@ -1122,9 +1122,9 @@ class StageBase(TargetBase, ClearBase, GenBase): |
29 |
|
30 |
myf.close() |
31 |
makepath = normpath(self.settings["chroot_path"] + |
32 |
- self.settings["make.conf"]) |
33 |
+ self.settings["make_conf"]) |
34 |
cmd("cp " + makepath + " " + makepath + ".catalyst",\ |
35 |
- "Could not backup " + self.settings["make.conf"],env=self.env) |
36 |
+ "Could not backup " + self.settings["make_conf"],env=self.env) |
37 |
touch(self.settings["autoresume_path"]+"chroot_setup") |
38 |
|
39 |
def fsscript(self): |
40 |
@@ -1172,7 +1172,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
41 |
cmd("rm -rf " + self.settings["chroot_path"] + self.settings["local_overlay"], |
42 |
"Could not remove " + self.settings["local_overlay"], env=self.env) |
43 |
cmd("sed -i '/^PORTDIR_OVERLAY/d' "+self.settings["chroot_path"]+\ |
44 |
- "/etc/portage/make.conf",\ |
45 |
+ self.settings["make_conf"],\ |
46 |
"Could not remove PORTDIR_OVERLAY from make.conf",env=self.env) |
47 |
|
48 |
""" Clean up old and obsoleted files in /etc """ |
49 |
diff --git a/catalyst/defaults.py b/catalyst/defaults.py |
50 |
index ce7e919..2839a3d 100644 |
51 |
--- a/catalyst/defaults.py |
52 |
+++ b/catalyst/defaults.py |
53 |
@@ -25,8 +25,8 @@ confdefaults={ |
54 |
"hash_function": "crc32", |
55 |
"icecream": "/var/cache/icecream", |
56 |
"local_overlay": "/usr/local/portage", |
57 |
- "make.conf": "/etc/portage/make.conf", |
58 |
- "options": "", |
59 |
+ "make_conf": "/etc/portage/make.conf", |
60 |
+ "options": set(), |
61 |
"packagedir": "/usr/portage/packages", |
62 |
"portdir": "/usr/portage", |
63 |
"port_tmpdir": "/var/tmp/portage", |
64 |
-- |
65 |
2.1.0 |