The systemd rpms
- Python 55.8%
- Shell 44.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
rpm -V systemd-udev would report that /var/lib/systemd/timesync/ has wrong ownership. This happens because create the directory via %ghost and it ends up with the default root:root ownership in the rpm %files list. We _could_ fix the owernship in the listing, but it's actually OK if the directory is owned by root or even some other account, as long as the service is not running. Systemd will change owernship to the systemd-timesync user:group when starting the service. Disabling of the ownership verification makes it easier to precreate the timestamp (c.f. https://src.fedoraproject.org/rpms/systemd/pull-request/238). So let's just disable the owernship check. |
||
| .fmf | ||
| plans | ||
| .editorconfig | ||
| .gitignore | ||
| .zuul.yaml | ||
| 0001-core-create-userdb-root-directory-with-correct-label.patch | ||
| 0002-machined-continue-without-resolve.hook-socket.patch | ||
| 10-map-count.conf | ||
| 10-oomd-defaults.conf | ||
| 10-oomd-per-slice-defaults.conf | ||
| 10-timeout-abort.conf | ||
| 20-yama-ptrace.conf | ||
| 60-block-scheduler.rules | ||
| 98-default-mac-none.link | ||
| 26494.patch | ||
| 30846.patch | ||
| changelog | ||
| inittab | ||
| libabigail.abignore | ||
| macros.sysusers | ||
| macros.sysusers.compat | ||
| owner-check.sh | ||
| owner-check.template | ||
| 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-user | ||
| systemd.rpmlintrc | ||
| systemd.spec | ||
| sysusers.attr | ||
| sysusers.generate-pre.sh | ||
| sysusers.prov | ||
| test_sysusers_defined.py | ||
| triggers.systemd | ||
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.