diff options
| author | Ash Charles <ashcharles@gmail.com> | 2015-02-23 08:40:53 -0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-03-03 08:35:59 +0100 |
| commit | f54d3a506fef603d8d0c538d1d69a6597152c169 (patch) | |
| tree | 0a35d7c22306d6d1a61aa12ad3bbae1b79ade45d | |
| parent | fa22506312ae07efa713678d9425126c9b084753 (diff) | |
| download | meta-openembedded-f54d3a506fef603d8d0c538d1d69a6597152c169.tar.gz | |
xfce4-session: Remove unneeded pkg_postinst
The pkg_postinst inherited from previous versions of this recipe no
longer seems necessary; no error message seen at runtime in a quick
test. As it made the generated packages unnecessarily
machine-specific, remove this post-install step. Based on the ensuring
discussion, this supersedes the original patch [1].
[1] http://lists.openembedded.org/pipermail/openembedded-devel/2015-February/100454.html
Signed-off-by: Ash Charles <ashcharles@gmail.com>
Tested-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb index 74289fb356..aa82a7caf3 100644 --- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb +++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb | |||
| @@ -17,11 +17,6 @@ ALTERNATIVE_${PN} = "x-session-manager" | |||
| 17 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" | 17 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" |
| 18 | ALTERNATIVE_PRIORITY_${PN} = "100" | 18 | ALTERNATIVE_PRIORITY_${PN} = "100" |
| 19 | 19 | ||
| 20 | # protect from frightening message that xfce might not work correctly | ||
| 21 | pkg_postinst_${PN} () { | ||
| 22 | echo 127.0.0.1 ${MACHINE} >> /etc/hosts | ||
| 23 | } | ||
| 24 | |||
| 25 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}" | 20 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}" |
| 26 | PACKAGECONFIG[systemd] = "--enable-systemd, --disable-systemd, polkit, systemd" | 21 | PACKAGECONFIG[systemd] = "--enable-systemd, --disable-systemd, polkit, systemd" |
| 27 | PACKAGECONFIG[consolekit] = ",,,consolekit" | 22 | PACKAGECONFIG[consolekit] = ",,,consolekit" |
