diff options
author | Theodore Ts'o <tytso@mit.edu> | 2022-01-03 23:48:50 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-01-03 23:54:38 -0500 |
commit | 71638cbf42521b807115d9441d8fac95240ecbd8 (patch) | |
tree | c1d43b766a475395844b42fced6280fe75cefab6 | |
parent | ddb2abd2ba1dd03f85a22afe48c599a1025f2ab0 (diff) |
Update debian/changelog and debian/patches for the 1.46.5-2 releasedebian/1.46.5-2archive/debian/1.46.5-2
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/patches/0001-tests-support-older-versions-of-timeout-in-r_corrupt | 31 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 40 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 3b6124b1..647c75b1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +e2fsprogs (1.46.5-2) unstable; urgency=medium + + * Fix build on GNU/kFreeBSD (caused by the fact that the Debian port has + an ancient version of coreutils, so the timeout program doesn't support + the -v option. + + -- Theodore Y. Ts'o <tytso@mit.edu> Mon, 03 Jan 2022 23:48:13 -0500 + e2fsprogs (1.46.5-1) unstable; urgency=medium * New upstream release diff --git a/debian/patches/0001-tests-support-older-versions-of-timeout-in-r_corrupt b/debian/patches/0001-tests-support-older-versions-of-timeout-in-r_corrupt new file mode 100644 index 00000000..f2395e8f --- /dev/null +++ b/debian/patches/0001-tests-support-older-versions-of-timeout-in-r_corrupt @@ -0,0 +1,31 @@ +From 8535250a8eeeb441cf466124cc420724935022eb Mon Sep 17 00:00:00 2001 +From: Theodore Ts'o <tytso@mit.edu> +Date: Mon, 3 Jan 2022 22:45:37 -0500 +Subject: [PATCH] tests: support older versions of timeout in r_corrupt_fs + +Older versions of the timeout program in coreutils don't support the +-v option. (This is apparently still in use in the GNU/FreeBSD Debain +port since coreutils hasn't built successfully since Coreutils version +8.28.) + +Signed-off-by: Theodore Ts'o <tytso@mit.edu> +--- + tests/r_corrupt_fs/script | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/r_corrupt_fs/script b/tests/r_corrupt_fs/script +index 08af91ed..f6d3a89d 100644 +--- a/tests/r_corrupt_fs/script ++++ b/tests/r_corrupt_fs/script +@@ -17,7 +17,7 @@ $MKE2FS -q -F -t ext4 -o Linux -b 1024 $TMPFILE 32M >> $OUT.new 2>&1 + echo debugfs -w -R \"set_bg 1 free_blocks_count 65536\" /tmp/foo.img >> $OUT.new + $DEBUGFS -w -R "set_bg 1 free_blocks_count 65536" $TMPFILE > /dev/null 2>&1 + +-if type timeout > /dev/null 2>&1 ; then ++if timeout -v 1s true > /dev/null 2>&1 ; then + TIMEOUT="timeout -v 30s" + else + TIMEOUT= +-- +2.31.0 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..227144f5 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-tests-support-older-versions-of-timeout-in-r_corrupt |