From f54d3a506fef603d8d0c538d1d69a6597152c169 Mon Sep 17 00:00:00 2001 From: Ash Charles Date: Mon, 23 Feb 2015 08:40:53 -0800 Subject: xfce4-session: Remove unneeded pkg_postinst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Andreas Müller Signed-off-by: Martin Jansa --- meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'meta-xfce/recipes-xfce/xfce4-session') 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" ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" ALTERNATIVE_PRIORITY_${PN} = "100" -# protect from frightening message that xfce might not work correctly -pkg_postinst_${PN} () { - echo 127.0.0.1 ${MACHINE} >> /etc/hosts -} - PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}" PACKAGECONFIG[systemd] = "--enable-systemd, --disable-systemd, polkit, systemd" PACKAGECONFIG[consolekit] = ",,,consolekit" -- cgit v1.2.3-54-g00ecf