luksmeta/0002-Force-creation-of-LUKS1-containers-in-test-suite.patch

28 lines
779 B
Diff
Raw Permalink Normal View History

From 768e926ac640f422f81cf5e7578015188751b028 Mon Sep 17 00:00:00 2001
From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date: Sat, 28 Sep 2019 13:24:11 +0200
Subject: [PATCH 2/3] Force creation of LUKS1 containers in test suite
2019-09-30 11:03:02 -04:00
Cryptsetup defaults to LUKS2 since version 2.1, make sure to create
LUKS1 containers instead by using the "--type luks1" argument.
2019-09-30 11:03:02 -04:00
---
test-luksmeta | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test-luksmeta b/test-luksmeta
index fd17ead..f1e8b2e 100755
--- a/test-luksmeta
+++ b/test-luksmeta
@@ -11,7 +11,7 @@ function onexit() {
trap 'onexit' EXIT
truncate -s 4M $tmp
-echo -n foo | cryptsetup luksFormat $tmp -
+echo -n foo | cryptsetup luksFormat --type luks1 $tmp -
! ./luksmeta test -d $tmp
--
1.8.3.1
2019-09-30 11:03:02 -04:00