[oe] [PATCH] xfce4-session: Make package MACHINE specific

Ash Charles ashcharles at gmail.com
Sun Feb 22 20:48:42 UTC 2015


Hi Andreas,

Good question.  I just tried removing it and didn't see an error when
building the package but it is not clear if this was trying to deal
with a runtime or build-time error.  Do you happen to remember?  I
tracked through the commit history but I think this has been in the
recipe since it was first added.

--Ash

On Sun, Feb 22, 2015 at 8:38 AM, Andreas Müller
<schnitzeltony at googlemail.com> wrote:
> On Sun, Feb 22, 2015 at 5:15 PM, Ash Charles <ashcharles at gmail.com> wrote:
>> Because the xfce4-session recipe has a machine-specific pkg_postinst_,
>> the package itself must be considered machine specific.
>>
>> Signed-off-by: Ash Charles <ashcharles at gmail.com>
>> ---
>>  meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.1.bb | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> 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..f804487 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
>> @@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88"
>>  DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf"
>>  RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth upower"
>>
>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>>  inherit xfce update-alternatives
>>
>>  SRC_URI[md5sum] = "1757657c1d590aa6274b7b7cbba33352"
>> --
>> 2.1.0
>>
> Have you tried to remove postinst - is it still necessary?
>
> Andreas



More information about the Openembedded-devel mailing list