aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2012-10-19 23:27:03 -0400
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2012-10-19 23:27:03 -0400
commit0131a93c7d95f8d27d79463750a1fdf471ba79b1 (patch)
tree50e220376169c7534a5aae49d34d7c82bbf5ce06
parentUse lbzip2 for tar.bz2 (diff)
downloadcatalyst-0131a93c7d95f8d27d79463750a1fdf471ba79b1.tar.gz
catalyst-0131a93c7d95f8d27d79463750a1fdf471ba79b1.tar.bz2
catalyst-0131a93c7d95f8d27d79463750a1fdf471ba79b1.zip
prevent cleaning .a files
The releng specs already remove all the static libs from the system We do not need to do it with catalyst as this breaks all other livecds
-rw-r--r--targets/livecd-stage2/livecd-stage2-controller.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/targets/livecd-stage2/livecd-stage2-controller.sh b/targets/livecd-stage2/livecd-stage2-controller.sh
index 687c208d..57dcff74 100644
--- a/targets/livecd-stage2/livecd-stage2-controller.sh
+++ b/targets/livecd-stage2/livecd-stage2-controller.sh
@@ -109,13 +109,6 @@ case $1 in
# Zap all .pyc and .pyo files
find ${clst_chroot_path}/usr/lib* -iname "*.py[co]" -exec rm -f {} \;
fi
- # Cleanup all .a files except libgcc.a, *_nonshared.a and
- # /usr/lib/portage/bin/*.a
- find ${clst_chroot_path}usr/lib* -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
rm -f ${clst_chroot_path}/tmp/packages.txt
;;