Skip to content

Commit 3edd289

Browse files
DragonBluephauke
authored andcommitted
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: openwrt/openwrt#22946 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent d870511 commit 3edd289

8 files changed

Lines changed: 3 additions & 235 deletions

package/utils/mtd-utils/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=mtd-utils
11-
PKG_VERSION:=2.3.0
11+
PKG_VERSION:=2.3.1
1212
PKG_RELEASE:=1
1313

1414
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
1515
PKG_SOURCE_URL:=https://infraroot.at/pub/mtd/
16-
PKG_HASH:=2db102908b232406ccb20719c0f43b61196aef4534493419fbf98a273c598c10
16+
PKG_HASH:=03d9dc58ad10ea3549d9528f6b17a44d8944e18e96c0f31474f9f977078b83dc
1717

1818
PKG_INSTALL:=1
1919

package/utils/mtd-utils/patches/001-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch

Lines changed: 0 additions & 57 deletions
This file was deleted.

package/utils/mtd-utils/patches/002-ubifs-utils-common-fix-memory-leak-in-devtable.c.patch

Lines changed: 0 additions & 32 deletions
This file was deleted.

package/utils/mtd-utils/patches/004-Improve-check-for-GCC-compiler-version.patch

Lines changed: 0 additions & 32 deletions
This file was deleted.

package/utils/mtd-utils/patches/005-ubifs-utils-ubifs.h-Include-fcntl.h.patch

Lines changed: 0 additions & 45 deletions
This file was deleted.

package/utils/mtd-utils/patches/006-ubifs-utils-journal-Include-sys-stat.h.patch

Lines changed: 0 additions & 33 deletions
This file was deleted.

package/utils/mtd-utils/patches/007-ubifs-utils-extract_files-Include-linux-limits.h.patch

Lines changed: 0 additions & 33 deletions
This file was deleted.

package/utils/mtd-utils/patches/100-Remove-ubifs-test-builds.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ https://patchwork.ozlabs.org/project/linux-mtd/patch/20250220112554.2150046-1-m.
2020

2121
--- a/Makefile.am
2222
+++ b/Makefile.am
23-
@@ -64,7 +64,6 @@ include tests/jittertest/Makemodule.am
23+
@@ -67,7 +67,6 @@ include tests/jittertest/Makemodule.am
2424
include tests/checkfs/Makemodule.am
2525
include tests/fs-tests/Makemodule.am
2626
include tests/mtd-tests/Makemodule.am

0 commit comments

Comments
 (0)