File: 1569669851.v9-3-gaf81262.force-creation-of-luks1-containers-in-test-suite.patch

package info (click to toggle)
luksmeta 9-4%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 1,652 kB
  • sloc: sh: 4,461; ansic: 2,188; makefile: 88
file content (19 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Subject: Force creation of LUKS1 containers in test suite
Origin: v9-3-gaf81262 <https://github.com/latchset/luksmeta/commit/v9-3-gaf81262>
Upstream-Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date: Sat Sep 28 13:24:11 2019 +0200

    Cryptsetup defaults to LUKS2 since version 2.1, make sure to create
    LUKS1 containers instead by using the "--type luks1" argument.

--- a/test-luksmeta
+++ b/test-luksmeta
@@ -11,7 +11,7 @@
 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