Allow firstboot to mount /dev/mtdblock/4 on /jffs when root fs is squashfs
authorNicolas Thill <nico@openwrt.org>
Fri, 25 Feb 2005 23:56:46 +0000 (23:56 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 25 Feb 2005 23:56:46 +0000 (23:56 +0000)
SVN-Revision: 293

openwrt/target/squashfs-lzma/squashfslzmaroot.mk
openwrt/target/squashfs/squashfsroot.mk

index 722c20524e711036a3b76e2c2f9c822e70ed9200..4059896bc9e1c11cbe3bb66629057204f836c3f3 100644 (file)
@@ -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
index d3a104a83f3e6f0ed8e4ed4f95cbb72c5fe04de5..62b645a883669e9f27b220da8617aae9a1f71923 100644 (file)
@@ -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