diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-02-25 23:56:46 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-02-25 23:56:46 +0000 |
commit | 62ed4966b1eb1294c2c79f8d3dc85263ec9a5bb4 (patch) | |
tree | 819ba18497e2368ec3c55349618f1031ae4e8e0e | |
parent | 0fa38c0208679f16b82392dbac062bf65ac741be (diff) | |
download | upstream-62ed4966b1eb1294c2c79f8d3dc85263ec9a5bb4.tar.gz upstream-62ed4966b1eb1294c2c79f8d3dc85263ec9a5bb4.tar.bz2 upstream-62ed4966b1eb1294c2c79f8d3dc85263ec9a5bb4.zip |
Allow firstboot to mount /dev/mtdblock/4 on /jffs when root fs is squashfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@293 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/squashfs-lzma/squashfslzmaroot.mk | 1 | ||||
-rw-r--r-- | target/squashfs/squashfsroot.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/target/squashfs-lzma/squashfslzmaroot.mk b/target/squashfs-lzma/squashfslzmaroot.mk index 722c20524e..4059896bc9 100644 --- a/target/squashfs-lzma/squashfslzmaroot.mk +++ b/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/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk index d3a104a83f..62b645a883 100644 --- a/target/squashfs/squashfsroot.mk +++ b/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 |