From: Michael Tremer Date: Fri, 16 Sep 2011 15:46:55 +0000 (+0200) Subject: Remove early stripping for initrd. X-Git-Tag: v2.9-core54~13^2~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abcc9746afdb6da0783b62c61a86d3839a1d3a14;p=people%2Fms%2Fipfire-2.x.git Remove early stripping for initrd. The build process was slowed down very much by stripping twice and this is not neccessary, because dracut can do this, too. --- diff --git a/lfs/dracut b/lfs/dracut index c9816bd57d..8f7b848b92 100644 --- a/lfs/dracut +++ b/lfs/dracut @@ -88,7 +88,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) /usr/share/dracut/modules.d/99base/init # Build initramdisk - /sbin/dracut --force --verbose /boot/ipfirerd-$(KVER).img $(KVER)-ipfire + # Strip all binaries in that initrd, because no debugging code is + # needed. + /sbin/dracut --force --verbose --strip /boot/ipfirerd-$(KVER).img $(KVER)-ipfire @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/make.sh b/make.sh index e08f731d70..c96a53b24c 100755 --- a/make.sh +++ b/make.sh @@ -437,9 +437,6 @@ buildipfire() { ipfiremake pkg-config ipfiremake linux-atm ipfiremake cpio - - installmake strip - ipfiremake dracut ipfiremake expat ipfiremake gdbm