A System and Service Manager
Go to file
Filipe Brandenburger 05bb389ca4 Override systemd-user PAM config in %install and not %prep
This makes it possible to build RPMs from a git tree using
`rpmbuild --build-in-place --noprep` and have resulting RPMs
that will preserve the override of the PAM config file.

This needs to commit to HAVE_SELINUX being defined (since there
is no longer an m4 step to make that stanza conditional), but
that should be acceptable since the %build step calls Meson
with -Dselinux=true.

Tested:

- Chdir into a checkout of github.com/systemd/systemd tree and run:

  $ rpmbuild -bb --build-in-place --noprep \
        --define "gitcommit $(git rev-parse HEAD)" \
        --define "_sourcedir $HOME/fedorarpms/systemd" \
        ~/fedorarpms/systemd/systemd.spec

- Inspect the contents of systemd-user in the generated RPM package:

  $ rpm2cpio ~/rpmbuild/RPMS/x86_64/systemd-239-3.git99352de.fc29.x86_64.rpm \
        | cpio -i --to-stdout --quiet ./etc/pam.d/systemd-user
  ...
  account  include system-auth
  ...
  session  include system-auth
2018-07-15 01:08:07 -07:00
.gitignore New upstream release 2015-11-18 11:10:43 +01: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
0998-resolved-create-etc-resolv.conf-symlink-at-runtime.patch Update to v236 2017-12-15 09:36:03 +01:00
inittab Add /etc/inittab and /etc/crypttab 2014-10-07 15:51:56 -04:00
purge-nobody-user Add purge-nobody-user 2018-02-21 15:23:30 +01:00
sources Update to v239 2018-06-22 13:22:47 +02:00
split-files.py update split-files.py and list of ghost files 2017-12-12 08:52:06 +01: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.spec Override systemd-user PAM config in %install and not %prep 2018-07-15 01:08:07 -07:00
triggers.systemd Fix quoting 2018-03-28 08:57:12 +02:00
yum-protect-systemd.conf Also protect systemd-udev from removal 2016-03-15 15:34:52 -04:00