1 |
This code had portage bin path hard coded. That path needed to be |
2 |
changed for a new portage ebuild and install system. |
3 |
After testing the origianl code and comparing it with some updated code |
4 |
supplied by Douglas Freed. It turned out both code chunks resulted in |
5 |
nothing being cleaned. |
6 |
|
7 |
Tested and confirmed by zero_chaos. |
8 |
--- |
9 |
targets/stage1/stage1-controller.sh | 5 ----- |
10 |
1 file changed, 5 deletions(-) |
11 |
|
12 |
diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh |
13 |
index 8dbd16b..d029545 100755 |
14 |
--- a/targets/stage1/stage1-controller.sh |
15 |
+++ b/targets/stage1/stage1-controller.sh |
16 |
@@ -31,11 +31,6 @@ case $1 in |
17 |
rm -rf usr/share/{man,doc,info}/* |
18 |
# Zap all .pyc and .pyo files |
19 |
find . -iname "*.py[co]" -exec rm -f {} \; |
20 |
- # Cleanup all .a files except libgcc.a, *_nonshared.a and |
21 |
- # /usr/lib/portage/bin/*.a |
22 |
- find . -type f -iname "*.a" | grep -v 'libgcc.a' | \ |
23 |
- grep -v 'nonshared.a' | grep -v '/usr/lib/portage/bin/' | \ |
24 |
- grep -v 'libgcc_eh.a' | xargs rm -f |
25 |
;; |
26 |
|
27 |
*) |
28 |
-- |
29 |
1.9.3 |