mtd-utils: Update to version 2.3.0
authorHauke Mehrtens <[email protected]>
Sat, 25 Oct 2025 13:50:36 +0000 (15:50 +0200)
committerHauke Mehrtens <[email protected]>
Sat, 8 Nov 2025 20:03:46 +0000 (21:03 +0100)
commit6ad9daf99aef65919bd59aa4b094dbbf7b00cc8d
tree73f69da2a0bc135e83497856b1ec4eaccbc6df8f
parent52c0e90bdc8a6b487a322b8180b65d3b69fbb47b
mtd-utils: Update to version 2.3.0

See announcement mail for list of new features:
https://lists.infradead.org/pipermail/linux-mtd/2025-February/108248.html

Cherry pick some upstream commits which fix build problems in some
situations.

autoreconf fixup is needed now otherwise the build fails with:
```
mtd-utils-2.3.0/missing: line 81: automake-1.16: command not found
```

The code in tests/ubifs_tools-tests/Makemodule.am does not build because
some test data is not packaged in the tar files, do not build code from
this directory.

The size increased only very little:
 61498 bin/targets/ramips/mt7621/packages/nand-utils-2.3.0-r1.apk
101643 bin/targets/ramips/mt7621/packages/ubi-utils-2.3.0-r1.apk
 61243 bin/targets/ramips/mt7621/packages/nand-utils-2.2.1-r1.apk
101291 bin/targets/ramips/mt7621/packages/ubi-utils-2.2.1-r1.apk

Link: https://github.com/openwrt/openwrt/pull/20540
Signed-off-by: Hauke Mehrtens <[email protected]>
package/utils/mtd-utils/Makefile
package/utils/mtd-utils/patches/001-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch [new file with mode: 0644]
package/utils/mtd-utils/patches/002-ubifs-utils-common-fix-memory-leak-in-devtable.c.patch [new file with mode: 0644]
package/utils/mtd-utils/patches/004-Improve-check-for-GCC-compiler-version.patch [new file with mode: 0644]
package/utils/mtd-utils/patches/005-ubifs-utils-ubifs.h-Include-fcntl.h.patch [new file with mode: 0644]
package/utils/mtd-utils/patches/006-ubifs-utils-journal-Include-sys-stat.h.patch [new file with mode: 0644]
package/utils/mtd-utils/patches/007-ubifs-utils-extract_files-Include-linux-limits.h.patch [new file with mode: 0644]
package/utils/mtd-utils/patches/100-Remove-ubifs-test-builds.patch [new file with mode: 0644]