From abcc9746afdb6da0783b62c61a86d3839a1d3a14 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 16 Sep 2011 17:46:55 +0200 Subject: [PATCH] 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. --- lfs/dracut | 4 +++- make.sh | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) 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 -- 2.39.5