]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mtd-utils: update to v2.3.1 22946/head
authorShiji Yang <yangshiji66@outlook.com>
Wed, 15 Apr 2026 17:05:13 +0000 (01:05 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 16 Apr 2026 18:45:40 +0000 (20:45 +0200)
commit3edd2894111835a037a91e794d938a93435a6641
treeb7fb385df7156780cb2a77567c752c0a4a8d9579
parentd870511c827dea44ec6fcf660bdf390b3ec7cf99
mtd-utils: update to v2.3.1

Fixes:
  - ubifs-utils: link libmissing.a in case execinfo.h isn't present
  - ubifs-utils: common: fix memory leak in devtable.c
  - Broken check for GCC compiler versions
  - ubifs-utils: missing header file includes
  - ubifs-utils: tests: missing files in release tarball
  - mtd-tests: flash_speed: really skip destructive tests
  - mtd-tests: flash_speed: wrong error message in read_eraseblock()
  - serve_image: fix _POSIX_C_SOURCE define
  - ubiattach: fix wording in usage example
  - fsck.ubifs: don't use pointers that reference out-of-scope variables
  - fsck.ubifs: fix platform dependant `ino_t` and `loff_t` formatting
  - docfdisk.c: fix potential arithmetic overflows in partition size
  - jittertest: reject overlong file names

Changes:
  - ubirsvol: resize using all available free space if size is specified
    as 0

Upstreamed patches:
  - 001-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch[1]
  - 002-ubifs-utils-common-fix-memory-leak-in-devtable.c.patch[2]
  - 004-Improve-check-for-GCC-compiler-version.patch[3]
  - 005-ubifs-utils-ubifs.h-Include-fcntl.h.patch[4]
  - 006-ubifs-utils-journal-Include-sys-stat.h.patch[5]
  - 007-ubifs-utils-extract_files-Include-linux-limits.h.patch[6]

[1] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=8a83b306db64d6f60186d4396b0b770163b85b6e
[2] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=2669111e3c60b8e146c174db5d2e7e9991f3dd87
[3] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=ac0ab65ebcd7b11739986b81343457469fbb43b0
[4] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=12bc9ad824bd8f18a5ec9c7154ad2374cf8c7ae3
[5] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=173f9714c8da1d685bfa951d43b9310d16bbab3c
[6] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=77981a2888c711268b0e7f32af6af159c2288e23
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22946
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/utils/mtd-utils/Makefile
package/utils/mtd-utils/patches/001-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch [deleted file]
package/utils/mtd-utils/patches/002-ubifs-utils-common-fix-memory-leak-in-devtable.c.patch [deleted file]
package/utils/mtd-utils/patches/004-Improve-check-for-GCC-compiler-version.patch [deleted file]
package/utils/mtd-utils/patches/005-ubifs-utils-ubifs.h-Include-fcntl.h.patch [deleted file]
package/utils/mtd-utils/patches/006-ubifs-utils-journal-Include-sys-stat.h.patch [deleted file]
package/utils/mtd-utils/patches/007-ubifs-utils-extract_files-Include-linux-limits.h.patch [deleted file]
package/utils/mtd-utils/patches/100-Remove-ubifs-test-builds.patch