ppcrcd/trunk/Makefile
sparky
cvs at pld-linux.org
Fri Mar 10 17:29:38 CET 2006
Author: sparky
Date: Fri Mar 10 17:29:33 2006
New Revision: 7135
Modified:
ppcrcd/trunk/Makefile
Log:
- root_stripped depends on 'todel' file
- run ldconfig before stripping
Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile (original)
+++ ppcrcd/trunk/Makefile Fri Mar 10 17:29:33 2006
@@ -150,7 +150,7 @@
strip $@
strip -R.comment $@
-$(root_stripped): out/touch/root_installed conf.dir doc
+$(root_stripped): out/touch/root_installed conf.dir doc todel
$(SU) rm -rf $@{,.work}
#
mkdir -p $@.work/dev
@@ -160,6 +160,8 @@
#
$(SU) cp -a $(root_inst)/* $@.work
#
+ $(SU) chroot $@.work /sbin/ldconfig -c new
+ #
while read TODEL; do $(SU) rm -rf $@.work/$$TODEL; done < todel
#
$(SU) find $@.work -type f | xargs file | grep ELF | \
More information about the pld-cvs-commit
mailing list