Commit Graph

645 Commits

Author SHA1 Message Date
github-actions[bot]
b0709876cb
Merge staging-next into staging 2024-08-01 12:01:44 +00:00
Will Fancher
2818172c0a
Merge pull request #331186 from ElvishJerricco/systemd-256.4
systemd: 256.2 -> 256.4, bootctl update regression fix
2024-07-31 12:37:04 -04:00
Tristan Ross
1a32f3f690
systemd: fix building with llvm 2024-07-30 22:09:34 -07:00
Will Fancher
89700ef3d9 systemd: 256.2 -> 256.4 2024-07-30 22:53:14 -04:00
Will Fancher
424415e756 nixos/systemd-boot: Fix 'bootctl update' regression
https://github.com/systemd/systemd/issues/33392
2024-07-30 22:53:14 -04:00
Alyssa Ross
1257f92777 pkgsMusl.systemd: fix build
Updated patches for 256.
2024-07-30 18:46:38 +02:00
Vladimír Čunát
6b370024d4
Merge #328883: systemd: re-enable bpf-framework
...into staging-next
2024-07-21 13:51:43 +02:00
Dominique Martinet
0187342e53 systemd: re-enable bpf-framework
systemd meson.build apparently didn't check properly that the option was
enabled in all code paths, so it was possible to build systemd such as
--version would have -BPF_FRAMEWORK (properly disabled in config.h) with
-Dbpf-framework=enabled.

Fix the failing check, which was `clang -target bpf` breaking with
zerocallusedregs hardening -- this is apparently a known problem as it's
disabled in quite a few other packages that mention bpf in comment above
the exception...

Link: https://github.com/systemd/systemd/pull/33793
(cherry picked from commit ef593db9ca)
2024-07-21 12:41:44 +02:00
Arian van Putten
2328731ad0 systemd: use autoPatchElfHook for dlopen dependencies 2024-07-21 06:31:42 -04:00
nikstur
d4a80b6d0c systemd: 255.6 -> 256.2 2024-07-21 06:31:37 -04:00
Arian van Putten
1017cdf9bc systemd: 255.6 -> 255.9
(cherry picked from commit 4a48f4cdf3)
2024-07-17 16:43:56 +02:00
Arian van Putten
c20f88c6f3 systemd: {pname,version} -> finalAttrs.{pname,version}
Without this patch, people overriding systemd like:
```
  systemd.package = pkgs.systemd.overrideAttrs (finalAttrs: previousAttrs: {
    version = "255.9";
    src = previousAttrs.src.override {
      rev = "v${finalAttrs.version}";
      hash = "sha256-fnMvBYyMRQrP2x//8ntGTSwoHOtFk2TQ4S5fwcsSLDU=";
    };
  });
```

would get the wrong version reported in `systemctl --version`
2024-07-16 21:30:48 +02:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Florian Klink
032c429b4b
Merge pull request #308830 from tie/systemd-macos-sandbox
systemd: fix build in macOS sandbox
2024-05-25 23:00:07 +03:00
Alyssa Ross
573aa7d7d1
Reapply "systemd: enable debug info"
This reverts commit 22b52d9c97.

Our bpftools package now contains the fix[1] for 32-bit builds that
caused this to be reverted before.

[1]: https://git.kernel.org/linus/812d8bf87678f77055b575d20636fdbbbf15edaf
2024-05-23 09:15:08 +02:00
Florian Klink
ee776dd5df
Pick #311675: fix: systemd build flag combinations
(cherry picked from commit 3a4faefddf)
2024-05-16 07:38:51 +02:00
David
e5b250b3c2
fix: systemd build flag combinations 2024-05-14 08:41:41 -06:00
github-actions[bot]
0f00113a2f
Merge staging-next into staging 2024-05-13 12:01:49 +00:00
Alyssa Ross
0fa8227be4
pkgsStatic.systemd: don't mark broken
It's already (more accurately and usefully) marked unsupported.  It's
redundant to also mark it broken in the same case.
2024-05-13 10:19:34 +02:00
Florian Klink
0573f77793
Merge pull request #310512 from FriedrichAltheide/systemd-255.6
systemd: 255.4 -> 255.6
2024-05-12 18:40:34 +02:00
Alyssa Ross
51be8cec20
systemd: fix disabling seccomp
Fixes cross-compiling systemdMinimal for riscv32-linux.
2024-05-10 11:49:27 +02:00
Friedrich Altheide
8128cdff47 systemd: 255.4 -> 255.6 2024-05-10 09:05:58 +02:00
Ivan Trubach
09cb8b1c81 systemd: fix build in macOS sandbox 2024-05-03 18:22:11 +03:00
Vladimír Čunát
24d4f2cd52
Merge branch 'staging' into staging-next
Conflicts (tried to quickly resolve somehow, checked eval):
	pkgs/development/python-modules/apsw/default.nix
	pkgs/development/python-modules/mido/default.nix
	pkgs/development/python-modules/pytest-bdd/default.nix
	pkgs/development/python-modules/sparse/default.nix
