* [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/
@ 2011-04-07 3:15 Jeremy Olexa
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa @ 2011-04-07 3:15 UTC (permalink / raw
To: gentoo-commits
commit: 69ed878232e56aba504e3a06cff71221a5608c18
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 7 03:15:09 2011 +0000
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Thu Apr 7 03:15:09 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=69ed8782
[dev-util/catalyst] Add terrible patch to fix bug 282928 (networked filesystems issue)
---
dev-util/catalyst/Manifest | 3 +-
dev-util/catalyst/catalyst-2.0.6.914.ebuild | 1 +
..._stage_target.py-stupify-the-LockDir-call.patch | 37 ++++++++++++++++++++
3 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/dev-util/catalyst/Manifest b/dev-util/catalyst/Manifest
index a021da8..eb90567 100644
--- a/dev-util/catalyst/Manifest
+++ b/dev-util/catalyst/Manifest
@@ -1,4 +1,5 @@
+AUX 0001-generic_stage_target.py-stupify-the-LockDir-call.patch 1542 RMD160 4ee07876c3db4331676e52744c27d4dc3f5246b8 SHA1 590b525afd59ec6e2254fd5610dec2d0d03f492d SHA256 ec74c54f8553072f10f6a88162c4a70889dadc341b279158e49a6f9b9a5e7987
DIST catalyst-2.0.6.914.tar.bz2 819758 RMD160 5b4bd8fd35b61a0c1a6c853fca63c7248d2d1f71 SHA1 c4fa97d7c3469c93e38ab83c8f8056cff3a54cf1 SHA256 c20b3d61328807cdd93e5e4e535998f938f1b3fd597eeaec597ab799f2baa7e8
-EBUILD catalyst-2.0.6.914.ebuild 2446 RMD160 93f35cb0b85693307d8b788df1ae8a063a33c710 SHA1 164f86e74e9b55578edca377620b78efd0c9d666 SHA256 006da89da9e256798f9d072478b55ffa8fe275ea3e13e2c29deed61a992b70d1
+EBUILD catalyst-2.0.6.914.ebuild 2480 RMD160 2cc5b500e6a5bccd66afaac17fe6d58ad3895e35 SHA1 30e8466c35f2d932536083f4c4a4fcb38cb58532 SHA256 4649e003fee3222b9a6245c6d86f0ae84bdf3d5290f59508303deab28ca36c8b
MISC ChangeLog 47583 RMD160 d67b764b3126c6a8f51b2433ccb2bb20c0694313 SHA1 cc3a22de9230a3d05cb3f79aca3f651f83839a7e SHA256 0c6e28f146d8c0f433239e37ff946d3701dfe5fda19ee7338b955dfbc8382605
MISC metadata.xml 302 RMD160 963f1d00b35f824f4ebb4ecbe565b5d9603ee3ee SHA1 61841e2ff22153be6bd9cb5cacc34fbb6f391b37 SHA256 52c8f4e22cff9920c9a11b04ee574b28cd6fbf71a8212259d9d19122e0ddf955
diff --git a/dev-util/catalyst/catalyst-2.0.6.914.ebuild b/dev-util/catalyst/catalyst-2.0.6.914.ebuild
index 0ae3e63..40ccc18 100644
--- a/dev-util/catalyst/catalyst-2.0.6.914.ebuild
+++ b/dev-util/catalyst/catalyst-2.0.6.914.ebuild
@@ -43,6 +43,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/0001*.patch
}
src_install() {
diff --git a/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch b/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch
new file mode 100644
index 0000000..cfa3980
--- /dev/null
+++ b/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch
@@ -0,0 +1,37 @@
+From 9e011d21cc7f90025e5e37c2b801f25c3a7c63ca Mon Sep 17 00:00:00 2001
+From: Jeremy Olexa <darkside@gentoo.org>
+Date: Wed, 6 Apr 2011 22:06:20 -0500
+Subject: [PATCH] generic_stage_target.py: stupify the LockDir call
+
+This is a terrible hack to make catalyst work on networked file systems.
+I don't expect this to be upstreamed and it will probably break stuff if
+there is more than one instance of catalyst running.
+---
+ modules/generic_stage_target.py | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
+index 55baea7..7a7ce0a 100644
+--- a/modules/generic_stage_target.py
++++ b/modules/generic_stage_target.py
+@@ -420,7 +420,7 @@ class generic_stage_target(generic_target):
+ normpath(self.settings["snapshot_cache"]+"/"+\
+ self.settings["snapshot"]+"/")
+ self.snapcache_lock=\
+- catalyst_lock.LockDir(self.settings["snapshot_cache_path"])
++ catalyst_lock.LockDir(self.settings["/tmp"])
+ print "Caching snapshot to "+self.settings["snapshot_cache_path"]
+
+ def set_chroot_path(self):
+@@ -430,7 +430,7 @@ class generic_stage_target(generic_target):
+ """
+ self.settings["chroot_path"]=normpath(self.settings["storedir"]+\
+ "/tmp/"+self.settings["target_subpath"]+"/")
+- self.chroot_lock=catalyst_lock.LockDir(self.settings["chroot_path"])
++ self.chroot_lock=catalyst_lock.LockDir(self.settings["/opt"])
+
+ def set_autoresume_path(self):
+ self.settings["autoresume_path"]=normpath(self.settings["storedir"]+\
+--
+1.7.4.1
+
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/
@ 2011-04-08 12:34 Jeremy Olexa
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa @ 2011-04-08 12:34 UTC (permalink / raw
To: gentoo-commits
commit: 6ad7024b4f9e0f525d1e78c2a3becd2a67bd8520
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 8 12:34:00 2011 +0000
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Fri Apr 8 12:34:00 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=6ad7024b
[dev-util/catalyst] Fix patch
---
dev-util/catalyst/Manifest | 2 +-
..._stage_target.py-stupify-the-LockDir-call.patch | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-util/catalyst/Manifest b/dev-util/catalyst/Manifest
index eb90567..a29e676 100644
--- a/dev-util/catalyst/Manifest
+++ b/dev-util/catalyst/Manifest
@@ -1,4 +1,4 @@
-AUX 0001-generic_stage_target.py-stupify-the-LockDir-call.patch 1542 RMD160 4ee07876c3db4331676e52744c27d4dc3f5246b8 SHA1 590b525afd59ec6e2254fd5610dec2d0d03f492d SHA256 ec74c54f8553072f10f6a88162c4a70889dadc341b279158e49a6f9b9a5e7987
+AUX 0001-generic_stage_target.py-stupify-the-LockDir-call.patch 1512 RMD160 219572f242e29eeae6f5a5d115ca80680453141b SHA1 41bd132d4c62b6a31fb4114c901dac8a00b2a9e2 SHA256 9de2cc4861feb0526e5c20633c901a2d376169b50fb8a422c17a599494d39800
DIST catalyst-2.0.6.914.tar.bz2 819758 RMD160 5b4bd8fd35b61a0c1a6c853fca63c7248d2d1f71 SHA1 c4fa97d7c3469c93e38ab83c8f8056cff3a54cf1 SHA256 c20b3d61328807cdd93e5e4e535998f938f1b3fd597eeaec597ab799f2baa7e8
EBUILD catalyst-2.0.6.914.ebuild 2480 RMD160 2cc5b500e6a5bccd66afaac17fe6d58ad3895e35 SHA1 30e8466c35f2d932536083f4c4a4fcb38cb58532 SHA256 4649e003fee3222b9a6245c6d86f0ae84bdf3d5290f59508303deab28ca36c8b
MISC ChangeLog 47583 RMD160 d67b764b3126c6a8f51b2433ccb2bb20c0694313 SHA1 cc3a22de9230a3d05cb3f79aca3f651f83839a7e SHA256 0c6e28f146d8c0f433239e37ff946d3701dfe5fda19ee7338b955dfbc8382605
diff --git a/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch b/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch
index cfa3980..5838ed8 100644
--- a/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch
+++ b/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch
@@ -19,7 +19,7 @@ index 55baea7..7a7ce0a 100644
self.settings["snapshot"]+"/")
self.snapcache_lock=\
- catalyst_lock.LockDir(self.settings["snapshot_cache_path"])
-+ catalyst_lock.LockDir(self.settings["/tmp"])
++ catalyst_lock.LockDir("/tmp")
print "Caching snapshot to "+self.settings["snapshot_cache_path"]
def set_chroot_path(self):
@@ -28,7 +28,7 @@ index 55baea7..7a7ce0a 100644
self.settings["chroot_path"]=normpath(self.settings["storedir"]+\
"/tmp/"+self.settings["target_subpath"]+"/")
- self.chroot_lock=catalyst_lock.LockDir(self.settings["chroot_path"])
-+ self.chroot_lock=catalyst_lock.LockDir(self.settings["/opt"])
++ self.chroot_lock=catalyst_lock.LockDir("/opt")
def set_autoresume_path(self):
self.settings["autoresume_path"]=normpath(self.settings["storedir"]+\
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/
@ 2011-05-19 22:26 Jeremy Olexa
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa @ 2011-05-19 22:26 UTC (permalink / raw
To: gentoo-commits
commit: bbd0f693bbde94d5f3f0d70a665f8e3a3ed91717
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 22:25:39 2011 +0000
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Thu May 19 22:25:39 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=bbd0f693
[dev-utils/catalyst]: Apply patch from bug 113298
---
dev-util/catalyst/Manifest | 3 ++-
dev-util/catalyst/catalyst-2.0.6.916.ebuild | 2 +-
dev-util/catalyst/files/stage1-chroot.sh.patch | 12 ++++++++++++
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/dev-util/catalyst/Manifest b/dev-util/catalyst/Manifest
index e43bd0e..4ffc5fa 100644
--- a/dev-util/catalyst/Manifest
+++ b/dev-util/catalyst/Manifest
@@ -1,5 +1,6 @@
AUX 0001-generic_stage_target.py-stupify-the-LockDir-call.patch 1512 RMD160 219572f242e29eeae6f5a5d115ca80680453141b SHA1 41bd132d4c62b6a31fb4114c901dac8a00b2a9e2 SHA256 9de2cc4861feb0526e5c20633c901a2d376169b50fb8a422c17a599494d39800
+AUX stage1-chroot.sh.patch 487 RMD160 1fff2cbe87a70b050ed5a872aceff51b6ff0d405 SHA1 abd8426198fc786379f1933f75e255aef182da7e SHA256 411ff50c3889478c391922586dfcacd51853f2971bbb67e3e0d9d19e854fb3c5
DIST catalyst-2.0.6.916.tar.bz2 807678 RMD160 2603b46b38258a2812888416da71c99cd0d7d3a4 SHA1 49ce32a3fcbd5c171a29d0f921b54479c691c18d SHA256 434e59d1233d9215a6deda5f12a64af1241ba3fcaae4ee63145cd9b488b5a968
-EBUILD catalyst-2.0.6.916.ebuild 2480 RMD160 2cc5b500e6a5bccd66afaac17fe6d58ad3895e35 SHA1 30e8466c35f2d932536083f4c4a4fcb38cb58532 SHA256 4649e003fee3222b9a6245c6d86f0ae84bdf3d5290f59508303deab28ca36c8b
+EBUILD catalyst-2.0.6.916.ebuild 2476 RMD160 d81c9da621df95e8cc57f5157d605649e6b1cc5f SHA1 4326c9c580642c3680b96dc4d751719bf6188312 SHA256 50213eda62df926014a9dc1e75dc1491203d11baebff6e84603902fea5be76de
MISC ChangeLog 47583 RMD160 d67b764b3126c6a8f51b2433ccb2bb20c0694313 SHA1 cc3a22de9230a3d05cb3f79aca3f651f83839a7e SHA256 0c6e28f146d8c0f433239e37ff946d3701dfe5fda19ee7338b955dfbc8382605
MISC metadata.xml 302 RMD160 963f1d00b35f824f4ebb4ecbe565b5d9603ee3ee SHA1 61841e2ff22153be6bd9cb5cacc34fbb6f391b37 SHA256 52c8f4e22cff9920c9a11b04ee574b28cd6fbf71a8212259d9d19122e0ddf955
diff --git a/dev-util/catalyst/catalyst-2.0.6.916.ebuild b/dev-util/catalyst/catalyst-2.0.6.916.ebuild
index 40ccc18..3d65603 100644
--- a/dev-util/catalyst/catalyst-2.0.6.916.ebuild
+++ b/dev-util/catalyst/catalyst-2.0.6.916.ebuild
@@ -43,7 +43,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/0001*.patch
+ epatch "${FILESDIR}"/*.patch
}
src_install() {
diff --git a/dev-util/catalyst/files/stage1-chroot.sh.patch b/dev-util/catalyst/files/stage1-chroot.sh.patch
new file mode 100644
index 0000000..03fe205
--- /dev/null
+++ b/dev-util/catalyst/files/stage1-chroot.sh.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/113298
+--- /usr/lib/catalyst/targets/stage1/stage1-chroot.sh
++++ /usr/lib/catalyst/targets/stage1/stage1-chroot.sh
+@@ -22,7 +22,7 @@
+ # First, we drop in a known-good baselayout
+ [ -e /etc/make.conf ] && \
+ echo 'USE="${USE} -build"' >> /etc/make.conf
+-run_merge "--oneshot --nodeps sys-apps/baselayout"
++run_merge "--oneshot --nodeps sys-apps/baselayout sys-apps/shadow"
+ sed -i '/USE="${USE} -build"/d' /etc/make.conf
+
+ # Next, we install the package manager
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/
@ 2011-05-20 4:03 Jeremy Olexa
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa @ 2011-05-20 4:03 UTC (permalink / raw
To: gentoo-commits
commit: 190566e0f3860695c042c819971918057a955926
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
AuthorDate: Fri May 20 04:02:56 2011 +0000
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Fri May 20 04:02:56 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=190566e0
Revert "[dev-utils/catalyst]: Apply patch from bug 113298"
This reverts commit bbd0f693bbde94d5f3f0d70a665f8e3a3ed91717.
A different fix was posted to bug 113298 that doesn't involve patching
catalyst
---
dev-util/catalyst/Manifest | 3 +--
dev-util/catalyst/catalyst-2.0.6.916.ebuild | 2 +-
dev-util/catalyst/files/stage1-chroot.sh.patch | 12 ------------
3 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/dev-util/catalyst/Manifest b/dev-util/catalyst/Manifest
index 4ffc5fa..e43bd0e 100644
--- a/dev-util/catalyst/Manifest
+++ b/dev-util/catalyst/Manifest
@@ -1,6 +1,5 @@
AUX 0001-generic_stage_target.py-stupify-the-LockDir-call.patch 1512 RMD160 219572f242e29eeae6f5a5d115ca80680453141b SHA1 41bd132d4c62b6a31fb4114c901dac8a00b2a9e2 SHA256 9de2cc4861feb0526e5c20633c901a2d376169b50fb8a422c17a599494d39800
-AUX stage1-chroot.sh.patch 487 RMD160 1fff2cbe87a70b050ed5a872aceff51b6ff0d405 SHA1 abd8426198fc786379f1933f75e255aef182da7e SHA256 411ff50c3889478c391922586dfcacd51853f2971bbb67e3e0d9d19e854fb3c5
DIST catalyst-2.0.6.916.tar.bz2 807678 RMD160 2603b46b38258a2812888416da71c99cd0d7d3a4 SHA1 49ce32a3fcbd5c171a29d0f921b54479c691c18d SHA256 434e59d1233d9215a6deda5f12a64af1241ba3fcaae4ee63145cd9b488b5a968
-EBUILD catalyst-2.0.6.916.ebuild 2476 RMD160 d81c9da621df95e8cc57f5157d605649e6b1cc5f SHA1 4326c9c580642c3680b96dc4d751719bf6188312 SHA256 50213eda62df926014a9dc1e75dc1491203d11baebff6e84603902fea5be76de
+EBUILD catalyst-2.0.6.916.ebuild 2480 RMD160 2cc5b500e6a5bccd66afaac17fe6d58ad3895e35 SHA1 30e8466c35f2d932536083f4c4a4fcb38cb58532 SHA256 4649e003fee3222b9a6245c6d86f0ae84bdf3d5290f59508303deab28ca36c8b
MISC ChangeLog 47583 RMD160 d67b764b3126c6a8f51b2433ccb2bb20c0694313 SHA1 cc3a22de9230a3d05cb3f79aca3f651f83839a7e SHA256 0c6e28f146d8c0f433239e37ff946d3701dfe5fda19ee7338b955dfbc8382605
MISC metadata.xml 302 RMD160 963f1d00b35f824f4ebb4ecbe565b5d9603ee3ee SHA1 61841e2ff22153be6bd9cb5cacc34fbb6f391b37 SHA256 52c8f4e22cff9920c9a11b04ee574b28cd6fbf71a8212259d9d19122e0ddf955
diff --git a/dev-util/catalyst/catalyst-2.0.6.916.ebuild b/dev-util/catalyst/catalyst-2.0.6.916.ebuild
index 3d65603..40ccc18 100644
--- a/dev-util/catalyst/catalyst-2.0.6.916.ebuild
+++ b/dev-util/catalyst/catalyst-2.0.6.916.ebuild
@@ -43,7 +43,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/*.patch
+ epatch "${FILESDIR}"/0001*.patch
}
src_install() {
diff --git a/dev-util/catalyst/files/stage1-chroot.sh.patch b/dev-util/catalyst/files/stage1-chroot.sh.patch
deleted file mode 100644
index 03fe205..0000000
--- a/dev-util/catalyst/files/stage1-chroot.sh.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://bugs.gentoo.org/113298
---- /usr/lib/catalyst/targets/stage1/stage1-chroot.sh
-+++ /usr/lib/catalyst/targets/stage1/stage1-chroot.sh
-@@ -22,7 +22,7 @@
- # First, we drop in a known-good baselayout
- [ -e /etc/make.conf ] && \
- echo 'USE="${USE} -build"' >> /etc/make.conf
--run_merge "--oneshot --nodeps sys-apps/baselayout"
-+run_merge "--oneshot --nodeps sys-apps/baselayout sys-apps/shadow"
- sed -i '/USE="${USE} -build"/d' /etc/make.conf
-
- # Next, we install the package manager
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/
@ 2011-12-20 15:41 Jeremy Olexa
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa @ 2011-12-20 15:41 UTC (permalink / raw
To: gentoo-commits
commit: 4128168ad6a0562a710e5648ef22bbe86017e1d0
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 15:41:24 2011 +0000
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 15:41:24 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=4128168a
[dev-util/catalyst] Try experimental patch for /etc/portage/make.conf
---
dev-util/catalyst/catalyst-2.0.7.1.ebuild | 2 +-
...01-add-etc-make.profile-to-cleanables-too.patch | 25 ++
...conf-etc-portage-make.conf-g-Use-new-loca.patch | 262 ++++++++++++++++++++
3 files changed, 288 insertions(+), 1 deletions(-)
diff --git a/dev-util/catalyst/catalyst-2.0.7.1.ebuild b/dev-util/catalyst/catalyst-2.0.7.1.ebuild
index 496fa8f..46a7dbb 100644
--- a/dev-util/catalyst/catalyst-2.0.7.1.ebuild
+++ b/dev-util/catalyst/catalyst-2.0.7.1.ebuild
@@ -25,7 +25,7 @@ RDEPEND="dev-lang/python
kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
src_prepare() {
- epatch "${FILESDIR}"/0001*.patch
+ epatch "${FILESDIR}"/*.patch
}
src_install() {
diff --git a/dev-util/catalyst/files/0001-add-etc-make.profile-to-cleanables-too.patch b/dev-util/catalyst/files/0001-add-etc-make.profile-to-cleanables-too.patch
new file mode 100644
index 0000000..c6247a2
--- /dev/null
+++ b/dev-util/catalyst/files/0001-add-etc-make.profile-to-cleanables-too.patch
@@ -0,0 +1,25 @@
+From 9eaf6fb3e8fab9b8f8b7087dc6ac2c239597b825 Mon Sep 17 00:00:00 2001
+From: Jeremy Olexa <darkside@gentoo.org>
+Date: Thu, 15 Dec 2011 16:51:12 +0000
+Subject: [PATCH] add /etc/make.profile to cleanables too
+
+---
+ modules/stage3_target.py | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/modules/stage3_target.py b/modules/stage3_target.py
+index 6ebdc49..351ad0c 100644
+--- a/modules/stage3_target.py
++++ b/modules/stage3_target.py
+@@ -22,6 +22,8 @@ class stage3_target(generic_stage_target):
+
+ def set_cleanables(self):
+ generic_stage_target.set_cleanables(self)
++ # Not sure where /etc/make.profile is being created
++ self.settings["cleanables"].extend(["/etc/make.profile"])
+
+ def register(foo):
+ foo.update({"stage3":stage3_target})
+--
+1.7.3.4
+
diff --git a/dev-util/catalyst/files/0002-s-etc-make.conf-etc-portage-make.conf-g-Use-new-loca.patch b/dev-util/catalyst/files/0002-s-etc-make.conf-etc-portage-make.conf-g-Use-new-loca.patch
new file mode 100644
index 0000000..da695e4
--- /dev/null
+++ b/dev-util/catalyst/files/0002-s-etc-make.conf-etc-portage-make.conf-g-Use-new-loca.patch
@@ -0,0 +1,262 @@
+From 86b36782d0e5ab6e811dd2d0968b87e4eee38e7d Mon Sep 17 00:00:00 2001
+From: Jeremy Olexa <darkside@gentoo.org>
+Date: Tue, 20 Dec 2011 15:35:16 +0000
+Subject: [PATCH] s:/etc/make.conf:/etc/portage/make.conf:g - Use new location
+
+Tested with stage building only (not livecd)
+---
+ examples/livecd-stage2_template.spec | 2 +-
+ examples/stage4_template.spec | 2 +-
+ modules/generic_stage_target.py | 18 +++++++++---------
+ modules/stage3_target.py | 6 +++++-
+ targets/stage1/stage1-chroot.sh | 12 ++++++------
+ targets/stage1/stage1-controller.sh | 2 +-
+ targets/support/chroot-functions.sh | 16 ++++++++--------
+ targets/support/kmerge.sh | 6 +++---
+ targets/support/livecdfs-update.sh | 12 ++++++------
+ 9 files changed, 40 insertions(+), 36 deletions(-)
+
+diff --git a/examples/livecd-stage2_template.spec b/examples/livecd-stage2_template.spec
+index b957688..18a06a4 100644
+--- a/examples/livecd-stage2_template.spec
++++ b/examples/livecd-stage2_template.spec
+@@ -345,5 +345,5 @@ livecd/empty:
+ # This option tells catalyst to clean specific files from the filesystem and is
+ # very usefu in cleaning up stray files in /etc left over after livecd/unmerge.
+ # example:
+-# livecd/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/bootsplash* /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /
usr/share/consolefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/make.conf.example /etc/make.globals /etc/resolv.conf
++# livecd/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/portage/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/bootsplash* /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefo
nts/c* /usr/share/consolefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/portage/make.conf.example /etc/make.globals /etc/resolv.conf
+ livecd/rm:
+diff --git a/examples/stage4_template.spec b/examples/stage4_template.spec
+index c5cd65c..9da5e5e 100644
+--- a/examples/stage4_template.spec
++++ b/examples/stage4_template.spec
+@@ -254,5 +254,5 @@ stage4/empty:
+ # This option tells catalyst to clean specific files from the filesystem and is
+ # very usefu in cleaning up stray files in /etc left over after stage4/unmerge.
+ # example:
+-# stage4/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /usr/share/consolefonts
/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/make.conf.example /etc/make.globals /etc/resolv.conf
++# stage4/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/portage/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /usr/share/cons
olefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/portage/make.conf.example /etc/make.globals /etc/resolv.conf
+ stage4/rm:
+diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
+index 6e0bc33..8aa2075 100644
+--- a/modules/generic_stage_target.py
++++ b/modules/generic_stage_target.py
+@@ -938,7 +938,7 @@ class generic_stage_target(generic_target):
+
+ def chroot_setup(self):
+ self.makeconf=read_makeconf(self.settings["chroot_path"]+\
+- "/etc/make.conf")
++ "/etc/portage/make.conf")
+ self.override_cbuild()
+ self.override_chost()
+ self.override_cflags()
+@@ -950,7 +950,7 @@ class generic_stage_target(generic_target):
+ else:
+ print "Setting up chroot..."
+
+- #self.makeconf=read_makeconf(self.settings["chroot_path"]+"/etc/make.conf")
++ #self.makeconf=read_makeconf(self.settings["chroot_path"]+"/etc/portage/make.conf")
+
+ cmd("cp /etc/resolv.conf "+self.settings["chroot_path"]+"/etc",\
+ "Could not copy resolv.conf into place.",env=self.env)
+@@ -997,10 +997,10 @@ class generic_stage_target(generic_target):
+ "Could not copy /etc/hosts",env=self.env)
+
+ """ Modify and write out make.conf (for the chroot) """
+- cmd("rm -f "+self.settings["chroot_path"]+"/etc/make.conf",\
++ cmd("rm -f "+self.settings["chroot_path"]+"/etc/portage/make.conf",\
+ "Could not remove "+self.settings["chroot_path"]+\
+- "/etc/make.conf",env=self.env)
+- myf=open(self.settings["chroot_path"]+"/etc/make.conf","w")
++ "/etc/portage/make.conf",env=self.env)
++ myf=open(self.settings["chroot_path"]+"/etc/portage/make.conf","w")
+ myf.write("# These settings were set by the catalyst build script that automatically\n# built this stage.\n")
+ myf.write("# Please consult /usr/share/portage/config/make.conf.example for a more\n# detailed example.\n")
+ if self.settings.has_key("CFLAGS"):
+@@ -1046,9 +1046,9 @@ class generic_stage_target(generic_target):
+ myf.write('PORTDIR_OVERLAY="/usr/local/portage"\n')
+
+ myf.close()
+- cmd("cp "+self.settings["chroot_path"]+"/etc/make.conf "+\
+- self.settings["chroot_path"]+"/etc/make.conf.catalyst",\
+- "Could not backup /etc/make.conf",env=self.env)
++ cmd("cp "+self.settings["chroot_path"]+"/etc/portage/make.conf "+\
++ self.settings["chroot_path"]+"/etc/portage/make.conf.catalyst",\
++ "Could not backup /etc/portage/make.conf",env=self.env)
+ touch(self.settings["autoresume_path"]+"chroot_setup")
+
+ def fsscript(self):
+@@ -1093,7 +1093,7 @@ class generic_stage_target(generic_target):
+ cmd("rm -rf "+self.settings["chroot_path"]+"/usr/local/portage",\
+ "Could not remove /usr/local/portage",env=self.env)
+ cmd("sed -i '/^PORTDIR_OVERLAY/d' "+self.settings["chroot_path"]+\
+- "/etc/make.conf",\
++ "/etc/portage/make.conf",\
+ "Could not remove PORTDIR_OVERLAY from make.conf",env=self.env)
+
+ """ Clean up old and obsoleted files in /etc """
+diff --git a/modules/stage3_target.py b/modules/stage3_target.py
+index 351ad0c..f5ad9e2 100644
+--- a/modules/stage3_target.py
++++ b/modules/stage3_target.py
+@@ -22,8 +22,12 @@ class stage3_target(generic_stage_target):
+
+ def set_cleanables(self):
+ generic_stage_target.set_cleanables(self)
+- # Not sure where /etc/make.profile is being created
++ # Not sure where /etc/make.profile is being created (unless it is a
++ # leftover from the seed?)
+ self.settings["cleanables"].extend(["/etc/make.profile"])
++ # Not sure where /etc/make.conf is being created (unless it is a
++ # leftover from the seed?)
++ self.settings["cleanables"].extend(["/etc/make.conf"])
+
+ def register(foo):
+ foo.update({"stage3":stage3_target})
+diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
+index 976515d..e238012 100644
+--- a/targets/stage1/stage1-chroot.sh
++++ b/targets/stage1/stage1-chroot.sh
+@@ -20,19 +20,19 @@ fi
+
+ ## START BUILD
+ # First, we drop in a known-good baselayout
+-[ -e /etc/make.conf ] && \
+- echo 'USE="${USE} -build"' >> /etc/make.conf
++[ -e /etc/portage/make.conf ] && \
++ echo 'USE="${USE} -build"' >> /etc/portage/make.conf
+ run_merge "--oneshot --nodeps sys-apps/baselayout"
+-sed -i '/USE="${USE} -build"/d' /etc/make.conf
++sed -i '/USE="${USE} -build"/d' /etc/portage/make.conf
+
+ # Next, we install the package manager
+ clst_root_path=/ setup_pkgmgr
+ make_destpath /tmp/stage1root
+
+ # Now, we install our packages
+-[ -e /etc/make.conf ] && \
++[ -e /etc/portage/make.conf ] && \
+ echo "USE=\"-* bindist build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"" \
+- >> /etc/make.conf
++ >> /etc/portage/make.conf
+ run_merge "--oneshot ${clst_buildpkgs}"
+ sed -i "/USE=\"-* bindist build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"/d" \
+- /etc/make.conf
++ /etc/portage/make.conf
+diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh
+index 1f72067..3c348ce 100644
+--- a/targets/stage1/stage1-controller.sh
++++ b/targets/stage1/stage1-controller.sh
+@@ -12,7 +12,7 @@ case $1 in
+ install -d ${clst_chroot_path}/${clst_root_path}/etc
+
+ # Setup make.conf and make.profile link in "ROOT in chroot":
+- copy_to_chroot ${clst_chroot_path}/etc/make.conf /${clst_root_path}/etc
++ copy_to_chroot ${clst_chroot_path}/etc/portage/make.conf /${clst_root_path}/etc
+ copy_to_chroot ${clst_chroot_path}/etc/portage/make.profile \
+ /${clst_root_path}/etc
+
+diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
+index 277fdc2..18cf49e 100644
+--- a/targets/support/chroot-functions.sh
++++ b/targets/support/chroot-functions.sh
+@@ -72,8 +72,8 @@ setup_myfeatures(){
+ then
+ export clst_myfeatures="${clst_myfeatures} distcc"
+ export DISTCC_HOSTS="${clst_distcc_hosts}"
+- [ -e /etc/make.conf ] && \
+- echo 'USE="${USE} -avahi -gtk -gnome"' >> /etc/make.conf
++ [ -e /etc/portage/make.conf ] && \
++ echo 'USE="${USE} -avahi -gtk -gnome"' >> /etc/portage/make.conf
+ # We install distcc to / on stage1, then use --noreplace, so we need to
+ # have some way to check if we need to reinstall distcc without being
+ # able to rely on USE, so we check for the distcc user and force a
+@@ -84,7 +84,7 @@ setup_myfeatures(){
+ else
+ clst_root_path=/ run_merge --oneshot --nodeps --noreplace sys-devel/distcc || exit 1
+ fi
+- sed -i '/USE="${USE} -avahi -gtk -gnome"/d' /etc/make.conf
++ sed -i '/USE="${USE} -avahi -gtk -gnome"/d' /etc/portage/make.conf
+ mkdir -p /etc/distcc
+ echo "${clst_distcc_hosts}" > /etc/distcc/hosts
+
+@@ -163,11 +163,11 @@ setup_gcc(){
+
+ setup_pkgmgr(){
+ # We need to merge our package manager with USE="build" set in case it is
+- # portage to avoid frying our /etc/make.conf file. Otherwise, we could
++ # portage to avoid frying our /etc/portage/make.conf file. Otherwise, we could
+ # just let emerge system could merge it.
+- [ -e /etc/make.conf ] && echo 'USE="${USE} build"' >> /etc/make.conf
++ [ -e /etc/portage/make.conf ] && echo 'USE="${USE} build"' >> /etc/portage/make.conf
+ run_merge --oneshot --nodeps sys-apps/portage
+- sed -i '/USE="${USE} build"/d' /etc/make.conf
++ sed -i '/USE="${USE} build"/d' /etc/portage/make.conf
+ }
+
+ cleanup_distcc() {
+@@ -233,11 +233,11 @@ die() {
+
+ make_destpath() {
+ # ROOT is / by default, so remove any ROOT= settings from make.conf
+- sed -i '/ROOT=/d' /etc/make.conf
++ sed -i '/ROOT=/d' /etc/portage/make.conf
+ export ROOT=/
+ if [ "${1}" != "/" -a -n "${1}" ]
+ then
+- echo "ROOT=\"${1}\"" >> /etc/make.conf
++ echo "ROOT=\"${1}\"" >> /etc/portage/make.conf
+ export ROOT=${1}
+ fi
+ if [ ! -d ${ROOT} ]
+diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
+index d3201bb..f57508f 100644
+--- a/targets/support/kmerge.sh
++++ b/targets/support/kmerge.sh
+@@ -191,8 +191,8 @@ then
+ fi
+ fi
+
+-[ -e /etc/make.conf ] && \
+- echo "USE=\"\${USE} ${clst_kernel_use} build\"" >> /etc/make.conf
++[ -e /etc/portage/make.conf ] && \
++ echo "USE=\"\${USE} ${clst_kernel_use} build\"" >> /etc/portage/make.conf
+
+ if [ -n "${clst_KERNCACHE}" ]
+ then
+@@ -232,7 +232,7 @@ then
+ fi
+
+ build_kernel
+-sed -i "/USE=\"\${USE} ${clst_kernel_use} build\"/d" /etc/make.conf
++sed -i "/USE=\"\${USE} ${clst_kernel_use} build\"/d" /etc/portage/make.conf
+ # grep out the kernel version so that we can do our modules magic
+ VER=`grep ^VERSION\ \= /usr/src/linux/Makefile | awk '{ print $3 };'`
+ PAT=`grep ^PATCHLEVEL\ \= /usr/src/linux/Makefile | awk '{ print $3 };'`
+diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
+index ad2f8b7..a7aad5f 100644
+--- a/targets/support/livecdfs-update.sh
++++ b/targets/support/livecdfs-update.sh
+@@ -112,12 +112,12 @@ fi
+
+ # Tweak the livecd make.conf so that users know not to edit it
+ # http://bugs.gentoo.org/show_bug.cgi?id=144647
+-mv /etc/make.conf /etc/make.conf.old
+-echo "####################################################" >> /etc/make.conf
+-echo "## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##" >> /etc/make.conf
+-echo "## PLEASE EDIT /mnt/gentoo/etc/make.conf INSTEAD ##" >> /etc/make.conf
+-echo "####################################################" >> /etc/make.conf
+-cat /etc/make.conf.old >> /etc/make.conf
++mv /etc/portage/make.conf /etc/portage/make.conf.old
++echo "####################################################" >> /etc/portage/make.conf
++echo "## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##" >> /etc/portage/make.conf
++echo "## PLEASE EDIT /mnt/gentoo/etc/portage/make.conf INSTEAD ##" >> /etc/portage/make.conf
++echo "####################################################" >> /etc/portage/make.conf
++cat /etc/portage/make.conf.old >> /etc/portage/make.conf
+
+ # devfs tweaks
+ [ -e /etc/devfsd.conf ] && sed -i '/dev-state/ s:^:#:' /etc/devfsd.conf
+--
+1.7.3.4
+
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/
@ 2012-04-24 14:06 Jeremy Olexa
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa @ 2012-04-24 14:06 UTC (permalink / raw
To: gentoo-commits
commit: 6754ffe0d4a1baa82c802771d994fafe5b21b461
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 24 14:07:05 2012 +0000
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Tue Apr 24 14:07:05 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=6754ffe0
[dev-util/catalyst] Sync to 2.0.8 from gx86 tree
---
dev-util/catalyst/Manifest | 2 +-
...yst-2.0.7.1-r1.ebuild => catalyst-2.0.8.ebuild} | 14 +-
...01-add-etc-make.profile-to-cleanables-too.patch | 25 --
...profile-etc-portage-make.profile-g-Use-ne.patch | 62 -----
...conf-etc-portage-make.conf-g-Use-new-loca.patch | 262 --------------------
5 files changed, 12 insertions(+), 353 deletions(-)
diff --git a/dev-util/catalyst/Manifest b/dev-util/catalyst/Manifest
index 2f2b3dc..b18ed13 100644
--- a/dev-util/catalyst/Manifest
+++ b/dev-util/catalyst/Manifest
@@ -1 +1 @@
-DIST catalyst-2.0.7.1.tar.bz2 901524 RMD160 b862f149b2faf60367d2458546aed706cbf8119a SHA1 89724af0818266e3790f9ed262f4316148902cc0 SHA256 77998b27cd8136c03380c1fdb271c69eae72891fe8177f0bf95b64c9f5fe82d6
+DIST catalyst-2.0.8.tar.bz2 901440 RMD160 5dbfd990b8c64a10f060fd3716c65c19da578310 SHA1 64ee740aeea9fdf23a7aeae01c8270c0f7e64ba5 SHA256 8e9a7e6854a89734952daefdd0cad34d198e2c2dc3fd4571674dbce2f21732f7
diff --git a/dev-util/catalyst/catalyst-2.0.7.1-r1.ebuild b/dev-util/catalyst/catalyst-2.0.8.ebuild
similarity index 90%
rename from dev-util/catalyst/catalyst-2.0.7.1-r1.ebuild
rename to dev-util/catalyst/catalyst-2.0.8.ebuild
index 46a7dbb..fae2dd6 100644
--- a/dev-util/catalyst/catalyst-2.0.7.1-r1.ebuild
+++ b/dev-util/catalyst/catalyst-2.0.8.ebuild
@@ -3,7 +3,10 @@
# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.7.1.ebuild,v 1.1 2011/11/19 20:28:00 jmbsvicetto Exp $
EAPI=4
-inherit eutils multilib
+PYTHON_DEPEND="2"
+
+inherit eutils multilib python
+
DESCRIPTION="release metatool used for creating releases based on Gentoo Linux,
with NFS patch"
@@ -17,15 +20,20 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="ccache"
DEPEND="app-text/asciidoc"
-RDEPEND="dev-lang/python
- app-crypt/shash
+RDEPEND="app-crypt/shash
virtual/cdrtools
ccache? ( dev-util/ccache )
ia64? ( sys-fs/dosfstools )
kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
epatch "${FILESDIR}"/*.patch
+ python_convert_shebangs -r 2 .
}
src_install() {
diff --git a/dev-util/catalyst/files/0001-add-etc-make.profile-to-cleanables-too.patch b/dev-util/catalyst/files/0001-add-etc-make.profile-to-cleanables-too.patch
deleted file mode 100644
index c6247a2..0000000
--- a/dev-util/catalyst/files/0001-add-etc-make.profile-to-cleanables-too.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9eaf6fb3e8fab9b8f8b7087dc6ac2c239597b825 Mon Sep 17 00:00:00 2001
-From: Jeremy Olexa <darkside@gentoo.org>
-Date: Thu, 15 Dec 2011 16:51:12 +0000
-Subject: [PATCH] add /etc/make.profile to cleanables too
-
----
- modules/stage3_target.py | 2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
-
-diff --git a/modules/stage3_target.py b/modules/stage3_target.py
-index 6ebdc49..351ad0c 100644
---- a/modules/stage3_target.py
-+++ b/modules/stage3_target.py
-@@ -22,6 +22,8 @@ class stage3_target(generic_stage_target):
-
- def set_cleanables(self):
- generic_stage_target.set_cleanables(self)
-+ # Not sure where /etc/make.profile is being created
-+ self.settings["cleanables"].extend(["/etc/make.profile"])
-
- def register(foo):
- foo.update({"stage3":stage3_target})
---
-1.7.3.4
-
diff --git a/dev-util/catalyst/files/0001-s-etc-make.profile-etc-portage-make.profile-g-Use-ne.patch b/dev-util/catalyst/files/0001-s-etc-make.profile-etc-portage-make.profile-g-Use-ne.patch
deleted file mode 100644
index 64b03e8..0000000
--- a/dev-util/catalyst/files/0001-s-etc-make.profile-etc-portage-make.profile-g-Use-ne.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From a800c2e9ce394b076eb4e15ae1cfa9a197e7aabb Mon Sep 17 00:00:00 2001
-From: Jeremy Olexa <darkside@gentoo.org>
-Date: Wed, 7 Dec 2011 15:58:25 +0000
-Subject: [PATCH] s:/etc/make.profile:/etc/portage/make.profile:g - Use new location
-
-Take 2, specify target symlink better and create /etc/portage first
-(fails with stage2 otherwise)
----
- modules/generic_stage_target.py | 7 ++++---
- targets/stage1/stage1-chroot.sh | 2 +-
- targets/stage1/stage1-controller.sh | 2 +-
- 3 files changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
-index 55baea7..6e0bc33 100644
---- a/modules/generic_stage_target.py
-+++ b/modules/generic_stage_target.py
-@@ -813,11 +813,12 @@ class generic_stage_target(generic_target):
- # TODO: zmedico and I discussed making this a directory and pushing
- # in a parent file, as well as other user-specified configuration.
- print "Configuring profile link..."
-- cmd("rm -f "+self.settings["chroot_path"]+"/etc/make.profile",\
-+ cmd("rm -f "+self.settings["chroot_path"]+"/etc/portage/make.profile",\
- "Error zapping profile link",env=self.env)
-- cmd("ln -sf ../usr/portage/profiles/"+\
-+ cmd("mkdir "+self.settings["chroot_path"]+"/etc/portage/")
-+ cmd("ln -sf ../../usr/portage/profiles/"+\
- self.settings["target_profile"]+" "+\
-- self.settings["chroot_path"]+"/etc/make.profile",\
-+ self.settings["chroot_path"]+"/etc/portage/make.profile",\
- "Error creating profile link",env=self.env)
- touch(self.settings["autoresume_path"]+"config_profile_link")
-
-diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
-index 79f127f..976515d 100644
---- a/targets/stage1/stage1-chroot.sh
-+++ b/targets/stage1/stage1-chroot.sh
-@@ -14,7 +14,7 @@ if [ -z "${clst_buildpkgs}" ]
- then
- echo "Your profile seems to be broken."
- echo "Could not build a list of build packages."
-- echo "Double check your /etc/make.profile link and the 'packages' files."
-+ echo "Double check your /etc/portage/make.profile link and the 'packages' files."
- exit 1
- fi
-
-diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh
-index 5625877..1f72067 100644
---- a/targets/stage1/stage1-controller.sh
-+++ b/targets/stage1/stage1-controller.sh
-@@ -13,7 +13,7 @@ case $1 in
-
- # Setup make.conf and make.profile link in "ROOT in chroot":
- copy_to_chroot ${clst_chroot_path}/etc/make.conf /${clst_root_path}/etc
-- copy_to_chroot ${clst_chroot_path}/etc/make.profile \
-+ copy_to_chroot ${clst_chroot_path}/etc/portage/make.profile \
- /${clst_root_path}/etc
-
- # Enter chroot, execute our build script
---
-1.7.3.4
-
diff --git a/dev-util/catalyst/files/0002-s-etc-make.conf-etc-portage-make.conf-g-Use-new-loca.patch b/dev-util/catalyst/files/0002-s-etc-make.conf-etc-portage-make.conf-g-Use-new-loca.patch
deleted file mode 100644
index da695e4..0000000
--- a/dev-util/catalyst/files/0002-s-etc-make.conf-etc-portage-make.conf-g-Use-new-loca.patch
+++ /dev/null
@@ -1,262 +0,0 @@
-From 86b36782d0e5ab6e811dd2d0968b87e4eee38e7d Mon Sep 17 00:00:00 2001
-From: Jeremy Olexa <darkside@gentoo.org>
-Date: Tue, 20 Dec 2011 15:35:16 +0000
-Subject: [PATCH] s:/etc/make.conf:/etc/portage/make.conf:g - Use new location
-
-Tested with stage building only (not livecd)
----
- examples/livecd-stage2_template.spec | 2 +-
- examples/stage4_template.spec | 2 +-
- modules/generic_stage_target.py | 18 +++++++++---------
- modules/stage3_target.py | 6 +++++-
- targets/stage1/stage1-chroot.sh | 12 ++++++------
- targets/stage1/stage1-controller.sh | 2 +-
- targets/support/chroot-functions.sh | 16 ++++++++--------
- targets/support/kmerge.sh | 6 +++---
- targets/support/livecdfs-update.sh | 12 ++++++------
- 9 files changed, 40 insertions(+), 36 deletions(-)
-
-diff --git a/examples/livecd-stage2_template.spec b/examples/livecd-stage2_template.spec
-index b957688..18a06a4 100644
---- a/examples/livecd-stage2_template.spec
-+++ b/examples/livecd-stage2_template.spec
-@@ -345,5 +345,5 @@ livecd/empty:
- # This option tells catalyst to clean specific files from the filesystem and is
- # very usefu in cleaning up stray files in /etc left over after livecd/unmerge.
- # example:
--# livecd/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/bootsplash* /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /
usr/share/consolefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/make.conf.example /etc/make.globals /etc/resolv.conf
-+# livecd/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/portage/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/bootsplash* /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefo
nts/c* /usr/share/consolefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/portage/make.conf.example /etc/make.globals /etc/resolv.conf
- livecd/rm:
-diff --git a/examples/stage4_template.spec b/examples/stage4_template.spec
-index c5cd65c..9da5e5e 100644
---- a/examples/stage4_template.spec
-+++ b/examples/stage4_template.spec
-@@ -254,5 +254,5 @@ stage4/empty:
- # This option tells catalyst to clean specific files from the filesystem and is
- # very usefu in cleaning up stray files in /etc left over after stage4/unmerge.
- # example:
--# stage4/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /usr/share/consolefonts
/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/make.conf.example /etc/make.globals /etc/resolv.conf
-+# stage4/rm: /lib/*.a /usr/lib/*.a /usr/lib/gcc-lib/*/*/libgcj* /etc/dispatch-conf.conf /etc/etc-update.conf /etc/*- /etc/issue* /etc/portage/make.conf /etc/man.conf /etc/*.old /root/.viminfo /usr/sbin/fb* /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/mkfs.minix /usr/sbin/mkfs.bfs /usr/sbin/mkfs.cramfs /lib/security/pam_access.so /lib/security/pam_chroot.so /lib/security/pam_debug.so /lib/security/pam_ftp.so /lib/security/pam_issue.so /lib/security/pam_mail.so /lib/security/pam_motd.so /lib/security/pam_mkhomedir.so /lib/security/pam_postgresok.so /lib/security/pam_rhosts_auth.so /lib/security/pam_userdb.so /usr/share/consolefonts/1* /usr/share/consolefonts/7* /usr/share/consolefonts/8* /usr/share/consolefonts/9* /usr/share/consolefonts/A* /usr/share/consolefonts/C* /usr/share/consolefonts/E* /usr/share/consolefonts/G* /usr/share/consolefonts/L* /usr/share/consolefonts/M* /usr/share/consolefonts/R* /usr/share/consolefonts/a* /usr/share/consolefonts/c* /usr/share/cons
olefonts/dr* /usr/share/consolefonts/g* /usr/share/consolefonts/i* /usr/share/consolefonts/k* /usr/share/consolefonts/l* /usr/share/consolefonts/r* /usr/share/consolefonts/s* /usr/share/consolefonts/t* /usr/share/consolefonts/v* /etc/splash/livecd-2006.1/16* /etc/splash/livecd-2006.1/12* /etc/splash/livecd-2006.1/6* /etc/splash/livecd-2006.1/8* /etc/splash/livecd-2006.1/images/silent-16* /etc/splash/livecd-2006.1/images/silent-12* /etc/splash/livecd-2006.1/images/silent-6* /etc/splash/livecd-2006.1/images/silent-8* /etc/splash/livecd-2006.1/images/verbose-16* /etc/splash/livecd-2006.1/images/verbose-12* /etc/splash/livecd-2006.1/images/verbose-6* /etc/splash/livecd-2006.1/images/verbose-8* /etc/portage/make.conf.example /etc/make.globals /etc/resolv.conf
- stage4/rm:
-diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
-index 6e0bc33..8aa2075 100644
---- a/modules/generic_stage_target.py
-+++ b/modules/generic_stage_target.py
-@@ -938,7 +938,7 @@ class generic_stage_target(generic_target):
-
- def chroot_setup(self):
- self.makeconf=read_makeconf(self.settings["chroot_path"]+\
-- "/etc/make.conf")
-+ "/etc/portage/make.conf")
- self.override_cbuild()
- self.override_chost()
- self.override_cflags()
-@@ -950,7 +950,7 @@ class generic_stage_target(generic_target):
- else:
- print "Setting up chroot..."
-
-- #self.makeconf=read_makeconf(self.settings["chroot_path"]+"/etc/make.conf")
-+ #self.makeconf=read_makeconf(self.settings["chroot_path"]+"/etc/portage/make.conf")
-
- cmd("cp /etc/resolv.conf "+self.settings["chroot_path"]+"/etc",\
- "Could not copy resolv.conf into place.",env=self.env)
-@@ -997,10 +997,10 @@ class generic_stage_target(generic_target):
- "Could not copy /etc/hosts",env=self.env)
-
- """ Modify and write out make.conf (for the chroot) """
-- cmd("rm -f "+self.settings["chroot_path"]+"/etc/make.conf",\
-+ cmd("rm -f "+self.settings["chroot_path"]+"/etc/portage/make.conf",\
- "Could not remove "+self.settings["chroot_path"]+\
-- "/etc/make.conf",env=self.env)
-- myf=open(self.settings["chroot_path"]+"/etc/make.conf","w")
-+ "/etc/portage/make.conf",env=self.env)
-+ myf=open(self.settings["chroot_path"]+"/etc/portage/make.conf","w")
- myf.write("# These settings were set by the catalyst build script that automatically\n# built this stage.\n")
- myf.write("# Please consult /usr/share/portage/config/make.conf.example for a more\n# detailed example.\n")
- if self.settings.has_key("CFLAGS"):
-@@ -1046,9 +1046,9 @@ class generic_stage_target(generic_target):
- myf.write('PORTDIR_OVERLAY="/usr/local/portage"\n')
-
- myf.close()
-- cmd("cp "+self.settings["chroot_path"]+"/etc/make.conf "+\
-- self.settings["chroot_path"]+"/etc/make.conf.catalyst",\
-- "Could not backup /etc/make.conf",env=self.env)
-+ cmd("cp "+self.settings["chroot_path"]+"/etc/portage/make.conf "+\
-+ self.settings["chroot_path"]+"/etc/portage/make.conf.catalyst",\
-+ "Could not backup /etc/portage/make.conf",env=self.env)
- touch(self.settings["autoresume_path"]+"chroot_setup")
-
- def fsscript(self):
-@@ -1093,7 +1093,7 @@ class generic_stage_target(generic_target):
- cmd("rm -rf "+self.settings["chroot_path"]+"/usr/local/portage",\
- "Could not remove /usr/local/portage",env=self.env)
- cmd("sed -i '/^PORTDIR_OVERLAY/d' "+self.settings["chroot_path"]+\
-- "/etc/make.conf",\
-+ "/etc/portage/make.conf",\
- "Could not remove PORTDIR_OVERLAY from make.conf",env=self.env)
-
- """ Clean up old and obsoleted files in /etc """
-diff --git a/modules/stage3_target.py b/modules/stage3_target.py
-index 351ad0c..f5ad9e2 100644
---- a/modules/stage3_target.py
-+++ b/modules/stage3_target.py
-@@ -22,8 +22,12 @@ class stage3_target(generic_stage_target):
-
- def set_cleanables(self):
- generic_stage_target.set_cleanables(self)
-- # Not sure where /etc/make.profile is being created
-+ # Not sure where /etc/make.profile is being created (unless it is a
-+ # leftover from the seed?)
- self.settings["cleanables"].extend(["/etc/make.profile"])
-+ # Not sure where /etc/make.conf is being created (unless it is a
-+ # leftover from the seed?)
-+ self.settings["cleanables"].extend(["/etc/make.conf"])
-
- def register(foo):
- foo.update({"stage3":stage3_target})
-diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
-index 976515d..e238012 100644
---- a/targets/stage1/stage1-chroot.sh
-+++ b/targets/stage1/stage1-chroot.sh
-@@ -20,19 +20,19 @@ fi
-
- ## START BUILD
- # First, we drop in a known-good baselayout
--[ -e /etc/make.conf ] && \
-- echo 'USE="${USE} -build"' >> /etc/make.conf
-+[ -e /etc/portage/make.conf ] && \
-+ echo 'USE="${USE} -build"' >> /etc/portage/make.conf
- run_merge "--oneshot --nodeps sys-apps/baselayout"
--sed -i '/USE="${USE} -build"/d' /etc/make.conf
-+sed -i '/USE="${USE} -build"/d' /etc/portage/make.conf
-
- # Next, we install the package manager
- clst_root_path=/ setup_pkgmgr
- make_destpath /tmp/stage1root
-
- # Now, we install our packages
--[ -e /etc/make.conf ] && \
-+[ -e /etc/portage/make.conf ] && \
- echo "USE=\"-* bindist build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"" \
-- >> /etc/make.conf
-+ >> /etc/portage/make.conf
- run_merge "--oneshot ${clst_buildpkgs}"
- sed -i "/USE=\"-* bindist build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"/d" \
-- /etc/make.conf
-+ /etc/portage/make.conf
-diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh
-index 1f72067..3c348ce 100644
---- a/targets/stage1/stage1-controller.sh
-+++ b/targets/stage1/stage1-controller.sh
-@@ -12,7 +12,7 @@ case $1 in
- install -d ${clst_chroot_path}/${clst_root_path}/etc
-
- # Setup make.conf and make.profile link in "ROOT in chroot":
-- copy_to_chroot ${clst_chroot_path}/etc/make.conf /${clst_root_path}/etc
-+ copy_to_chroot ${clst_chroot_path}/etc/portage/make.conf /${clst_root_path}/etc
- copy_to_chroot ${clst_chroot_path}/etc/portage/make.profile \
- /${clst_root_path}/etc
-
-diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
-index 277fdc2..18cf49e 100644
---- a/targets/support/chroot-functions.sh
-+++ b/targets/support/chroot-functions.sh
-@@ -72,8 +72,8 @@ setup_myfeatures(){
- then
- export clst_myfeatures="${clst_myfeatures} distcc"
- export DISTCC_HOSTS="${clst_distcc_hosts}"
-- [ -e /etc/make.conf ] && \
-- echo 'USE="${USE} -avahi -gtk -gnome"' >> /etc/make.conf
-+ [ -e /etc/portage/make.conf ] && \
-+ echo 'USE="${USE} -avahi -gtk -gnome"' >> /etc/portage/make.conf
- # We install distcc to / on stage1, then use --noreplace, so we need to
- # have some way to check if we need to reinstall distcc without being
- # able to rely on USE, so we check for the distcc user and force a
-@@ -84,7 +84,7 @@ setup_myfeatures(){
- else
- clst_root_path=/ run_merge --oneshot --nodeps --noreplace sys-devel/distcc || exit 1
- fi
-- sed -i '/USE="${USE} -avahi -gtk -gnome"/d' /etc/make.conf
-+ sed -i '/USE="${USE} -avahi -gtk -gnome"/d' /etc/portage/make.conf
- mkdir -p /etc/distcc
- echo "${clst_distcc_hosts}" > /etc/distcc/hosts
-
-@@ -163,11 +163,11 @@ setup_gcc(){
-
- setup_pkgmgr(){
- # We need to merge our package manager with USE="build" set in case it is
-- # portage to avoid frying our /etc/make.conf file. Otherwise, we could
-+ # portage to avoid frying our /etc/portage/make.conf file. Otherwise, we could
- # just let emerge system could merge it.
-- [ -e /etc/make.conf ] && echo 'USE="${USE} build"' >> /etc/make.conf
-+ [ -e /etc/portage/make.conf ] && echo 'USE="${USE} build"' >> /etc/portage/make.conf
- run_merge --oneshot --nodeps sys-apps/portage
-- sed -i '/USE="${USE} build"/d' /etc/make.conf
-+ sed -i '/USE="${USE} build"/d' /etc/portage/make.conf
- }
-
- cleanup_distcc() {
-@@ -233,11 +233,11 @@ die() {
-
- make_destpath() {
- # ROOT is / by default, so remove any ROOT= settings from make.conf
-- sed -i '/ROOT=/d' /etc/make.conf
-+ sed -i '/ROOT=/d' /etc/portage/make.conf
- export ROOT=/
- if [ "${1}" != "/" -a -n "${1}" ]
- then
-- echo "ROOT=\"${1}\"" >> /etc/make.conf
-+ echo "ROOT=\"${1}\"" >> /etc/portage/make.conf
- export ROOT=${1}
- fi
- if [ ! -d ${ROOT} ]
-diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
-index d3201bb..f57508f 100644
---- a/targets/support/kmerge.sh
-+++ b/targets/support/kmerge.sh
-@@ -191,8 +191,8 @@ then
- fi
- fi
-
--[ -e /etc/make.conf ] && \
-- echo "USE=\"\${USE} ${clst_kernel_use} build\"" >> /etc/make.conf
-+[ -e /etc/portage/make.conf ] && \
-+ echo "USE=\"\${USE} ${clst_kernel_use} build\"" >> /etc/portage/make.conf
-
- if [ -n "${clst_KERNCACHE}" ]
- then
-@@ -232,7 +232,7 @@ then
- fi
-
- build_kernel
--sed -i "/USE=\"\${USE} ${clst_kernel_use} build\"/d" /etc/make.conf
-+sed -i "/USE=\"\${USE} ${clst_kernel_use} build\"/d" /etc/portage/make.conf
- # grep out the kernel version so that we can do our modules magic
- VER=`grep ^VERSION\ \= /usr/src/linux/Makefile | awk '{ print $3 };'`
- PAT=`grep ^PATCHLEVEL\ \= /usr/src/linux/Makefile | awk '{ print $3 };'`
-diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
-index ad2f8b7..a7aad5f 100644
---- a/targets/support/livecdfs-update.sh
-+++ b/targets/support/livecdfs-update.sh
-@@ -112,12 +112,12 @@ fi
-
- # Tweak the livecd make.conf so that users know not to edit it
- # http://bugs.gentoo.org/show_bug.cgi?id=144647
--mv /etc/make.conf /etc/make.conf.old
--echo "####################################################" >> /etc/make.conf
--echo "## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##" >> /etc/make.conf
--echo "## PLEASE EDIT /mnt/gentoo/etc/make.conf INSTEAD ##" >> /etc/make.conf
--echo "####################################################" >> /etc/make.conf
--cat /etc/make.conf.old >> /etc/make.conf
-+mv /etc/portage/make.conf /etc/portage/make.conf.old
-+echo "####################################################" >> /etc/portage/make.conf
-+echo "## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##" >> /etc/portage/make.conf
-+echo "## PLEASE EDIT /mnt/gentoo/etc/portage/make.conf INSTEAD ##" >> /etc/portage/make.conf
-+echo "####################################################" >> /etc/portage/make.conf
-+cat /etc/portage/make.conf.old >> /etc/portage/make.conf
-
- # devfs tweaks
- [ -e /etc/devfsd.conf ] && sed -i '/dev-state/ s:^:#:' /etc/devfsd.conf
---
-1.7.3.4
-
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/
@ 2012-06-28 18:34 Jeremy Olexa
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa @ 2012-06-28 18:34 UTC (permalink / raw
To: gentoo-commits
commit: 2e79394cb78362518a15716970029bb7f8c2cdb7
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 28 18:32:26 2012 +0000
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org>
CommitDate: Thu Jun 28 18:32:26 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=2e79394c
rm dev-utils/catalyst since I do not use it anymore
---
dev-util/catalyst/Manifest | 1 -
dev-util/catalyst/catalyst-2.0.8.ebuild | 65 --------------------
..._stage_target.py-stupify-the-LockDir-call.patch | 37 -----------
3 files changed, 0 insertions(+), 103 deletions(-)
diff --git a/dev-util/catalyst/Manifest b/dev-util/catalyst/Manifest
deleted file mode 100644
index b18ed13..0000000
--- a/dev-util/catalyst/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST catalyst-2.0.8.tar.bz2 901440 RMD160 5dbfd990b8c64a10f060fd3716c65c19da578310 SHA1 64ee740aeea9fdf23a7aeae01c8270c0f7e64ba5 SHA256 8e9a7e6854a89734952daefdd0cad34d198e2c2dc3fd4571674dbce2f21732f7
diff --git a/dev-util/catalyst/catalyst-2.0.8.ebuild b/dev-util/catalyst/catalyst-2.0.8.ebuild
deleted file mode 100644
index fae2dd6..0000000
--- a/dev-util/catalyst/catalyst-2.0.8.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.7.1.ebuild,v 1.1 2011/11/19 20:28:00 jmbsvicetto Exp $
-
-EAPI=4
-PYTHON_DEPEND="2"
-
-inherit eutils multilib python
-
-
-DESCRIPTION="release metatool used for creating releases based on Gentoo Linux,
-with NFS patch"
-HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="ccache"
-
-DEPEND="app-text/asciidoc"
-RDEPEND="app-crypt/shash
- virtual/cdrtools
- ccache? ( dev-util/ccache )
- ia64? ( sys-fs/dosfstools )
- kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/*.patch
- python_convert_shebangs -r 2 .
-}
-
-src_install() {
- insinto /usr/$(get_libdir)/${PN}
- exeinto /usr/$(get_libdir)/${PN}
- doexe catalyst
- if [[ ${PV} == 9999* ]]; then
- doins -r modules files
- else
- doins -r arch modules livecd
- fi
- for x in targets/*; do
- exeinto /usr/$(get_libdir)/${PN}/$x
- doexe $x/*
- done
- make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
- insinto /etc/catalyst
- doins files/catalyst.conf files/catalystrc
- insinto /usr/share/doc/${PF}/examples
- doins examples/*
- dodoc README ChangeLog AUTHORS
- doman files/catalyst.1
- # Here is where we actually enable ccache
- if use ccache; then
- sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' "${D}"/etc/catalyst/catalyst.conf || die
- fi
- sed -i -e "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
- "${D}"/etc/catalyst/catalyst.conf || die
-}
diff --git a/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch b/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch
deleted file mode 100644
index 5838ed8..0000000
--- a/dev-util/catalyst/files/0001-generic_stage_target.py-stupify-the-LockDir-call.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 9e011d21cc7f90025e5e37c2b801f25c3a7c63ca Mon Sep 17 00:00:00 2001
-From: Jeremy Olexa <darkside@gentoo.org>
-Date: Wed, 6 Apr 2011 22:06:20 -0500
-Subject: [PATCH] generic_stage_target.py: stupify the LockDir call
-
-This is a terrible hack to make catalyst work on networked file systems.
-I don't expect this to be upstreamed and it will probably break stuff if
-there is more than one instance of catalyst running.
----
- modules/generic_stage_target.py | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
-index 55baea7..7a7ce0a 100644
---- a/modules/generic_stage_target.py
-+++ b/modules/generic_stage_target.py
-@@ -420,7 +420,7 @@ class generic_stage_target(generic_target):
- normpath(self.settings["snapshot_cache"]+"/"+\
- self.settings["snapshot"]+"/")
- self.snapcache_lock=\
-- catalyst_lock.LockDir(self.settings["snapshot_cache_path"])
-+ catalyst_lock.LockDir("/tmp")
- print "Caching snapshot to "+self.settings["snapshot_cache_path"]
-
- def set_chroot_path(self):
-@@ -430,7 +430,7 @@ class generic_stage_target(generic_target):
- """
- self.settings["chroot_path"]=normpath(self.settings["storedir"]+\
- "/tmp/"+self.settings["target_subpath"]+"/")
-- self.chroot_lock=catalyst_lock.LockDir(self.settings["chroot_path"])
-+ self.chroot_lock=catalyst_lock.LockDir("/opt")
-
- def set_autoresume_path(self):
- self.settings["autoresume_path"]=normpath(self.settings["storedir"]+\
---
-1.7.4.1
-
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-06-28 18:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20 15:41 [gentoo-commits] dev/darkside:master commit in: dev-util/catalyst/files/, dev-util/catalyst/ Jeremy Olexa
-- strict thread matches above, loose matches on Subject: below --
2012-06-28 18:34 Jeremy Olexa
2012-04-24 14:06 Jeremy Olexa
2011-05-20 4:03 Jeremy Olexa
2011-05-19 22:26 Jeremy Olexa
2011-04-08 12:34 Jeremy Olexa
2011-04-07 3:15 Jeremy Olexa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox