updated zlevis-dracut to 0.2

An update to coincide with the Zlevis 2.0 release and its corresponding change in
syntax.
This commit is contained in:
nils 2025-04-05 19:22:22 +02:00
parent 5d04ea2645
commit 09a34910d6
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# Project definition # Project definition
project('zlevis-dracut', version: '0.1') project('zlevis-dracut', version: '0.2')
# Files which need to be moved # Files which need to be moved
src_files = [ src_files = [

View file

@ -15,7 +15,7 @@ zpool import -N -d /dev $_root_pool
if [ $(zpool list -H -o feature@encryption $_root_pool) = "active" ]; then if [ $(zpool list -H -o feature@encryption $_root_pool) = "active" ]; then
local _encryption_root=$(zfs get -H -o value encryptionroot $_root_vol) local _encryption_root=$(zfs get -H -o value encryptionroot $_root_vol)
if [ "$_encryption_root" != "-" ]; then if [ "$_encryption_root" != "-" ]; then
zlevis-fetch || echo "Zlevis-fetch failed!" zlevis decrypt $_root_pool || echo "Zlevis-fetch failed!"
fi fi
fi fi