Go to file
Zbigniew Jędrzejewski-Szmek 1634b1b16a Revert "spec: remove nsswitch.conf scriptlet"
This reverts commit 2afe364ac4.

Unfortunately the build failed on dependencies:
DEBUG util.py:444:  Error:
DEBUG util.py:444:   Problem: package authselect-libs-1.3.0-1.fc36.x86_64 conflicts with glibc < 2.34.9000-27 provided by glibc-2.34.9000-26.fc36.x86_64
DEBUG util.py:444:    - package util-linux-2.37.2-1.fc36.x86_64 requires /etc/pam.d/system-auth, but none of the providers can be installed
DEBUG util.py:444:    - package gawk-5.1.1-1.fc36.x86_64 requires libm.so.6()(64bit), but none of the providers can be installed
DEBUG util.py:444:    - package gawk-5.1.1-1.fc36.x86_64 requires libm.so.6(GLIBC_2.2.5)(64bit), but none of the providers can be installed
DEBUG util.py:444:    - package gawk-5.1.1-1.fc36.x86_64 requires libm.so.6(GLIBC_2.29)(64bit), but none of the providers can be installed
DEBUG util.py:444:    - package gawk-5.1.1-1.fc36.x86_64 requires rtld(GNU_HASH), but none of the providers can be installed
DEBUG util.py:444:    - package gawk-5.1.1-1.fc36.x86_64 requires libc.so.6(GLIBC_2.34)(64bit), but none of the providers can be installed
DEBUG util.py:444:    - conflicting requests

I need to build the package again in rawhide, so this needs to be reverted
for now.
2021-12-09 18:49:59 +01:00
tests Improve tests structure 2020-08-27 08:13:25 +02:00
.gitignore Add script to mail inactive maintainers 2021-02-11 13:08:32 +01:00
.zuul.yaml Add zuul configuration to exclude standalone sub-packages in install test 2021-02-05 16:20:52 +00: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-root-slice-defaults.conf Bump to 247.3-2 for systemd-oomd finishes and systemd-oomd-defaults subpackage 2021-02-11 13:09:33 +01:00
10-oomd-user-service-defaults.conf Increase oomd user memory pressure limit to 50% for 20s (#1941170) 2021-03-30 12:11:37 +02:00
20-grubby.install Two patches 2018-03-08 01:04:39 +01:00
20-yama-ptrace.conf Add example file with yama config 2015-07-05 22:52:35 -04:00
21705.patch Fix memleak 2021-12-09 16:02:25 +01:00
README.build-in-place Fix video link 2021-12-02 16:28:17 +00:00
f58b96d3e8d1cb0dd3666bc74fa673918b586612.patch Add patch for kernel bug 2020-09-20 13:11:35 +02:00
inittab Add /etc/inittab and /etc/crypttab 2014-10-07 15:51:56 -04:00
libsystemd-shared.abignore Add abignore file to make abigail happy 2020-04-11 10:37:42 +02: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
rpminspect.yaml Add rpminspect file to skip failing tests 2021-02-02 15:22:41 +01:00
sources Version 250-rc1 2021-12-09 16:02:25 +01:00
split-files.py Create separate systemd-resolved package 2021-06-16 22:37:44 +02: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-user Override systemd-user PAM config in %install and not %prep 2018-07-15 01:08:07 -07:00
systemd.rpmlintrc Add abignore file to make abigail happy 2020-04-11 10:37:42 +02:00
systemd.spec Revert "spec: remove nsswitch.conf scriptlet" 2021-12-09 18:49:59 +01:00
sysusers.attr Add the sysusers compat parts 2020-02-10 17:19:18 +01:00
sysusers.generate-pre.sh Shellcheckify sysusers.generate-pre.sh 2021-06-01 09:01:14 +02:00
sysusers.prov sysusers/provides: parse and output static IDs 2021-11-16 16:36:58 +00:00
triggers.systemd Supress errors on selinux systems 2021-11-15 13:47:07 +01:00
use-bfq-scheduler.patch Fix bfq patch again 2021-01-13 16:41:37 +01:00
yum-protect-systemd.conf Also protect systemd-udev from removal 2016-03-15 15:34:52 -04:00

README.build-in-place

== Building systemd rpms for local development using rpmbuild --build-in-place ==

This approach is based on https://github.com/filbranden/git-rpmbuild
and filbranden's talk during ASG2019 [https://www.youtube.com/watch?v=fVM1kJrymRM].

```
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 ../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.