elogind: move dracut config to /usr/lib/dracut/dracut.conf.d

This commit is contained in:
maxice8 2018-12-06 13:44:10 -02:00 committed by maxice8
parent 2cfc38990e
commit e97396ab86

View file

@ -1,7 +1,7 @@
# Template file for 'elogind'
pkgname=elogind
version=239.2
revision=1
revision=2
build_style=meson
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
@ -44,8 +44,8 @@ post_install() {
vinstall ./src/systemd/sd-id128.h 644 usr/include
vinstall ./src/systemd/_sd-common.h 644 usr/include
vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind
vmkdir etc/dracut.conf.d
echo "install_items+=\" /usr/libexec/elogind/elogind-uaccess-command \"" >> ${DESTDIR}/etc/dracut.conf.d/elogind.conf
vmkdir usr/lib/dracut/dracut.conf.d
echo "install_items+=\" /usr/libexec/elogind/elogind-uaccess-command \"" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/elogind.conf
}
elogind-devel_package() {