elogind: ensure valid install_items syntax

This ensures that arguments to install_items are space separated when
more than one install_item is present in the dracut configuration.
This commit is contained in:
Enguerrand de Rochefort 2018-03-21 20:44:25 +01:00 committed by lemmi
parent 8268efc053
commit b057365c71

View file

@ -52,7 +52,7 @@ post_install() {
vinstall ./src/systemd/_sd-common.h 644 usr/include vinstall ./src/systemd/_sd-common.h 644 usr/include
vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind
vmkdir etc/dracut.conf.d vmkdir etc/dracut.conf.d
echo "install_items+=\"/usr/libexec/elogind/elogind-uaccess-command\"" >> ${DESTDIR}/etc/dracut.conf.d/elogind.conf echo "install_items+=\" /usr/libexec/elogind/elogind-uaccess-command \"" >> ${DESTDIR}/etc/dracut.conf.d/elogind.conf
} }
elogind-devel_package() { elogind-devel_package() {