aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md16
-rw-r--r--README.txt11
-rw-r--r--configure.ac2
-rw-r--r--misc-utils/fectest.c2
4 files changed, 23 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e457d9..b69ea3b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
+## [2.2.0] - 2024-03-29
+### Added
+ - flashcp: Add write last option
+ - flash_erase: Add an option for JFFS2 cleanmarker size
+ - ubiattach: Add disable fastmap option
+ - ubiattach: Add option to reserve peb pool for fastmap
+ - support building without zlib
+ - CHANGELOG & README files
+
+### Fixed
+ - jffs2dump: check return value of lseek
+ - mkfs.ubifs: fix xattr scanning for builds with selinux support
+
+### Changed
+ - overhaul dependency handling in the build system
+
## [2.1.6] - 2023-08-30
### Added
- flash_speed: Measure read while write latency
diff --git a/README.txt b/README.txt
index 6ee0136..4311698 100644
--- a/README.txt
+++ b/README.txt
@@ -96,7 +96,7 @@
For compiling mtd-utils, you need development packages for the following
dependency libraries:
- zlib (required by mkfs.ubifs, mkfs.jffs2
+ zlib (optional dependency for mkfs.ubifs, mkfs.jffs2)
lzo2 (optional dependency for mkfs.ubifs, mkfs.jffs2)
zstd (optional dependency for mkfs.ubifs)
libuuid* (required by mkfs.ubifs)
@@ -106,15 +106,14 @@
* this library is part of util-linux, aka util-linux-ng and some distributions
package it under that name.
- If you don't explicitly disable xattr support, mkfs.ubifs and mkfs.jffs2
- require the "sys/xattr.h" and "sys/acl.h" header files, depending on your
- Distributions, those may be packaged as part of libattr and libacl
+ For xattr & acl support in mkfs.ubifs and mkfs.jffs2, the build system looks
+ for the "sys/xattr.h" and "sys/acl.h" header files. Depending on your
+ distributions, those may be packaged as part of libattr and libacl
respectively.
Please note that the mkfs tools are optional and can be disabled via a
- configure flag. This should also remove the need for the dependency
- libraries.
+ configure flag. This should also remove any library dependencies.
How to contribute
diff --git a/configure.ac b/configure.ac
index f8f2ea2..cf3a959 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ([2.60])
-m4_define([RELEASE], 2.1.6)
+m4_define([RELEASE], 2.2.0)
AC_INIT([mtd-utils], [RELEASE], [linux-mtd@lists.infradead.org], mtd-utils)
diff --git a/misc-utils/fectest.c b/misc-utils/fectest.c
index eb1d33e..f560f2b 100644
--- a/misc-utils/fectest.c
+++ b/misc-utils/fectest.c
@@ -87,6 +87,6 @@ int main(void)
exit(1);
}
- printf("Decoded in %ld.%06lds\n", now.tv_sec, now.tv_usec);
+ printf("Decoded in %ld.%06lds\n", (long)now.tv_sec, (long)now.tv_usec);
return 0;
}