From b2363fac89ec337da6c1ba78a230f8972dba8b0c Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 22 Sep 2005 13:38:05 +0000 Subject: fix permissions on image build git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1977 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/image/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/image/Makefile') diff --git a/target/linux/image/Makefile b/target/linux/image/Makefile index 74c778a33..1e3e22f15 100644 --- a/target/linux/image/Makefile +++ b/target/linux/image/Makefile @@ -25,6 +25,12 @@ install-ib: mkdir -p $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD) cp $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/kernel[-_]*.ipk $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)/ +install-prepare: + find $(KDIR)/root -type f -not -perm +0100 | xargs chmod 0644 + find $(KDIR)/root -type f -perm +0100 | xargs chmod 0755 + find $(KDIR)/root -type d | xargs chmod 0755 + chmod 0777 $(KDIR)/root/tmp + rebuild: clean prepare compile install clean: -- cgit v1.2.3