[openwrt/openwrt] at91: sama5d4: fix bad mkubifs options

LEDE Commits lede-commits at lists.infradead.org
Sun May 13 09:37:05 PDT 2018


jow pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/aadca035bc77e6d1201c38601091b8daf6385300

commit aadca035bc77e6d1201c38601091b8daf6385300
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Sun May 13 18:33:47 2018 +0200

    at91: sama5d4: fix bad mkubifs options
    
    Drop the "-x lzo" compression type override from MKUBIFS_OPTS since we
    do not support it in mkfs.ubifs. Attempting to use LZO compression results
    in "Error: bad compressor name".
    
    The build system also appends an explicit "--compr=zlib" to the mkfs command
    line, turning the "-x" flag into a no-op anyway.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 target/linux/at91/image/sama5d4.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/at91/image/sama5d4.mk b/target/linux/at91/image/sama5d4.mk
index 554b989..1140c3c 100644
--- a/target/linux/at91/image/sama5d4.mk
+++ b/target/linux/at91/image/sama5d4.mk
@@ -13,7 +13,7 @@ define Device/at91-sama5d4_xplained
   BLOCKSIZE := 256k
   PAGESIZE := 4096
   SUBPAGESIZE := 2048
-  MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB -c 2082 -x lzo
+  MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB -c 2082
   $(Device/evaluation-sdimage)
 endef
 TARGET_DEVICES += at91-sama5d4_xplained



More information about the lede-commits mailing list