2024-04-12 07:06:54 +02:00
Moritz Sanft
c9ba5a3003
systemd: make installation of kernel-install configurable 2024-04-11 17:11:12 +02:00
dramforever
107fb70390 systemd: Fix build on MIPS
Enable the existing patch for isMips.
2024-04-09 23:28:40 +08:00
Siddhartha
efab38f765 systemd: 255.2 -> 255.4 2024-03-18 21:35:29 -04:00
Will Fancher
f1731f2e28 nixos: Support systemd-gpt-auto-root 2024-03-15 18:22:04 -04:00
OPNA2608
d791de1005 systemd: Fix incorrect hash for riscv/ppc patch
error: hash mismatch in fixed-output derivation '/nix/store/qsjz5lqlp6bza8vlb6sjiwd91bdsiqjz-8040fa55a1cbc34dede3205a902095ecd26c21e3.patch.drv':
         specified: sha256-bQ7V9s6YqRVCWJHkdiFYqkNnNKjFbzDZf2orDjiYElE=
            got:    sha256-cysLY7KC+rmLNeKEE/DYTqMRqL7SSjBCRWuuZvU63zA=
2024-03-13 08:45:22 +01:00
Florian Klink
d78077d533
Merge pull request #294508 from skeuchel/riscv-systemd
systemd: fix build on riscv64 and ppc64
2024-03-10 16:13:09 +02:00
Steven Keuchel
51a023952a
systemd: fix build on riscv64 and ppc64 2024-03-10 15:08:09 +01:00
Will Fancher
f592a7ea77
Merge pull request #293720 from vkleen/fix/systemd-boot-random-seed
nixos/systemd: Only include systemd-boot-random-seed if the unit exists
2024-03-09 21:01:35 -05:00
Viktor Kleen
0aed32b9dd
nixos/systemd: Only include systemd-boot-random-seed if the unit exists
The unit file is only present if systemd was built with bootloader support.
2024-03-08 08:52:11 +00:00
Robert Scott
12970b96ed systemd: disable trivialautovarinit hardening flag
to avoid a reported performance regression
2024-02-24 12:00:11 +00:00
github-actions[bot]
229c36bdcb
Merge staging-next into staging 2024-01-28 18:01:42 +00:00
Yureka
feca0eecd1
systemd: update musl patches for v255 (#284136) 2024-01-28 14:12:00 +01:00
Anderson Torres
67643f8ec8 systemd: break too long lines of Nix code
To improve readability.
2024-01-23 22:49:26 -03:00
Anderson Torres
92dfeb7b3d systemd: rewrite comments
In order to be more readable and fit the the 80-column limit.
2024-01-23 22:49:26 -03:00
Anderson Torres
1a3a5407a0 systemd: update licensing info 2024-01-23 22:49:26 -03:00
Anderson Torres
2812d1202f systemd: add meta.longDescription
Also, get rid of nested with in meta.
2024-01-23 22:49:26 -03:00
github-actions[bot]
4dea63e421
Merge master into staging-next 2024-01-20 18:01:02 +00:00
Alyssa Ross
68b63c306a systemd: fix build for riscv32 2024-01-20 13:21:24 +01:00
nikstur
748378a3ec systemd: 254.6 -> 255.2
Removed patches:

- 0007-Fix-hwdb-paths.patch

  The directory we want seems to already be included in the list. Is there
  a reason why we want to restrict it further?

- 0010-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch

  This patch has little to do with how the meson.build file looks now. The
  new patch 0017 is the successor to this one.

- 0015-pkg-config-derive-prefix-from-prefix.patch

  This is fixed upstream. We don't need this anymore.
2024-01-17 14:13:46 +01:00
nikstur
329de0f51e systemd: remove unused bindings 2024-01-17 14:12:41 +01:00
superherointj
7ec605930b
pkgsMusl.systemd: fix build (#281323)
PR #239201 broke systemd for musl.

To make the build actually work, #278994 [not available in master yet] is also required.

Fixes: https://github.com/NixOS/nixpkgs/issues/280738

Co-authored-by: @nesteroff @yu-re-ka
2024-01-17 08:55:31 +01:00
github-actions[bot]
b877be17ac
Merge staging-next into staging 2023-12-22 12:01:42 +00:00
github-actions[bot]
6859dda947
Merge master into staging-next 2023-12-22 12:01:16 +00:00
Jared Baur
5d14747fdc
systemd: Add withBootloader to ukify assertion
Systemd fails to build with `withUkify` set to true unless
`withBootloader` is also set to true. Amend the existing assertion to
also ensure `withBootloader` is true.
2023-12-21 17:36:30 -08:00
Florian Klink
011e924109
Merge pull request #239201 from nesteroff/fix-timesync
systemd: disable NSCD when DNSSEC validation is disabled in timesyncd
2023-12-20 22:22:52 +02:00