* [PATCH] xfce4-session: Remove unneeded pkg_postinst
@ 2015-02-23 16:40 Ash Charles
2015-02-25 15:31 ` Andreas Müller
0 siblings, 1 reply; 2+ messages in thread
From: Ash Charles @ 2015-02-23 16:40 UTC (permalink / raw)
To: openembedded-devel
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>
---
meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb | 5 -----
1 file changed, 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 74289fb..aa82a7c 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"
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xfce4-session: Remove unneeded pkg_postinst
2015-02-23 16:40 [PATCH] xfce4-session: Remove unneeded pkg_postinst Ash Charles
@ 2015-02-25 15:31 ` Andreas Müller
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Müller @ 2015-02-25 15:31 UTC (permalink / raw)
To: Ash Charles; +Cc: openembedded-devel
On Mon, Feb 23, 2015 at 5:40 PM, Ash Charles <ashcharles@gmail.com> wrote:
> 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>
> ---
> meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb | 5 -----
> 1 file changed, 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 74289fb..aa82a7c 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"
> --
> 2.1.0
>
Tested-by: Andreas Müller <schnitzeltony@googlemail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-25 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 16:40 [PATCH] xfce4-session: Remove unneeded pkg_postinst Ash Charles
2015-02-25 15:31 ` Andreas Müller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.