]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Remove early stripping for initrd.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Sep 2011 15:46:55 +0000 (17:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Sep 2011 15:46:55 +0000 (17:46 +0200)
The build process was slowed down very much by stripping twice
and this is not neccessary, because dracut can do this, too.

lfs/dracut
make.sh

index c9816bd57d54f05f871d1db00b438ae955fe3065..8f7b848b92359d650391403580d98d4051c41601 100644 (file)
@@ -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 e08f731d704e5b7f0849a007e8e47fc4b025634a..c96a53b24c260defc0b76446295a2831506a3ab7 100755 (executable)
--- 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