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>
31 lines
952 B
Diff
31 lines
952 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Hauke Mehrtens <hauke@hauke-m.de>
|
|
Date: Sat, 25 Oct 2025 15:38:31 +0200
|
|
Subject: Remove ubifs test builds
|
|
|
|
The build from the tar file fails with:
|
|
```
|
|
make[3]: *** No rule to make target 'tests/ubifs_tools-tests/images/good.gz', needed by 'all-am'. Stop.
|
|
```
|
|
|
|
The tar does not contain the test data files. We do not need these
|
|
tests, just deactivate them.
|
|
|
|
A new tar file created with this upstream fix should contain the missing
|
|
files:
|
|
https://patchwork.ozlabs.org/project/linux-mtd/patch/20250220112554.2150046-1-m.olbrich@pengutronix.de/
|
|
---
|
|
Makefile.am | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -67,7 +67,6 @@ include tests/jittertest/Makemodule.am
|
|
include tests/checkfs/Makemodule.am
|
|
include tests/fs-tests/Makemodule.am
|
|
include tests/mtd-tests/Makemodule.am
|
|
-include tests/ubifs_tools-tests/Makemodule.am
|
|
endif
|
|
|
|
if UNIT_TESTS
|