diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-22 13:38:05 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-22 13:38:05 +0000 |
commit | 9ad94d5fa76fecc2174324605e3e4f8f13cbb725 (patch) | |
tree | 326669f86154b304bac5d0eb24d062976cd39596 /openwrt/target/linux/image/Makefile | |
parent | cd7400daf4adb4ac6492eee2d2c9af7ef35583bb (diff) |
fix permissions on image build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1977 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/image/Makefile')
-rw-r--r-- | openwrt/target/linux/image/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/Makefile b/openwrt/target/linux/image/Makefile index 74c778a334..1e3e22f15c 100644 --- a/openwrt/target/linux/image/Makefile +++ b/openwrt/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: |