The systemd rpms
Because the conflicts are in one direction, dnf may try to install older systemd/systemd-duev and newer systemd-standalone-*. This is not what we want: $ sudo dnf5 install systemd-standalone-repart Updating and loading repositories: Repositories loaded. Package Arch Version Repository Size Downgrading: systemd x86_64 255.4-1.fc40 fedora 14.6 MiB replacing systemd x86_64 256.2-1.fc40 @commandline 16.8 MiB systemd-container x86_64 255.4-1.fc40 fedora 1.4 MiB replacing systemd-container x86_64 256.2-1.fc40 @commandline 1.5 MiB systemd-devel x86_64 255.4-1.fc40 fedora 550.3 KiB replacing systemd-devel x86_64 256.2-1.fc40 @commandline 556.1 KiB systemd-libs x86_64 255.4-1.fc40 fedora 1.9 MiB replacing systemd-libs x86_64 256.2-1.fc40 @commandline 2.0 MiB systemd-networkd x86_64 255.4-1.fc40 fedora 2.0 MiB replacing systemd-networkd x86_64 256.2-1.fc40 @commandline 2.1 MiB systemd-oomd-defaults noarch 255.4-1.fc40 fedora 187.0 B replacing systemd-oomd-defaults noarch 256.2-1.fc40 @commandline 187.0 B systemd-pam x86_64 255.4-1.fc40 fedora 1.0 MiB replacing systemd-pam x86_64 256.2-1.fc40 @commandline 1.1 MiB systemd-resolved x86_64 255.4-1.fc40 fedora 629.9 KiB replacing systemd-resolved x86_64 256.2-1.fc40 @commandline 667.1 KiB systemd-rpm-macros noarch 255.4-1.fc40 fedora 9.5 KiB replacing systemd-rpm-macros noarch 256.2-1.fc40 @commandline 9.3 KiB systemd-tests x86_64 255.4-1.fc40 fedora 16.5 MiB replacing systemd-tests x86_64 256.2-1.fc40 @commandline 20.0 MiB systemd-udev x86_64 255.4-1.fc40 fedora 11.5 MiB replacing systemd-udev x86_64 256.2-1.fc40 @commandline 11.7 MiB systemd-ukify noarch 255.4-1.fc40 fedora 69.9 KiB replacing systemd-ukify noarch 256.2-1.fc40 @commandline 73.3 KiB Installing: systemd-standalone-repart x86_64 255.8-1.fc40 updates 986.6 KiB Transaction Summary: Installing: 1 packages Replacing: 12 packages Downgrading: 12 packages Also, declare the Conflicts on both sides, so that the issue is resolved immediately. Otherwise, it could still occur when an older version of the non-standalone packages are available (or installed). |
||
|---|---|---|
| tests | ||
| .abignore | ||
| .gitignore | ||
| .zuul.yaml | ||
| 0001-meson-rename-libbasic-to-libbasic_static.patch | ||
| 0001-tmpfiles-make-purge-hard-to-mis-use.patch | ||
| 0002-meson-build-libsystemd-core-via-an-intermediate-stat.patch | ||
| 0003-meson-add-option-to-build-systemd-executor-staticall.patch | ||
| 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 | ||
| test_sysusers_defined.py | ||
| 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.