diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-01-29 13:15:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-01-29 13:15:26 -0300 |
commit | 18a0b35d83b48a6f5136a30ddb81f32e8a882810 (patch) | |
tree | 6e06ecb24fb95d6039315962bcf042c1658f176e | |
parent | 26e47b7e67bab62cda19791691f9c7fd73384100 (diff) | |
download | hydra-18a0b35d83b48a6f5136a30ddb81f32e8a882810.tar.gz hydra-18a0b35d83b48a6f5136a30ddb81f32e8a882810.tar.bz2 |
Fix: provision: initramfs: cryptsetup config
-rwxr-xr-x | share/hydractl/provision | 5 |
1 files changed, 1 insertions, 4 deletions
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 |