From 29a02fbd376cba5ae772e0262177efa7601df3f9 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 25 Feb 2005 23:56:46 +0000 Subject: [PATCH] Allow firstboot to mount /dev/mtdblock/4 on /jffs when root fs is squashfs SVN-Revision: 293 --- openwrt/target/squashfs-lzma/squashfslzmaroot.mk | 1 + openwrt/target/squashfs/squashfsroot.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/openwrt/target/squashfs-lzma/squashfslzmaroot.mk b/openwrt/target/squashfs-lzma/squashfslzmaroot.mk index 722c20524e..4059896bc9 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 d3a104a83f..62b645a883 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 -- 2.30.2