From ab0f0709b876831ded1a9a13f2c952d19a4cc693 Mon Sep 17 00:00:00 2001 From: nils Date: Sat, 5 Apr 2025 19:22:22 +0200 Subject: [PATCH] updated zlevis-dracut to 0.2 An update to coincide with the Zlevis 2.0 release and its corresponding change in syntax. --- meson.build | 2 +- zlevis.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index f53fd90..9f0a1aa 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ # Project definition -project('zlevis-dracut', version: '0.1') +project('zlevis-dracut', version: '0.2') # Files which need to be moved src_files = [ diff --git a/zlevis.sh b/zlevis.sh index 13ea3c8..b7afa37 100755 --- a/zlevis.sh +++ b/zlevis.sh @@ -15,7 +15,7 @@ zpool import -N -d /dev $_root_pool if [ $(zpool list -H -o feature@encryption $_root_pool) = "active" ]; then local _encryption_root=$(zfs get -H -o value encryptionroot $_root_vol) if [ "$_encryption_root" != "-" ]; then - zlevis-fetch || echo "Zlevis-fetch failed!" + zlevis decrypt $_root_pool || echo "Zlevis-fetch failed!" fi fi