3f65739521
The second argument now specifies the version tag version so let's adapt. Because the script now supports running without any arguments at all, let's just do that. The output now also doesn't use any hyphens anymore so we get rid of the sed transformation as well; |
||
---|---|---|
tests | ||
.abignore | ||
.gitignore | ||
.zuul.yaml | ||
10-map-count.conf | ||
10-oomd-defaults.conf | ||
10-oomd-per-slice-defaults.conf | ||
10-timeout-abort.conf | ||
20-yama-ptrace.conf | ||
98-default-mac-none.link | ||
26494.patch | ||
30846.patch | ||
changelog | ||
fedora-use-system-auth-in-pam-systemd-user.patch | ||
inittab | ||
macros.sysusers | ||
owner-check.sh | ||
owner-check.template | ||
purge-nobody-user | ||
README.build-in-place.md | ||
rpminspect.yaml | ||
sources | ||
split-files.py | ||
sysctl.conf.README | ||
systemd-journal-gatewayd.xml | ||
systemd-journal-remote.xml | ||
systemd-udev-trigger-no-reload.conf | ||
systemd.rpmlintrc | ||
systemd.spec | ||
sysusers.attr | ||
sysusers.generate-pre.sh | ||
sysusers.prov | ||
triggers.systemd | ||
use-bfq-scheduler.patch | ||
yum-protect-systemd.conf |
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.