mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix rootfs preparation with rootfs containing files with whitespaces in the filename (based on patch from #6551)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19282 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
51c68c80e5
commit
fa404080cc
@ -126,9 +126,9 @@ endif
|
||||
|
||||
|
||||
define Image/mkfs/prepare/default
|
||||
- find $(TARGET_DIR) -type f -not -perm +0100 -not -name 'ssh_host*' | $(XARGS) chmod 0644
|
||||
- find $(TARGET_DIR) -type f -perm +0100 | $(XARGS) chmod 0755
|
||||
- find $(TARGET_DIR) -type d | $(XARGS) chmod 0755
|
||||
- $(FIND) $(TARGET_DIR) -type f -not -perm +0100 -not -name 'ssh_host*' -print0 | $(XARGS) -0 chmod 0644
|
||||
- $(FIND) $(TARGET_DIR) -type f -perm +0100 -print0 | $(XARGS) -0 chmod 0755
|
||||
- $(FIND) $(TARGET_DIR) -type d -print0 | $(XARGS) -0 chmod 0755
|
||||
$(INSTALL_DIR) $(TARGET_DIR)/tmp
|
||||
chmod 0777 $(TARGET_DIR)/tmp
|
||||
endef
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user