Go to file
Panu Matilainen dce828f167 Use rpm's sysuser provide generation on Fedora >= 39
Rpm >= 4.19 has native sysusers integration and generates similar
user() and group() provides but encodes additional information into
them, information that is required for the rpm integration to work.

Besides additional data, one noteworthy difference in the rpm generated
provides is there are no provides generated for m(ember) directives.
This is because users and groups possibly created by that directive are
a too implicit for dependency resolution and install ordering purposes
in the case where the user/group is actually owned by some other package.
2023-06-22 08:16:26 -06:00
tests Improve tests structure 2020-08-27 08:13:25 +02:00
.gitignore Add script to mail inactive maintainers 2021-02-11 13:08:32 +01:00
.zuul.yaml Add zuul configuration to exclude standalone sub-packages in install test 2021-02-05 16:20:52 +00: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
10-timeout-abort.conf Set TimeoutStopFailureMode=abort for services 2023-02-22 16:03:38 +01: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
26494.patch Add workaround patch for dracut generator issue 2023-02-21 11:06:27 +01:00
changelog Manually bump release and add changelog for previous commit 2022-08-19 15:49:11 -04:00
fedora-use-system-auth-in-pam-systemd-user.patch Use upstream pam systemd-auth file with a patch, add pam_keyinit 2022-12-14 22:35:52 +01:00
inittab Add /etc/inittab and /etc/crypttab 2014-10-07 15:51:56 -04:00
libsystemd-shared.abignore Version 251-rc1 2022-03-29 22:41:15 +02: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
purge-nobody-user Add purge-nobody-user 2018-02-21 15:23:30 +01:00
README.build-in-place.md Fix formatting of README.build-in-place 2022-05-30 16:53:38 +02:00
rpminspect.yaml Add rpminspect file to skip failing tests 2021-02-02 15:22:41 +01:00
sources Version 253.5 2023-06-01 16:46:08 +02:00
split-files.py Move /usr/lib/systemd/boot/ to systemd-boot-unsigned subpackage 2023-03-09 09:05:16 +01: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 Use rpm's sysuser provide generation on Fedora >= 39 2023-06-22 08:16:26 -06: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
triggers.systemd Run sysusers and friends also if systemd is not running 2022-05-16 22:11:21 +02:00
use-bfq-scheduler.patch patch: fix regression in bfq patch 2022-09-30 19:01:28 +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 inplace ../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.