Skip to content
Snippets Groups Projects
Commit b4ecda7b authored by Luka Perkov's avatar Luka Perkov
Browse files

image: don't force ubifs journal size


Small journal size can lead to problems if nand flash is too big. By default
ubifs will use ~12% of volume size or a maximum of 8MiB.

Signed-off-by: default avatarLuka Perkov <luka@openwrt.org>

SVN-Revision: 38799
parent c43d2285
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ menu "Target Images" ...@@ -143,7 +143,7 @@ menu "Target Images"
config TARGET_UBIFS_JOURNAL_SIZE config TARGET_UBIFS_JOURNAL_SIZE
string string
prompt "journal size" if TARGET_ROOTFS_UBIFS prompt "journal size" if TARGET_ROOTFS_UBIFS
default "512KiB" default ""
config TARGET_UBIFS_SQUASH_UIDS config TARGET_UBIFS_SQUASH_UIDS
bool "squash uids" if TARGET_ROOTFS_UBIFS bool "squash uids" if TARGET_ROOTFS_UBIFS
......
...@@ -142,7 +142,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),) ...@@ -142,7 +142,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),)
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--force-compr=none) \ $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--force-compr=none) \
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--force-compr=lzo) \ $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--force-compr=lzo) \
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--force-compr=zlib) \ $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--force-compr=zlib) \
--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE) \ $(if $(shell echo $(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)),--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)) \
--squash-uids \ --squash-uids \
-o $(KDIR)/root.ubifs \ -o $(KDIR)/root.ubifs \
-d $(TARGET_DIR) -d $(TARGET_DIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment