Commit Graph

539 Commits

Author SHA1 Message Date
Florian Klink
22b52d9c97 Revert "systemd: enable debug info"
This reverts commit 4f92bea34a.

It breaks the systemd build on 32 bit architectures, as written in
https://github.com/NixOS/nixpkgs/pull/272009#issuecomment-1846205807.

Let's quickly revert this until we can work on a more fine-grained
introduction, or fix separateDebugInfo for all platforms.
2023-12-08 18:28:03 +02:00
Alyssa Ross
4f92bea34a systemd: enable debug info 2023-12-05 11:03:41 +01:00
github-actions[bot]
ad369759ce
Merge staging-next into staging 2023-11-28 00:02:41 +00:00
Will Fancher
927a9655a2
Merge pull request #262952 from JulienMalka/systemd-options
systemd: add withLogTrace option
2023-11-27 17:19:03 -05:00
Artturin
40eff710af Revert "Systemd package rewrite"
Reverts NixOS/nixpkgs#269620

- eab0837b68 caused a mass-rebuild on master

- self-merge on a critical package without review and not waiting for the active owner team

Below are the reverts of the commits from that PR

Revert "systemd: migrate to by-name"

This reverts commit 33d2a40d67.

Revert "systemd: add meta.longDescription"

This reverts commit 7c588d141d.

Revert "systemd: cosmetic rewording of code"

This reverts commit d91b8d9fcb.

Revert "systemd: cosmetic rewording of comments"

This reverts commit bc563998c0.

Revert "systemd: remove some redundancy on mesonFlags"

This reverts commit eab0837b68.

Revert "systemd: use  lib.meson* functions"

This reverts commit 1129756b1a.
2023-11-26 03:12:04 +02:00
Anderson Torres
33d2a40d67 systemd: migrate to by-name 2023-11-25 20:11:32 -03:00
Anderson Torres
7c588d141d systemd: add meta.longDescription 2023-11-25 20:11:32 -03:00
Anderson Torres
d91b8d9fcb systemd: cosmetic rewording of code 2023-11-25 20:11:32 -03:00
Anderson Torres
bc563998c0 systemd: cosmetic rewording of comments 2023-11-25 20:11:32 -03:00
Anderson Torres
eab0837b68 systemd: remove some redundancy on mesonFlags 2023-11-25 20:11:32 -03:00
Anderson Torres
1129756b1a systemd: use lib.meson* functions 2023-11-25 20:11:32 -03:00
Lily Foster
f4b833961b
systemd: 254.3 -> 254.6 2023-11-16 07:21:26 -05:00
Weijia Wang
8012034692 Merge branch 'staging-next' into staging 2023-11-07 03:41:49 +01:00
github-actions[bot]
da4d99e016
Merge master into staging-next 2023-11-05 06:00:55 +00:00
Jörg Thalheim
4af510c7ae treewide: drop myself from packages that I don't activily maintain 2023-11-05 05:43:35 +01:00
nikstur
3b92f76b54 systemd: enable sysusers by default 2023-11-01 20:45:19 +01:00
Vladimír Čunát
d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
Florian Klink
90727298f2
Merge pull request #262598 from vikanezrimaya/systemd-properly-wrap-ukify
systemd: properly wrap ukify by prefixing instead of overwriting PATH
2023-10-25 18:07:29 +03:00
Julien Malka
258d76f551
systemd: add withLogTrace option 2023-10-23 16:46:12 +02:00
Julian Stecklina
79f6045006 systemd: allow building only the libraries
systemdMinimal is used to break the dependency cycle of libraries
required by systemd on itself. The problem is that this means that
every system closure will have two sets of systemd binaries in the
closure. This wastes around 10 MiB in every system closure.

Add the option to systemd to only ship libudev and libsystemd instead
of a whole systemd installation.
2023-10-23 01:46:26 +02:00
Vika
afe9745edb systemd: properly wrap ukify by prefixing instead of overwriting PATH 2023-10-21 21:58:14 +03:00
github-actions[bot]
e1565d6a86
Merge staging-next into staging 2023-10-09 18:01:36 +00:00
github-actions[bot]
75d4639be3
Merge master into staging-next 2023-10-09 18:00:59 +00:00
Ben Wolsieffer
1c2425ac78 systemd: disable bootloader by default if EFI is disabled
If EFI is disabled, either because it is not available on the platform or
because the user has manually disabled it, automatically disable building
systemd-boot. The "withBootloader -> withEfi" assertion is maintained in
case someone manually tries to enable the bootloader without EFI support.

