mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/2] mtd-utils: Version bump. 2.2.1 -> 2.3.0
@ 2025-02-18 20:47 Christian Melki
  2025-02-18 20:47 ` [ptxdist] [PATCH v2 2/2] host-mtd-utils: Follow target mtd-utils 2.2.1 -> 2.3.0 bump Christian Melki
  2025-02-21 17:08 ` [ptxdist] [APPLIED] mtd-utils: add option for fsck.ubifs Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Melki @ 2025-02-18 20:47 UTC (permalink / raw)
  To: ptxdist

Perhaps the most interesting bit is the ubifs-fsck:er.
https://lists.infradead.org/pipermail/linux-mtd/2025-February/108248.html

* Rearrange options, make zlib enabled as it is mandatory per .in.

* Add fsck.ubifs option

* Forward patchset. Applies cleanly.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 ...-nandmarkbad-new-util-to-mark-blocks-as-bad.patch |  0
 .../{mtd-utils-2.2.1 => mtd-utils-2.3.0}/autogen.sh  |  0
 patches/{mtd-utils-2.2.1 => mtd-utils-2.3.0}/series  |  0
 rules/mtd-utils.in                                   |  7 +++++++
 rules/mtd-utils.make                                 | 12 +++++++++---
 5 files changed, 16 insertions(+), 3 deletions(-)
 rename patches/{mtd-utils-2.2.1 => mtd-utils-2.3.0}/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch (100%)
 rename patches/{mtd-utils-2.2.1 => mtd-utils-2.3.0}/autogen.sh (100%)
 rename patches/{mtd-utils-2.2.1 => mtd-utils-2.3.0}/series (100%)

diff --git a/patches/mtd-utils-2.2.1/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch b/patches/mtd-utils-2.3.0/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
similarity index 100%
rename from patches/mtd-utils-2.2.1/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
rename to patches/mtd-utils-2.3.0/0001-nandmarkbad-new-util-to-mark-blocks-as-bad.patch
diff --git a/patches/mtd-utils-2.2.1/autogen.sh b/patches/mtd-utils-2.3.0/autogen.sh
similarity index 100%
rename from patches/mtd-utils-2.2.1/autogen.sh
rename to patches/mtd-utils-2.3.0/autogen.sh
diff --git a/patches/mtd-utils-2.2.1/series b/patches/mtd-utils-2.3.0/series
similarity index 100%
rename from patches/mtd-utils-2.2.1/series
rename to patches/mtd-utils-2.3.0/series
diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 00dba7c1d..ed470dcb4 100644
--- a/rules/mtd-utils.in
+++ b/rules/mtd-utils.in
@@ -395,6 +395,13 @@ config MTD_UTILS_MKFS_UBIFS
 	help
 	  Create ubifs filesystems
 
+config MTD_UTILS_FSCK_UBIFS
+	bool
+	prompt "fsck.ubifs"
+	select MTD_UTILS_UBIFS
+	help
+	  Check ubifs filesystems
+
 endif
 
 config MTD_UTILS_MTDINFO
diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index def360ae3..974075916 100644
--- a/rules/mtd-utils.make
+++ b/rules/mtd-utils.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_MTD_UTILS) += mtd-utils
 #
 # Paths and names
 #
-MTD_UTILS_VERSION	:= 2.2.1
-MTD_UTILS_MD5		:= 08b97c0df7e70916a7b42460b5030fff
+MTD_UTILS_VERSION	:= 2.3.0
+MTD_UTILS_MD5		:= 06be1bd123cfea8575829e9b16e84f4b
 MTD_UTILS		:= mtd-utils-$(MTD_UTILS_VERSION)
 MTD_UTILS_SUFFIX	:= tar.bz2
 MTD_UTILS_URL		:= https://infraroot.at/pub/mtd/$(MTD_UTILS).$(MTD_UTILS_SUFFIX)
@@ -35,11 +35,13 @@ MTD_UTILS_CONF_OPT	:= \
 	$(CROSS_AUTOCONF_USR) \
 	--disable-unit-tests \
 	$(GLOBAL_LARGE_FILE_OPTION) \
-	--$(call ptx/wwo,PTXCONF_MTD_UTILS_TESTS)-tests \
 	--$(call ptx/endis,PTXCONF_MTD_UTILS_UBIHEALTHD)-ubihealthd \
+	--disable-asan \
+	--$(call ptx/wwo,PTXCONF_MTD_UTILS_TESTS)-tests \
 	--$(call ptx/wwo, PTXCONF_MTD_UTILS_LSMTD)-lsmtd \
 	--$(call ptx/wwo, PTXCONF_MTD_UTILS_JFFS)-jffs \
 	--$(call ptx/wwo, PTXCONF_MTD_UTILS_UBIFS)-ubifs \
+	--with-zlib \
 	--without-xattr \
 	--$(call ptx/wwo, PTXCONF_MTD_UTILS_USE_LIBLZO)-lzo \
 	--without-zstd \
@@ -260,6 +262,10 @@ ifdef PTXCONF_MTD_UTILS_MKFS_UBIFS
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/mkfs.ubifs);
 endif
+ifdef PTXCONF_MTD_UTILS_FSCK_UBIFS
+	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
+		/usr/sbin/fsck.ubifs);
+endif
 ifdef PTXCONF_MTD_UTILS_MTDINFO
 	@$(call install_copy, mtd-utils, 0, 0, 0755, -, \
 		/usr/sbin/mtdinfo)
-- 
2.34.1




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-21 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-18 20:47 [ptxdist] [PATCH v2 1/2] mtd-utils: Version bump. 2.2.1 -> 2.3.0 Christian Melki
2025-02-18 20:47 ` [ptxdist] [PATCH v2 2/2] host-mtd-utils: Follow target mtd-utils 2.2.1 -> 2.3.0 bump Christian Melki
2025-02-21 17:08   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-02-21 17:08 ` [ptxdist] [APPLIED] mtd-utils: add option for fsck.ubifs Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox