A System and Service Manager
... (rhbz#2240828) We currently have grubby-8.40-72.fc39 and sdubby-1.0-3.fc39. systemd had 'Conflicts: grubby < 8.40-72', which is satisfied by grubby. But sdubby has 'Provides: grubby' (with no version), which prevented installation: $ sudo rpm -i ./sdubby-1.0-3.fc39.noarch.rpm error: Failed dependencies: grubby < 8.40-72 conflicts with (installed) systemd-udev-254.2-7.fc39.x86_64 The rpm docs don't actually say what the meaning of the 'if' is: is it only satisfied by actual package names, or also by Provides. But experiments suggest that Provides are not used. The rich dependency seems to avoid the issue. |
||
|---|---|---|
| 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 | ||
| 631d2b05ec5195d1f8f8fbff8a2dfcbf23d0b7aa.patch | ||
| 0001-find_legacy_keymap-fix-empty-variant-matching.patch | ||
| 0002-find_legacy_keymap-try-matching-with-layout-order-re.patch | ||
| 26494.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 inplace ../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.