systemd: fix systemd-user pam configuration file.
This commit is contained in:
parent
5c130fbf0a
commit
9f21d3859b
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=207
|
version=207
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="A system and service manager for Linux"
|
short_desc="A system and service manager for Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||||
|
@ -120,6 +120,9 @@ post_install() {
|
||||||
# fix .so links in manpage stubs
|
# fix .so links in manpage stubs
|
||||||
find ${DESTDIR}/usr/share/man -type f -name '*.[[:digit:]]' \
|
find ${DESTDIR}/usr/share/man -type f -name '*.[[:digit:]]' \
|
||||||
-exec sed -ri '1s|^\.so (.*)\.([0-9]+)|.so man\2/\1.\2|' {} +
|
-exec sed -ri '1s|^\.so (.*)\.([0-9]+)|.so man\2/\1.\2|' {} +
|
||||||
|
|
||||||
|
# XXX We don't have pam.d/system-auth, use login pam service instead.
|
||||||
|
sed -e 's,system-auth,login,g' -i ${DESTDIR}/etc/pam.d/systemd-user
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Reference in a new issue