r1999 - Fixed build issue (Thanks John Hanks!)

8 views
Skip to first unread message

com...@warewulf.lbl.gov

unread,
Aug 7, 2016, 11:23:44 AM8/7/16
to warewul...@lbl.gov
Author: gmk
Date: 2016-08-07 08:23:43 -0700 (Sun, 07 Aug 2016)
New Revision: 1999

Modified:
trunk/provision/initramfs/Makefile.am
Log:
Fixed build issue (Thanks John Hanks!)


Modified: trunk/provision/initramfs/Makefile.am
===================================================================
--- trunk/provision/initramfs/Makefile.am 2016-08-05 20:49:53 UTC (rev 1998)
+++ trunk/provision/initramfs/Makefile.am 2016-08-07 15:23:43 UTC (rev 1999)
@@ -84,7 +84,7 @@
ln -s mkfs.ext4 rootfs/sbin/mkfs.ext3
cp -a _work/$(LIBARCHIVE_DIR)/bsdtar rootfs/bin/bsdtar
cp -L --parents /lib*/ld-linux* rootfs/
- find -type d \! -perm -u=w -print | xargs chmod u+w
+ find -type d \! -perm -u=w -exec chmod u+w {} \;
find rootfs -type f -perm -o+x -print | grep -v ld-linux | xargs ldd | grep "=>" | awk '{print $$3}' | grep "^/" | sort | uniq | while read i; do cp -L --parents $$i rootfs/; done
find rootfs -type f -perm -o+x -print | xargs strip -g
rm -f rootfs/linuxrc

Reply all
Reply to author
Forward
0 new messages