This fixes evaluation on platforms without EFI support.
2023-10-06 23:49:07 -04:00
misuzu
7646ffb8bd systemd: fix RuntimeError issue when building for armv7l and riscv64 2023-10-04 11:40:55 +03:00
github-actions[bot]
50751b0602
Merge master into staging-next 2023-09-29 18:00:55 +00:00
Yureka
ed895961d1
systemd: fix build on musl (#257928) 2023-09-29 16:42:41 +02:00
Ryan Lahfa
2ab7fc113d Merge pull request #252766 from Ma27/systemctl-edit-runtime-suggest 2023-09-28 16:28:48 +02:00
Florian Klink
2dd4a55db0
Merge pull request #257398 from jmbaur/systemd-remove-dup
systemd: Remove duplicate meson flag for sysusers
2023-09-26 18:16:56 +03:00
Jared Baur
03d751a634
systemd: Remove duplicate meson flag for sysusers
This is being set by `withSysusers`, so don't duplicate the meson flag
with a hardcoded value.
2023-09-25 22:53:16 -07:00
nikstur
b234bbff0f systemd: re-exclude kernel-install from patchShebangs
Even though kernel-install was rewritten in C and is thus not a script
anymore that needs to be patched, there are still .install scripts in
the kernel-install directory that need to be patchd.
2023-09-14 20:44:52 +02:00
nikstur
c56ec54ba5 systemd: 254 -> 254.3 2023-09-13 12:02:41 +02:00
Raito Bezarius
97ee93da10 systemd: apply upstream patch for tmpfiles
This fixes notably the fact that /dev/zfs was not usable anymore as a user,
and potentially other things.

Tracked in systemd upstream under issue number 28653, 28765.
2023-09-13 12:02:41 +02:00
Raito Bezarius
b2aaa2bfd8 systemd: make withPasswordQuality always disabled
It is not possible currently to compile systemd with it because passwdqc is not packaged.
2023-09-13 12:02:40 +02:00
Raito Bezarius
2696e44c42 systemd: make systemd-sysupdate optional via withSysupdate
Disable it in `systemdMinimal`
2023-09-13 12:02:40 +02:00
Raito Bezarius
1ea060a2b8 systemd: introduce withBootloader for sd-boot, sd-stub, sd-addon
Instead of relying blindly on `withEfi` which may not always be relevant.
2023-09-13 12:02:40 +02:00
Raito Bezarius
202da6443b systemd: 254-rc3 -> 254 2023-09-13 12:02:40 +02:00
Raito Bezarius
bf993ea3cb systemd: 254-rc2 -> 254-rc3
739bbc5869
2023-09-13 12:02:40 +02:00
Raito Bezarius
ded7958b99 systemd: 254-rc1 -> 254-rc2 2023-09-13 12:02:39 +02:00
Raito Bezarius
fe6e299381 systemd: 253.5 -> 254-rc1
This is an early preparation for systemd v254 which causes some patch reflows
and EFI-related cleanups to their new build system with elf2efi, requiring pyelftools
as a Python packge.
2023-09-13 12:02:39 +02:00
Raito Bezarius
18b500811c systemdMinimal: expose withRepart flag and disable it
systemd-repart relies on cryptsetup to perform LUKS operations,
therefore, it's not suitable for systemdMinimal.
2023-09-13 12:02:39 +02:00
Paul Meyer
5dccbfa32d systemd: add firstboot and sysusers
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-08-29 08:35:54 +02:00
Yureka
85bd250fff pkgsMusl.systemdMinimal: fix build
remove patch that has been applied in systemd 253.6
2023-07-31 03:10:10 +02:00
Artturi
97077de977
Merge pull request #244531 from nikstur/systemd-fix-ukify-for-cross 2023-07-30 23:02:47 +03:00
nikstur
dc42ccec87 systemd: fix ukify (to cross compile) 2023-07-21 13:47:22 +02:00
github-actions[bot]
61505962dc
Merge master into staging-next 2023-07-21 00:02:16 +00:00
Andrew Marshall
3d774b4453 util-linux: Fix build on non-Linux
Build logs show:

> configure: WARNING: non-linux system; not building mount
> configure: WARNING: non-linux system; not building swapon

So skip these on non-Linux

Using getOutput prevents eval failures on other platforms.
Things should stay eval'able with NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

Co-authored-by: Artturin <Artturin@artturin.com>
2023-07-20 22:03:15 +03:00
Arian van Putten
9b0ac38252 systemd: 253.5 -> 253.6
Allows us to drop a patch

Also fixes systemd-repart being able to run in nix-build
2023-07-13 12:32:43 +02:00
Will Fancher
9e3415e8db
Merge pull request #236463 from DeterminateSystems/util-linux-split
util-linux: split mount, login and swap utils into their own outputs
2023-06-28 14:23:45 -04:00
Erik Arvstedt
002b6f84a6
systemd: fix services not stopping
Fixes #237591
2023-06-20 20:43:14 +02:00