mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Merge pull request #62838 from mayflower/fix/cryptsetup-kernel-crypto
cryptsetup: enable kernel crypto api support again
This commit is contained in:
commit
9b2ee2c057
@ -438,6 +438,7 @@ in
|
|||||||
default =
|
default =
|
||||||
[ "aes" "aes_generic" "blowfish" "twofish"
|
[ "aes" "aes_generic" "blowfish" "twofish"
|
||||||
"serpent" "cbc" "xts" "lrw" "sha1" "sha256" "sha512"
|
"serpent" "cbc" "xts" "lrw" "sha1" "sha256" "sha512"
|
||||||
|
"af_alg" "algif_skcipher"
|
||||||
|
|
||||||
(if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then "aes_x86_64" else "aes_i586")
|
(if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then "aes_x86_64" else "aes_i586")
|
||||||
];
|
];
|
||||||
|
@ -273,7 +273,7 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
makeLuksRootTest = name: luksFormatOpts: makeInstallerTest "luksroot-format2"
|
makeLuksRootTest = name: luksFormatOpts: makeInstallerTest name
|
||||||
{ createPartitions = ''
|
{ createPartitions = ''
|
||||||
$machine->succeed(
|
$machine->succeed(
|
||||||
"flock /dev/vda parted --script /dev/vda -- mklabel msdos"
|
"flock /dev/vda parted --script /dev/vda -- mklabel msdos"
|
||||||
|
@ -32,7 +32,6 @@ stdenv.mkDerivation rec {
|
|||||||
NIX_LDFLAGS = "-lgcc_s";
|
NIX_LDFLAGS = "-lgcc_s";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-kernel_crypto"
|
|
||||||
"--enable-cryptsetup-reencrypt"
|
"--enable-cryptsetup-reencrypt"
|
||||||
"--with-crypto_backend=openssl"
|
"--with-crypto_backend=openssl"
|
||||||
] ++ stdenv.lib.optional enablePython "--enable-python";
|
] ++ stdenv.lib.optional enablePython "--enable-python";
|
||||||
|
Loading…
Reference in New Issue
Block a user