Unverified Commit 38bdc13b authored by Garry Filakhtov's avatar Garry Filakhtov
Browse files

systemd: disable dependencies for minimal build

The `systemdMinimal` build is used purely for Udev and therefore does
not require all the extra dependencies that are needed for normal
operation. As more flags were exposed to allow disabling additional
opional dependencies the `systemdMinimal` will now take advantage of
those.
parent 3be2b599
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -26880,8 +26880,10 @@ with pkgs;
  };
  systemdMinimal = systemd.override {
    pname = "systemd-minimal";
    withAcl = false;
    withAnalyze = false;
    withApparmor = false;
    withAudit = false;
    withCompression = false;
    withCoredump = false;
    withCryptsetup = false;
@@ -26892,7 +26894,9 @@ with pkgs;
    withHomed = false;
    withHwdb = false;
    withImportd = false;
    withKmod = false;
    withLibBPF = false;
    withLibidn2 = false;
    withLocaled = false;
    withLogind = false;
    withMachined = false;
@@ -26900,6 +26904,7 @@ with pkgs;
    withNss = false;
    withOomd = false;
    withPCRE2 = false;
    withPam = false;
    withPolkit = false;
    withPortabled = false;
    withRemote = false;
@@ -26912,13 +26917,17 @@ with pkgs;
  };
  systemdStage1 = systemdMinimal.override {
    pname = "systemd-stage-1";
    withAcl = true;
    withCryptsetup = true;
    withFido2 = true;
    withKmod = true;
    withPam = true;
    withTpm2Tss = true;
  };
  systemdStage1Network = systemdStage1.override {
    pname = "systemd-stage-1-network";
    withNetworkd = true;
    withLibidn2 = true;
  };