Go to file
Daan De Meyer a95f14a72e Replace inplace macro with upstream macro
Currently, the inplace macro only influences whether we use
tools/meson-vcs-tag.sh to figure out the version instead of using
the predefined one. But doing an inplace build shouldn't really
affect the version, since it's possible to do an inplace builds that's
not a git main upstream build, so the two concepts are disjoint.

Instead, let's replace the "inplace" macro with an "upstream" macro
to indicate that we're building from systemd git upstream. Aside from
influencing the version, this also disables various patches and adds
a libarchive dependency that was added upstream recently but isn't in
an official release yet.
2024-02-11 20:31:41 +01:00
tests Improve tests structure 2020-08-27 08:13:25 +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
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
30846.patch Add temporary patch to adjust uid range classification 2024-01-23 18:31:57 +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 Version 254~rc1 2023-07-13 12:09:53 +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
purge-nobody-user Add purge-nobody-user 2018-02-21 15:23:30 +01:00
README.build-in-place.md Replace inplace macro with upstream macro 2024-02-11 20:31:41 +01:00
rpminspect.yaml rpminspect: disable udev rules check 2023-11-14 22:57:07 +01:00
sources Version 255.3 2024-01-25 16:49:50 +01:00
split-files.py Do not remove modified config files 2023-12-13 13:02:45 +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 Replace inplace macro with upstream macro 2024-02-11 20:31:41 +01: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 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.