Commit Graph

657 Commits

Author SHA1 Message Date
Emily
72deeb8efb
Revert "systemd: revert boot-breaking systemd-boot change"
This was incorporated upstream in v256.8 as
<a9d9db7f4e>.

This reverts commit 63ce4665b2.

Fixes: 6fc6e7bce8
(cherry picked from commit 19853b7953)
(cherry picked from commit 9f685aba06)
2024-11-30 15:11:10 +01:00
Josh Hoffer
17738b2648
systemd: 256.7 -> 256.8
(cherry picked from commit 6fc6e7bce8)
(cherry picked from commit 30bda35f7a)
2024-11-30 15:11:09 +01:00
Alyssa Ross
df7b79ae5a
systemd: revert boot-breaking systemd-boot change
Fixes boot for me.

Closes: https://github.com/NixOS/nixpkgs/pull/355284
(cherry picked from commit 63ce4665b2)
(cherry picked from commit 91ea63fc21)
2024-11-30 15:11:08 +01:00
Martin Weinelt
db13b6d4c4 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/mlflow/default.nix
- pkgs/development/python-modules/napari/default.nix
2024-10-13 15:36:55 +02:00
Alyssa Ross
b816a99cea systemd.meta.pkgConfigModules: init 2024-10-13 11:49:07 +02:00
Jared Baur
66f78a9303
systemd: 256.6 -> 256.7 2024-10-08 08:54:48 -07:00
Hubert Jasudowicz
69948ad602 systemd: Disable shadowstack
Similarly to zerocallusedregs, it breaks clang -target bpf calls.
2024-09-24 21:57:17 +02:00
github-actions[bot]
952947bdf8
Merge staging-next into staging 2024-09-15 18:04:54 +00:00
Alyssa Ross
fc402c2ab8 systemd: fix building for musl with GCC 14 2024-09-15 14:56:51 +02:00
Jared Baur
5cd6d4ec03
systemd: 256.4 -> 256.6 2024-09-11 08:19:42 -07:00
Alyssa Ross
e47b1f4578
systemd: be explicit about architecture support
systemd is not portable across all architectures.  It will only built
for architectures it recognises.  Listing them explicitly means
availableOn checks will work right for unsupported architectures, in
the way that's easiest to keep up to date as it can easily be compared
to the list in systemd's source code.
2024-09-01 12:15:03 +02:00
squalus
0a3ed67ff6
autoPatchelfHook: add keep_libc flag (#332617)
* autoPatchelfHook: add keep_libc flag

- Add keep_libc flag to disable the default libc handling. Intended
  to be used by systemd.
- Add autoPatchelfFlags to autoPatchelfHook for passing arguments to
  the autoPatchelf script

This reverts part of the change made in #307068 / 80be926.

Fixes #332533
2024-08-14 02:54:27 -04:00
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