summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-10-13 16:00:59 -0400
committerAndrew Cady <d@jerkface.net>2019-10-13 16:02:21 -0400
commit49be907bacb7a2f6203fbc54a9b93ae3050f426c (patch)
treed1459f3e988883765c0ab4dff541d4ca63b4315c /src
parentfc95ad7dcd1937ed58bafd2fd2e20ec353e7ff01 (diff)
fix luksFormat for newer initramfs-tools
Diffstat (limited to 'src')
-rw-r--r--src/initrd/btrfs-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initrd/btrfs-create.sh b/src/initrd/btrfs-create.sh
index 6752ec8..f0cdf3f 100644
--- a/src/initrd/btrfs-create.sh
+++ b/src/initrd/btrfs-create.sh
@@ -292,7 +292,7 @@ init_samizdat_blockdev()
292 luks_secret >/dev/null 292 luks_secret >/dev/null
293 luks_secret | gpg2 --default-recipient-self --encrypt --armor | gpg2 --clearsign --output "$keyfile" || return 293 luks_secret | gpg2 --default-recipient-self --encrypt --armor | gpg2 --clearsign --output "$keyfile" || return
294 294
295 luks_secret | cryptsetup luksFormat "$dev" - || return 295 luks_secret | cryptsetup -v luksFormat "$dev" - || return
296 cryptsetup luksDump "$dev" >&2 296 cryptsetup luksDump "$dev" >&2
297 luks_secret | cryptsetup --key-file - luksOpen "$dev" "$cryptname" || return 297 luks_secret | cryptsetup --key-file - luksOpen "$dev" "$cryptname" || return
298 298