summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-26 02:32:16 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-26 02:32:16 +0000
commitf0aa43923c309c39cc61b1a932737ab87c66a029 (patch)
tree3dff87c9cbbaa53f93351a41bdf920c299597639 /target
parent7cd49ecd1cbad9a999f9d49fc7b389e4a1cc719e (diff)
bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/default/target_skeleton/etc/preinit6
-rw-r--r--target/squashfs-lzma/squashfslzmaroot.mk1
-rw-r--r--target/squashfs/squashfsroot.mk1
3 files changed, 3 insertions, 5 deletions
diff --git a/target/default/target_skeleton/etc/preinit b/target/default/target_skeleton/etc/preinit
index d2036f4e59..28fe805260 100755
--- a/target/default/target_skeleton/etc/preinit
+++ b/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/target/squashfs-lzma/squashfslzmaroot.mk b/target/squashfs-lzma/squashfslzmaroot.mk
index 4059896bc9..722c20524e 100644
--- a/target/squashfs-lzma/squashfslzmaroot.mk
+++ b/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/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk
index 62b645a883..d3a104a83f 100644
--- a/target/squashfs/squashfsroot.mk
+++ b/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