mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
elsa: add systemd service and add RCONFLICTS/RREPLACES with xserver-nodm-init
* add RCONFLICTS/RREPLACES also to PN-systemd, because that's where file collision with xserver-nodm-init is, in PN it's just functional collision * fixes upgrade path for task-x11-utils Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Login manager for Enlightenment
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/elsa
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -7,14 +7,32 @@ SECTION = "e/apps"
|
||||
inherit e gettext
|
||||
SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};proto=http;scmdata=keep \
|
||||
file://0001-pam-use-common-auth-instead-of-system-auth.patch \
|
||||
file://xserver-nodm.service \
|
||||
"
|
||||
S = "${WORKDIR}/${SRCNAME}"
|
||||
|
||||
EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
PV = "0.0.4+svnr${SRCPV}"
|
||||
SRCREV = "${EFL_SRCREV}"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${base_libdir}/systemd/system/
|
||||
install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${base_libdir}/systemd/system/xserver-nodm.service
|
||||
}
|
||||
|
||||
inherit systemd
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "xserver-nodm.service"
|
||||
|
||||
PACKAGES =+ "${PN}-systemd"
|
||||
FILES_${PN}-systemd += "${base_libdir}/systemd"
|
||||
RDEPENDS_${PN}-systemd += "${PN}"
|
||||
|
||||
RDEPENDS_${PN} += "${PN}-themes sessreg xauth"
|
||||
CONFFILES_${PN} += "${sysconfdir}/elsa.conf"
|
||||
RCONFLICTS_${PN} += "xserver-nodm-init"
|
||||
RREPLACES_${PN} += "xserver-nodm-init"
|
||||
RCONFLICTS_${PN}-systemd += "xserver-nodm-init"
|
||||
RREPLACES_${PN}-systemd += "xserver-nodm-init"
|
||||
|
||||
Reference in New Issue
Block a user