aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-08-25 18:31:00 -0700
committerBrian Dolbec <dolsen@gentoo.org>2014-09-01 22:40:02 -0700
commit8633584a786fd9e1beeae8de7483bc5ecc4df494 (patch)
tree7bc6bcdd6b21495cb3d3f197451a5144ad48c69d
parentupdate version (diff)
downloadcatalyst-8633584a786fd9e1beeae8de7483bc5ecc4df494.tar.gz
catalyst-8633584a786fd9e1beeae8de7483bc5ecc4df494.tar.bz2
catalyst-8633584a786fd9e1beeae8de7483bc5ecc4df494.zip
stage1-controller.sh: Remove some old poor cleaning code
This code had portage bin path hard coded. That path needed to be changed for a new portage ebuild and install system. After testing the origianl code and comparing it with some updated code supplied by Douglas Freed. It turned out both code chunks resulted in nothing being cleaned. Tested-by: Rick Zero_Chaos Farina <zerochaos@gentoo.org>
-rwxr-xr-xtargets/stage1/stage1-controller.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh
index 3671095..ed315f1 100755
--- a/targets/stage1/stage1-controller.sh
+++ b/targets/stage1/stage1-controller.sh
@@ -31,11 +31,6 @@ case $1 in
rm -rf usr/share/{man,doc,info}/*
# Zap all .pyc and .pyo files
find . -iname "*.py[co]" -exec rm -f {} \;
- # Cleanup all .a files except libgcc.a, *_nonshared.a and
- # /usr/lib/portage/bin/*.a
- find . -type f -iname "*.a" | grep -v 'libgcc.a' | \
- grep -v 'nonshared.a' | grep -v '/usr/lib/portage/bin/' | \
- grep -v 'libgcc_eh.a' | xargs rm -f
;;
*)