Merge pull request #258373 from misuzu/systemd-fix

systemd: fix RuntimeError issue when building for armv7l and riscv64

authored by Florian Klink and committed by GitHub 1550a58e 31a4c3f2

+8
+8
pkgs/os-specific/linux/systemd/default.nix
··· 202 202 ./0017-core-don-t-taint-on-unmerged-usr.patch 203 203 ./0018-tpm2_context_init-fix-driver-name-checking.patch 204 204 ./0019-systemctl-edit-suggest-systemdctl-edit-runtime-on-sy.patch 205 + 206 + # Fix for `RuntimeError: ELF .dynamic section is missing.` 207 + # https://github.com/systemd/systemd/issues/29381 208 + # https://github.com/systemd/systemd/pull/29392 209 + (fetchpatch { 210 + url = "https://github.com/systemd/systemd/commit/cecbb162a3134b43d2ca160e13198c73ff34c3ef.patch"; 211 + hash = "sha256-hWpUosTDA18mYm5nIb9KnjwOlnzbEHgzha/WpyHoC54="; 212 + }) 205 213 ] ++ lib.optional stdenv.hostPlatform.isMusl ( 206 214 let 207 215 oe-core = fetchzip {