Skip to content

Commit

Permalink
systemd: disable dependencies for minimal build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
filakhtov committed Mar 8, 2023
1 parent 3be2b59 commit 38bdc13
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -26892,14 +26894,17 @@ with pkgs;
withHomed = false;
withHwdb = false;
withImportd = false;
withKmod = false;
withLibBPF = false;
withLibidn2 = false;
withLocaled = false;
withLogind = false;
withMachined = false;
withNetworkd = false;
withNss = false;
withOomd = false;
withPCRE2 = false;
withPam = false;
withPolkit = false;
withPortabled = false;
withRemote = false;
Expand All @@ -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;
};


Expand Down

0 comments on commit 38bdc13

Please sign in to comment.