Groups
Sign in
Groups
Warewulf-devel
Conversations
About
Send feedback
Help
r1997 - Build fix for non-writable directories created by busybox
5 views
Skip to first unread message
com...@warewulf.lbl.gov
unread,
Aug 5, 2016, 4:39:47 PM
8/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to warewul...@lbl.gov
Author: gmk
Date: 2016-08-05 13:39:46 -0700 (Fri, 05 Aug 2016)
New Revision: 1997
Modified:
trunk/provision/initramfs/Makefile.am
Log:
Build fix for non-writable directories created by busybox
Modified: trunk/provision/initramfs/Makefile.am
===================================================================
--- trunk/provision/initramfs/Makefile.am 2016-07-25 17:41:28 UTC (rev 1996)
+++ trunk/provision/initramfs/Makefile.am 2016-08-05 20:39:46 UTC (rev 1997)
@@ -84,7 +84,8 @@
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 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 -type d \! -perm -u=w -print | xargs 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
install -m 755 $(srcdir)/init rootfs/init
Reply all
Reply to author
Forward
0 new messages