[Lunar-commits] <lunar-iso> Only strip files in $ISO_TARGET

Stefan Wold ratler at lunar-linux.org
Sat Nov 16 20:18:13 CET 2013


commit 5fa40181c2a18d84652e5adaf971e8011feaee9f
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 16 Nov 2013 06:47:27 -0800
URL: https://github.com/lunar-linux/lunar-iso/commit/5fa40181c2a18d84652e5adaf971e8011feaee9f

Only strip files in $ISO_TARGET
---
  mkfiles/iso.mk | +1/-1     
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mkfiles/iso.mk
+++ b/mkfiles/iso.mk
@@ -52,7 +52,7 @@ iso-files: $(ISO_TARGET)/.iso-files $(addprefix $(ISO_TARGET)/etc/, $(ISO_ETC_FI
 # Strip executables and libraries
 $(ISO_TARGET)/.iso-strip: iso-modules
 	@echo iso-strip
-	@find \( -type f -perm /u=x -o -name 'lib*.so*' -o -name '*.ko' \) -exec strip --strip-unneeded {} \;
+	@find $(ISO_TARGET) \( -type f -perm /u=x -o -name 'lib*.so*' -o -name '*.ko' \) -exec strip --strip-unneeded {} \;
 	@touch $@
 
 iso-strip: $(ISO_TARGET)/.iso-strip




More information about the Lunar-commits mailing list