aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-09-22 13:38:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-09-22 13:38:05 +0000
commit76157716aebd5edee8ca8972c5906a427900b4d2 (patch)
tree9b17bda19f7cdb5535e780329de682ea7cb96bc3 /target/linux/image/Makefile
parent4bc7ccda6c40c2ed85d9492f681965aef8471cc9 (diff)
downloadmaster-187ad058-76157716aebd5edee8ca8972c5906a427900b4d2.tar.gz
master-187ad058-76157716aebd5edee8ca8972c5906a427900b4d2.tar.bz2
master-187ad058-76157716aebd5edee8ca8972c5906a427900b4d2.zip
fix permissions on image build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1977 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/image/Makefile')
-rw-r--r--target/linux/image/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/image/Makefile b/target/linux/image/Makefile
index 74c778a334..1e3e22f15c 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: