From e6a8154811ab88f040bf77410f02cde203f3a41c Mon Sep 17 00:00:00 2001 From: mbm Date: Sat, 26 Feb 2005 02:32:16 +0000 Subject: bugfix git-svn-id: svn://svn.openwrt.org/openwrt/trunk@294 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/default/target_skeleton/etc/preinit | 6 +++--- openwrt/target/squashfs-lzma/squashfslzmaroot.mk | 1 - openwrt/target/squashfs/squashfsroot.mk | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'openwrt/target') diff --git a/openwrt/target/default/target_skeleton/etc/preinit b/openwrt/target/default/target_skeleton/etc/preinit index d2036f4e5..28fe80526 100755 --- a/openwrt/target/default/target_skeleton/etc/preinit +++ b/openwrt/target/default/target_skeleton/etc/preinit @@ -11,10 +11,10 @@ else mtd unlock mtd4 mount -t jffs2 /dev/mtdblock/4 /jffs pivot_root /jffs /jffs/rom - mount none /dev -t devfs - mount none /proc -t proc - umount rom/proc } + mount none /dev -t devfs + mount none /proc -t proc + umount rom/proc fi mount none /tmp -t ramfs exec /sbin/init diff --git a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk index 4059896bc..722c20524 100644 --- a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk +++ b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk @@ -39,7 +39,6 @@ squashfslzma-dirclean: squashfslzmaroot: squashfslzma @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info - @mkdir -p $(TARGET_DIR)/jffs $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le squashfslzmaroot-source: squashfslzma-source diff --git a/openwrt/target/squashfs/squashfsroot.mk b/openwrt/target/squashfs/squashfsroot.mk index 62b645a88..d3a104a83 100644 --- a/openwrt/target/squashfs/squashfsroot.mk +++ b/openwrt/target/squashfs/squashfsroot.mk @@ -38,7 +38,6 @@ squashfs-dirclean: squashfsroot: squashfs @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info - @mkdir -p $(TARGET_DIR)/jffs $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).squashfs -noappend -root-owned -le squashfsroot-source: squashfs-source -- cgit v1.2.3