mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-17 09:02:59 +00:00
slim: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
parent
2d1c7eb177
commit
09d0c1efe4
@ -49,8 +49,8 @@ do_install() {
|
|||||||
install -d ${D}${sysconfdir}/pam.d/
|
install -d ${D}${sysconfdir}/pam.d/
|
||||||
install -m 0644 ${WORKDIR}/slim.pamd ${D}${sysconfdir}/pam.d/slim
|
install -m 0644 ${WORKDIR}/slim.pamd ${D}${sysconfdir}/pam.d/slim
|
||||||
|
|
||||||
install -d ${D}${base_libdir}/systemd/system/
|
install -d ${D}${systemd_unitdir}/system/
|
||||||
install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system/
|
install -m 0644 ${WORKDIR}/*.service ${D}${systemd_unitdir}/system/
|
||||||
|
|
||||||
echo 'sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf
|
echo 'sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf
|
||||||
echo 'sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf
|
echo 'sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user' >> ${D}${sysconfdir}/slim.conf
|
||||||
@ -58,7 +58,7 @@ do_install() {
|
|||||||
|
|
||||||
|
|
||||||
RDEPENDS_${PN} = "perl xauth freetype sessreg "
|
RDEPENDS_${PN} = "perl xauth freetype sessreg "
|
||||||
FILES_${PN} += "${base_libdir}/systemd/system/"
|
FILES_${PN} += "${systemd_unitdir}/system/"
|
||||||
|
|
||||||
pkg_postinst_${PN} () {
|
pkg_postinst_${PN} () {
|
||||||
if test "x$D" != "x"; then
|
if test "x$D" != "x"; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user