1 |
commit: d6417ace0b61697d0f94e9812af4621107b01cd7 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 26 01:31:00 2014 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Sep 2 05:43:13 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=d6417ace |
7 |
|
8 |
stage1-controller.sh: Remove some old poor cleaning code |
9 |
|
10 |
This code had portage bin path hard coded. That path needed to be |
11 |
changed for a new portage ebuild and install system. |
12 |
After testing the origianl code and comparing it with some updated code |
13 |
supplied by Douglas Freed. It turned out both code chunks resulted in |
14 |
nothing being cleaned. |
15 |
|
16 |
Tested-by: Rick Zero_Chaos Farina <zerochaos <AT> gentoo.org> |
17 |
|
18 |
--- |
19 |
targets/stage1/stage1-controller.sh | 5 ----- |
20 |
1 file changed, 5 deletions(-) |
21 |
|
22 |
diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh |
23 |
index 8dbd16b..d029545 100755 |
24 |
--- a/targets/stage1/stage1-controller.sh |
25 |
+++ b/targets/stage1/stage1-controller.sh |
26 |
@@ -31,11 +31,6 @@ case $1 in |
27 |
rm -rf usr/share/{man,doc,info}/* |
28 |
# Zap all .pyc and .pyo files |
29 |
find . -iname "*.py[co]" -exec rm -f {} \; |
30 |
- # Cleanup all .a files except libgcc.a, *_nonshared.a and |
31 |
- # /usr/lib/portage/bin/*.a |
32 |
- find . -type f -iname "*.a" | grep -v 'libgcc.a' | \ |
33 |
- grep -v 'nonshared.a' | grep -v '/usr/lib/portage/bin/' | \ |
34 |
- grep -v 'libgcc_eh.a' | xargs rm -f |
35 |
;; |
36 |
|
37 |
*) |