aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-29 13:15:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-29 13:15:26 -0300
commit18a0b35d83b48a6f5136a30ddb81f32e8a882810 (patch)
tree6e06ecb24fb95d6039315962bcf042c1658f176e /share/hydractl/provision
parent26e47b7e67bab62cda19791691f9c7fd73384100 (diff)
downloadhydra-18a0b35d83b48a6f5136a30ddb81f32e8a882810.tar.gz
hydra-18a0b35d83b48a6f5136a30ddb81f32e8a882810.tar.bz2
Fix: provision: initramfs: cryptsetup config
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision5
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