summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxdm/lxdm_0.4.1.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-lxde/lxdm/lxdm_0.4.1.bbappend')
-rw-r--r--recipes-lxde/lxdm/lxdm_0.4.1.bbappend24
1 files changed, 0 insertions, 24 deletions
diff --git a/recipes-lxde/lxdm/lxdm_0.4.1.bbappend b/recipes-lxde/lxdm/lxdm_0.4.1.bbappend
deleted file mode 100644
index db15586..0000000
--- a/recipes-lxde/lxdm/lxdm_0.4.1.bbappend
+++ /dev/null
@@ -1,24 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-SRC_URI += " \
- file://configfiles.patch \
- file://lxdm.service \
-"
-
-pkg_postinst_${PN}() {
- # Register up as default dm
- mkdir -p ${sysconfdir}/X11/
- echo "${sbindir}/lxdm" > ${sysconfdir}/X11/default-display-manager
- # the lxdm script in init.d includes the script functions, make an empty one if this does not yet exist
- touch /etc/init.d/functions
-}
-
-pkg_postrm_${PN} () {
- sed -i /lxdm/d ${sysconfdir}/X11/default-display-manager || true
-}
-
-do_install_append () {
- install -d ${D}/${sysconfdir}/systemd/system
- install -m 0644 ${WORKDIR}/lxdm.service ${D}/${sysconfdir}/systemd/system
- ln -s lxdm.service ${D}/${sysconfdir}/systemd/system/display-manager.service
-}