From: Silvio Rhatto Date: Sat, 29 Jan 2022 16:15:26 +0000 (-0300) Subject: Fix: provision: initramfs: cryptsetup config X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=18a0b35d83b48a6f5136a30ddb81f32e8a882810;p=hydra.git Fix: provision: initramfs: cryptsetup config --- diff --git a/share/hydractl/provision b/share/hydractl/provision index 9ba88ce..291815d 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -646,10 +646,7 @@ EOF #if [ -e "$WORK/etc/cryptsetup-initramfs/conf-hook" ]; then # hydra_sudo_run sed -i -e 's/#CRYPTSETUP=/CRYPTSETUP=y/' $WORK/etc/cryptsetup-initramfs/conf-hook #fi - - if [ -d "$WORK/etc/initramfs-tools/hooks.d" ]; then - echo "CRYPTSETUP=y" > $WORK/etc/initramfs-tools/hooks.d/cryptsetup.conf - fi + echo "CRYPTSETUP=y" > $WORK/etc/initramfs-tools/hooks/cryptsetup.conf hydra_sudo_run chroot $WORK update-initramfs -u else