From 6aad94400998036ec28e0c7fc71a4a0b733867c2 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Fri, 19 Sep 2003 00:24:57 +0000 Subject: [PATCH] move bootdisk space saving (we do not need .a libraries - saves ~ yet another MB) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1451 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/CHANGELOG-RENE | 1 + target/bootdisk/build_stage2.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index b18fd4523..a8406fea5 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -6,6 +6,7 @@ and the hard-disc on the slave (the PowerBook default ?!?) - Oliver Regehr: fixed linux* for alpha - fixed xfree86 to not run fc-cache (and so depend on all font packages) + - more bootdisk space saving (we do not need .a libraries) - darkglass update *) 2003-09-17 (2.0.0-rc1 - 2.0.0-rc2) diff --git a/target/bootdisk/build_stage2.sh b/target/bootdisk/build_stage2.sh index 496f11d6a..a9030eabe 100644 --- a/target/bootdisk/build_stage2.sh +++ b/target/bootdisk/build_stage2.sh @@ -62,7 +62,7 @@ mv -v boot/* ../boot/ echo_status "Remove the stuff we don't need ..." rm -rf home usr/{local,doc,man,info,games,share} rm -rf var/adm/* var/games var/adm var/mail var/opt -rm -rf usr/{include,src} usr/*-linux-gnu usr/lib/*.{a,la,o} +rm -rf usr/{include,src} usr/*-linux-gnu {,usr/}lib/*.{a,la,o} rm -rf usr/lib/*/ # echo_status "Installing some terminfo databases ..."