mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
systemdMinimal: expose withRepart
flag and disable it
systemd-repart relies on cryptsetup to perform LUKS operations, therefore, it's not suitable for systemdMinimal.
This commit is contained in:
parent
749e19a64f
commit
18b500811c
|
@ -92,6 +92,7 @@
|
|||
, withCompression ? true # adds bzip2, lz4, xz and zstd
|
||||
, withCoredump ? true
|
||||
, withCryptsetup ? true
|
||||
, withRepart ? true
|
||||
, withDocumentation ? true
|
||||
, withEfi ? stdenv.hostPlatform.isEfi
|
||||
, withFido2 ? true
|
||||
|
@ -146,6 +147,7 @@ assert withCoredump -> withCompression;
|
|||
assert withHomed -> withCryptsetup;
|
||||
assert withHomed -> withPam;
|
||||
assert withUkify -> withEfi;
|
||||
assert withRepart -> withCryptsetup;
|
||||
|
||||
let
|
||||
wantCurl = withRemote || withImportd;
|
||||
|
@ -498,6 +500,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-Dlibidn2=${lib.boolToString withLibidn2}"
|
||||
"-Dfirstboot=${lib.boolToString withFirstboot}"
|
||||
"-Dsysusers=${lib.boolToString withSysusers}"
|
||||
"-Drepart=${lib.boolToString withRepart}"
|
||||
"-Dquotacheck=false"
|
||||
"-Dldconfig=false"
|
||||
"-Dsmack=true"
|
||||
|
|
|
@ -28973,6 +28973,7 @@ with pkgs;
|
|||
withCompression = false;
|
||||
withCoredump = false;
|
||||
withCryptsetup = false;
|
||||
withRepart = false;
|
||||
withDocumentation = false;
|
||||
withEfi = false;
|
||||
withFido2 = false;
|
||||
|
|
Loading…
Reference in a new issue