A System and Service Manager
Go to file
Daan De Meyer 3169218ae9 Always build ukify package
Even on non-uefi architectures, ukify can be used to build UKIs for
UEFI images. For example, mkosi can use it to build UKIs on s390x.
To enable this use case, let's always build ukify, but with a conditional
dependency on systemd-boot only on arches that support UEFI.

(cherry picked from commit a67221c3f0d0b81b9b5b3230a71d09044342f1a4)

Resolves: RHEL-52634
2024-08-30 09:55:28 +02:00
.fmf Add gating configuration for C10S/RHEL10 2024-07-01 14:57:42 +02:00
.abignore rpminspect: rename config file for rpminspect 2023-09-19 09:27:44 +02:00
.gitignore Add script to mail inactive maintainers 2021-02-11 13:08:32 +01:00
.zuul.yaml zuul: adjust config 2023-09-19 09:27:54 +02:00
10-map-count.conf Increase vm.max_map_count 2023-06-02 18:51:48 +02:00
10-oomd-defaults.conf Increase oomd user memory pressure limit to 50% for 20s (#1941170) 2021-03-30 12:11:37 +02:00
10-oomd-per-slice-defaults.conf Raise ManagedOOMMemoryPressureLimit from 50% to 80% 2023-05-11 18:46:17 +00:00
20-yama-ptrace.conf Add example file with yama config 2015-07-05 22:52:35 -04:00
98-default-mac-none.link fix comment instructions for 98-default-mac-none.link 2023-02-21 14:51:35 +00:00
0001-Create-CNAME.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0002-man-systemd-reorder-content-a-bit.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0003-hostnamed-don-t-allow-hostnamed-to-exit-on-idle-if-v.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0004-sd-dhcp-server-clear-buffer-before-receive.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0005-rules-Limit-the-number-of-device-units-generated-for.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0006-strbuf-use-GREEDY_REALLOC-to-grow-the-buffer.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0007-tpm2-setup-Don-t-fail-if-we-can-t-access-the-TPM-due.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0008-resolved-permit-dnssec-rrtype-questions-when-we-aren.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0009-repart-Use-crypt_reencrypt_run-if-available.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0010-test-dump-a-simple-summary-at-the-end-of-TEST-02-UNI.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0011-repart-Use-CRYPT_ACTIVATE_PRIVATE.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0012-NEWS-note-that-new-stable-releases-will-be-in-the-ma.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0013-shell-completion-only-offer-devices-for-completion.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0014-CODING_STYLE-document-reterr_-return-parameters.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0015-analyze-show-pcrs-also-in-sha384-bank.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0016-fundamental-declare-flex-array-updated-for-gcc15-and.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0017-man-add-a-bit-of-a-warning-to-systemd-tmpfiles-purge.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0018-man-units-drop-temporary-from-description-of-systemd.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0019-mkosi-enable-unprivileged-user-ns-for-integration-te.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0020-mkosi-use-ports.ubuntu.com-for-non-x86-backports.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0021-mkosi-install-EFI-packages-only-on-EFI-architectures.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0022-test-check-the-skip-condition-before-installing-addi.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0023-test-drop-unneeded-firmware-uefi-setting.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0024-test-drop-obsolete-comment.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0025-test-support-TEST_NO_KVM.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0026-test-support-TEST_NO_QEMU-in-mkosi-integration-wrapp.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0027-test-use-auto-instead-of-uefi-for-automated-fallback.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0028-core-service-fix-accept-socket-deserialization.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0029-test-network-mention-that-the-captive-portal-option-.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0030-CI-disable-secure-boot-in-mkosi-GHA-runs.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0031-mkosi-bump-to-latest.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0032-NEWS-fix-typo.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0033-install-allow-removing-symlinks-even-for-units-that-.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0034-tmpfiles-honour-dry-run-when-removing-directories.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0035-tmpfiles-insist-on-at-least-one-configuration-file-b.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0036-tmpfiles-move-purge-to-command-section-in-help-text-.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0037-mkosi-restrict-noble-backports-to-noble-builds.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0038-repart-fix-memory-leak.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0039-logs-show-do-not-use-_SOURCE_MONOTONIC_TIMESTAMP-fie.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0040-ci-update-workflows-to-run-on-source-git-setup.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0041-ci-setup-source-git-automation.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0042-ci-deploy-systemd-man-to-GitHub-Pages.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0043-ci-reconfigure-Packit-for-RHEL-10.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0044-ci-allow-to-pass-parameters-together-with-rhel-only-.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0045-journal-again-create-user-journals-for-users-with-hi.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0046-tmpfiles-make-purge-hard-to-mis-use.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0047-fedora-use-system-auth-in-pam-systemd-user.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0048-net-naming-scheme-start-rhel10-naming-and-include-rh.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0049-rules-copy-40-redhat.rules-from-RHEL-9.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0050-logind-set-RemoveIPC-to-false-by-default.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0051-tmpfiles-don-t-create-resolv.conf-stub-resolv.conf-s.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0052-rc-local-order-after-network-online.target.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0053-random-util-increase-random-seed-size-to-1024.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0054-journal-don-t-enable-systemd-journald-audit.socket-b.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0055-journald.conf-don-t-touch-current-audit-settings.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0056-rules-add-elevator-kernel-command-line-parameter.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0057-pid1-bump-DefaultTasksMax-to-80-of-the-kernel-pid.ma.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0058-udev-net-setup-link-change-the-default-MACAddressPol.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0059-core-decrease-log-level-of-messages-about-use-of-Kil.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0060-meson-rename-libbasic-to-libbasic_static.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0061-meson-build-libsystemd-core-via-an-intermediate-stat.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0062-meson-add-option-to-build-systemd-executor-staticall.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0063-taint-remove-unmerged-bin.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0064-presets-remove-resolved.patch systemd-256-3 2024-07-08 17:34:18 +02:00
0065-doc-add-downstream-CONTRIBUTING-document.patch systemd-256-6 2024-07-19 09:20:28 +02:00
0066-ci-allow-policy-as-rhel-only-keyword.patch systemd-256-6 2024-07-19 09:20:28 +02:00
0067-ci-run-mkosi-test-only-for-Fedora-and-CentOS-Stream.patch systemd-256-6 2024-07-19 09:20:28 +02:00
0068-taint-remove-unused-variable-usr_sbin.patch systemd-256-6 2024-07-19 09:20:28 +02:00
0069-packit-drop-the-libarchive-workaround.patch systemd-256-6 2024-07-19 09:20:28 +02:00
0070-packit-drop-the-dependency-on-python3-zstd.patch systemd-256-6 2024-07-19 09:20:28 +02:00
0071-coredump-by-default-process-and-store-core-files-up-.patch systemd-256-6 2024-07-19 09:20:28 +02:00
0072-Avoid-tmp-being-mounted-as-tmpfs-without-the-user-s-.patch systemd-256-8 2024-07-23 14:39:36 +02:00
0073-unit-don-t-add-Requires-for-tmp.mount.patch systemd-256-8 2024-07-23 14:39:36 +02:00
0074-units-add-Install-section-to-tmp.mount.patch systemd-256-8 2024-07-23 14:39:36 +02:00
0075-units-don-t-enable-tmp.mount-statically-in-local-fs..patch systemd-256-8 2024-07-23 14:39:36 +02:00
0076-netif-naming-scheme-add-rhel-9.5-scheme.patch systemd-256-12 2024-08-15 12:50:22 +02:00
0077-udev-builtin-net_id-use-firmware_node-sun-for-ID_NET.patch systemd-256-12 2024-08-15 12:50:22 +02:00
0078-man-net-naming-scheme-add-missing-period.patch systemd-256-12 2024-08-15 12:50:22 +02:00
0079-Revert-packit-drop-the-dependency-on-python3-zstd.patch systemd-256-12 2024-08-15 12:50:22 +02:00
0080-systemctl-do-not-try-to-acquire-triggering-units-for.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0081-core-unit-add-one-assertion-for-u-manager.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0082-core-service-destroy-runtime-data-when-Type-oneshot-.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0083-cgroup-util-Ignore-kernel-threads-in-cg_kill_items.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0084-cgroup-util-Don-t-try-to-open-pidfd-for-kernel-threa.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0085-cgroup-util-fix-typo.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0086-netif-naming-scheme-rename-rhel-10.0-to-rhel-10.0.be.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0087-net-naming-scheme-disable-NAMING_FIRMWARE_NODE_SUN.patch systemd-256-13 2024-08-22 15:45:35 +02:00
0088-net-naming-scheme-remove-NAMING_FIRMWARE_NODE_SUN-fr.patch systemd-256-13 2024-08-22 15:45:35 +02:00
changelog systemd rebase/bootstrap for c10s 2024-07-01 14:25:26 +02:00
ci.fmf Add gating configuration for C10S/RHEL10 2024-07-01 14:57:42 +02:00
gating.yaml Add gating configuration for C10S/RHEL10 2024-07-01 14:57:42 +02:00
inittab Add /etc/inittab and /etc/crypttab 2014-10-07 15:51:56 -04:00
macros.sysusers Add the sysusers compat parts 2020-02-10 17:19:18 +01:00
owner-check.sh owner-check: make sending of mails optional 2021-03-30 12:11:34 +02:00
owner-check.template Add script to mail inactive maintainers 2021-02-11 13:08:32 +01:00
plans.fmf Skip internal tests in CentOS Stream/Fedora 2024-07-02 11:27:46 +02:00
purge-nobody-user Add purge-nobody-user 2018-02-21 15:23:30 +01:00
README.build-in-place.md Rebase to current fedora specfile 2024-07-01 14:24:55 +02:00
rpminspect.yaml rpminspect: disable udev rules check 2023-11-14 22:57:07 +01:00
sources systemd-256-3 2024-07-08 17:34:18 +02:00
split-files.py Always build ukify package 2024-08-30 09:55:28 +02:00
sysctl.conf.README Steal sysctl.conf from initscripts 2014-10-07 15:51:56 -04:00
systemd-journal-gatewayd.xml Add firewalld port descriptions 2015-01-05 22:46:35 -05:00
systemd-journal-remote.xml Add firewalld port descriptions 2015-01-05 22:46:35 -05:00
systemd-udev-trigger-no-reload.conf Prevent systemd-udev-trigger.service from restarting 2016-10-07 07:55:56 -04:00
systemd.rpmlintrc Add abignore file to make abigail happy 2020-04-11 10:37:42 +02:00
systemd.spec Always build ukify package 2024-08-30 09:55:28 +02:00
sysusers.attr Add the sysusers compat parts 2020-02-10 17:19:18 +01:00
sysusers.generate-pre.sh sysusers.generate-pre.sh: properly escape quotes in description strings 2023-04-26 13:27:07 +02:00
sysusers.prov sysusers/provides: parse and output static IDs 2021-11-16 16:36:58 +00:00
test_sysusers_defined.py Rebase to current fedora specfile 2024-07-01 14:24:55 +02:00
triggers.systemd Revert "Supress errors on selinux systems" 2023-08-07 12:51:12 +00:00
use-bfq-scheduler.patch Version 254~rc1 2023-07-13 12:09:53 +02:00
yum-protect-systemd.conf Also protect systemd-udev from removal 2016-03-15 15:34:52 -04:00

Building systemd rpms for local development using rpmbuild --build-in-place

This approach is based on filbranden's git-rpmbuild and his talk during ASG2019.

git clone https://github.com/systemd/systemd
fedpkg clone systemd fedora-systemd
cd systemd
rpmbuild -bb --build-in-place --noprep --define "_sourcedir $PWD/../fedora-systemd" --define "_rpmdir $PWD/rpms" --with upstream ../fedora-systemd/systemd.spec
sudo dnf upgrade --setopt install_weak_deps=False rpms/*/*.rpm

--without lto and --without tests may be useful to speed up the build.