]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fix: provision: initramfs: cryptsetup config
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 29 Jan 2022 16:15:26 +0000 (13:15 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 29 Jan 2022 16:15:26 +0000 (13:15 -0300)
share/hydractl/provision

index 9ba88ce1dbc29e3a852bef1507e61bf97ad67a36..291815d10f4eb79f0bcc58d7145061c9eb052c75 100755 (executable)
@@ -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