diff options
-rw-r--r-- | mk/image.mk | 1 | ||||
-rw-r--r-- | package/base-files/Makefile | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/mk/image.mk b/mk/image.mk index 1b7178eef..c7f568c26 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -14,7 +14,6 @@ image-prepare-post: dd if=$$rng bs=512 count=1 >>${TARGET_DIR}/etc/.rnd 2>/dev/null; \ chmod 600 ${TARGET_DIR}/etc/.rnd chmod 4511 ${TARGET_DIR}/bin/busybox - chmod 1777 ${TARGET_DIR}/tmp @if [ -d ${TARGET_DIR}/usr/share/fonts/X11 ];then \ for i in $$(ls ${TARGET_DIR}/usr/share/fonts/X11/);do \ mkfontdir ${TARGET_DIR}/usr/share/fonts/X11/$${i}; \ diff --git a/package/base-files/Makefile b/package/base-files/Makefile index db08b8860..a78326074 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -50,6 +50,7 @@ endif chmod 755 $(IDIR_BASE_FILES)/lib/mdev/init chmod 600 $(IDIR_BASE_FILES)/etc/shadow chmod 600 $(IDIR_BASE_FILES)/etc/network/interfaces + chmod 1777 ${IDIR_BASE_FILES}/tmp ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab rm -rf $(IDIR_BASE_FILES)/var ln -sf tmp $(IDIR_BASE_FILES)/var |