diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-25 23:56:46 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-25 23:56:46 +0000 |
commit | 7cef27d7518e984db79e1025bb0e2927b940ec68 (patch) | |
tree | 138bdcf8117bc4b69aae84dceadb056e721fc568 | |
parent | d6e8451729ccf714c74cada243eab14bf833b1c7 (diff) |
Allow firstboot to mount /dev/mtdblock/4 on /jffs when root fs is squashfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@293 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | openwrt/target/squashfs-lzma/squashfslzmaroot.mk | 1 | ||||
-rw-r--r-- | openwrt/target/squashfs/squashfsroot.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk index 722c20524..4059896bc 100644 --- a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk +++ b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk @@ -39,6 +39,7 @@ 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 d3a104a83..62b645a88 100644 --- a/openwrt/target/squashfs/squashfsroot.mk +++ b/openwrt/target/squashfs/squashfsroot.mk @@ -38,6 +38,7 @@ 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 |