remove -k session and keyctl

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-14 18:28:42 -06:00
parent ba5caf7563
commit d47fb023e6

View file

@ -139,8 +139,7 @@ in
# but uses a key file from the USB stick instead of systemd-ask-password. # but uses a key file from the USB stick instead of systemd-ask-password.
script = '' script = ''
echo "Using test password..." echo "Using test password..."
${pkgs.keyutils}/bin/keyctl link @u @s echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock "${PRIMARY}"
echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock -k session "${PRIMARY}"
echo "bcachefs unlock successful for ${PRIMARY}" echo "bcachefs unlock successful for ${PRIMARY}"
''; '';