diff options
-rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in (renamed from meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in) | 0 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 17 | ||||
-rw-r--r-- | meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend | 20 |
3 files changed, 11 insertions, 26 deletions
diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in b/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in index 3e1556ae0..3e1556ae0 100644 --- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in +++ b/meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in | |||
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb index 863db2e87..45bddc8f0 100644 --- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb +++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | |||
@@ -4,9 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
4 | 4 | ||
5 | DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb" | 5 | DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb" |
6 | 6 | ||
7 | PR = "r10" | 7 | PR = "r15" |
8 | 8 | ||
9 | inherit gnome update-rc.d | 9 | inherit gnome update-rc.d systemd |
10 | 10 | ||
11 | SRC_URI += " \ | 11 | SRC_URI += " \ |
12 | file://cross-xdetection.diff \ | 12 | file://cross-xdetection.diff \ |
@@ -17,6 +17,7 @@ SRC_URI += " \ | |||
17 | file://gdm.conf \ | 17 | file://gdm.conf \ |
18 | file://gdm-pam \ | 18 | file://gdm-pam \ |
19 | file://Default \ | 19 | file://Default \ |
20 | file://gdm.service.in \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI[archive.md5sum] = "dbe5187a2e17881cc454e313e0ae8d1e" | 23 | SRC_URI[archive.md5sum] = "dbe5187a2e17881cc454e313e0ae8d1e" |
@@ -49,6 +50,10 @@ do_install_append() { | |||
49 | install -d ${D}/${sysconfdir}/gdm/Init | 50 | install -d ${D}/${sysconfdir}/gdm/Init |
50 | install -m 0755 ${WORKDIR}/Default ${D}/${sysconfdir}/gdm/Init | 51 | install -m 0755 ${WORKDIR}/Default ${D}/${sysconfdir}/gdm/Init |
51 | 52 | ||
53 | install -d ${D}${systemd_unitdir}/system | ||
54 | sed -e 's,%sbindir%,${sbindir},g' \ | ||
55 | < ${WORKDIR}/gdm.service.in \ | ||
56 | > ${D}${systemd_unitdir}/system/gdm.service | ||
52 | } | 57 | } |
53 | 58 | ||
54 | FILES_${PN} += "${datadir}/icon* \ | 59 | FILES_${PN} += "${datadir}/icon* \ |
@@ -60,6 +65,10 @@ RDEPENDS_${PN} += "grep dbus-x11 shadow" | |||
60 | CONFFILES_${PN} += "${sysconfdir}/gdm/gdm.conf ${sysconfdir}/init.d/gdm" | 65 | CONFFILES_${PN} += "${sysconfdir}/gdm/gdm.conf ${sysconfdir}/init.d/gdm" |
61 | RRECOMMENDS_${PN} += "openssh-misc desktop-file-utils glib-2.0-utils metacity gnome-session polkit-gnome consolekit" | 66 | RRECOMMENDS_${PN} += "openssh-misc desktop-file-utils glib-2.0-utils metacity gnome-session polkit-gnome consolekit" |
62 | 67 | ||
68 | RREPLACES_${PN} += "${PN}-systemd" | ||
69 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
70 | SYSTEMD_SERVICE_${PN} = "gdm.service" | ||
71 | |||
63 | INITSCRIPT_NAME = "gdm" | 72 | INITSCRIPT_NAME = "gdm" |
64 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." | 73 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." |
65 | 74 | ||
@@ -87,7 +96,3 @@ pkg_postrm_${PN} () { | |||
87 | delgroup gdm || true | 96 | delgroup gdm || true |
88 | sed -i /gdm/d ${sysconfdir}/X11/default-display-manager || true | 97 | sed -i /gdm/d ${sysconfdir}/X11/default-display-manager || true |
89 | } | 98 | } |
90 | |||
91 | |||
92 | |||
93 | |||
diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend deleted file mode 100644 index 62013527c..000000000 --- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | # look for files in the layer first | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | PRINC := "${@int(PRINC) + 4}" | ||
5 | |||
6 | inherit systemd | ||
7 | |||
8 | SRC_URI += "file://gdm.service.in" | ||
9 | |||
10 | do_install_append() { | ||
11 | install -d ${D}${systemd_unitdir}/system | ||
12 | sed -e 's,%sbindir%,${sbindir},g' \ | ||
13 | < ${WORKDIR}/gdm.service.in \ | ||
14 | > ${D}${systemd_unitdir}/system/gdm.service | ||
15 | } | ||
16 | |||
17 | RPROVIDES_${PN} += "${PN}-systemd" | ||
18 | RREPLACES_${PN} += "${PN}-systemd" | ||
19 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
20 | SYSTEMD_SERVICE_${PN} = "gdm.service" | ||