All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH][meta-xfce] xfce4-session: exclude machine-host dependency with SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
Date: Thu, 12 Nov 2015 17:42:03 +0100	[thread overview]
Message-ID: <20151112164203.GI2574@jama> (raw)
In-Reply-To: <CALbNGRRrYKrn5jh-UnktCy9w8CCZ1hYrZApqOpDRbS+OW-9B_g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4249 bytes --]

On Thu, Nov 12, 2015 at 05:11:36PM +0100, Andreas Müller wrote:
> On Thu, Nov 12, 2015 at 4:56 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > * this whole machine-host is very bad idea, all changes from postinst
> >   will be removed when netbase package is upgraded (it has CONFFILES
> >   set but most users won't know that this entry was appended by
> >   machine-host package)
> > * see:
> >   http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
> > * fixes:
> > ERROR: xfce4-session different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
> > runtaskdeps changed from ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] to ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata']
> > meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash 7b3f9a883729dfe908e17980476d10e2
> >  changed to
> > meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash f51309cb641c82a6d8e2dc5387bb6484
> > Hash for dependent task xfce4-sessionmachine-host.bb.do_packagedata changed from 7b3f9a883729dfe908e17980476d10e2 to f51309cb641c82a6d8e2dc5387bb6484
> >
> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > ---
> >  meta-xfce/conf/layer.conf | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/meta-xfce/conf/layer.conf b/meta-xfce/conf/layer.conf
> > index 55bcef6..64b1077 100644
> > --- a/meta-xfce/conf/layer.conf
> > +++ b/meta-xfce/conf/layer.conf
> > @@ -17,3 +17,7 @@ LAYERDEPENDS_xfce-layer += "openembedded-layer"
> >  LAYERDEPENDS_xfce-layer += "gnome-layer"
> >  LAYERDEPENDS_xfce-layer += "openembedded-layer"
> >  LAYERDEPENDS_xfce-layer += "meta-python"
> > +
> > +SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
> > +  xfce4-session->machine-host \
> > +"
> > --
> I missed that - there should be another way to go for this problem.
> Two questions
> 
> * What exactly does SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS do? I checked your
> original patch in oe-core but do not understand what the result of
> setting SIGGEN_EXCLUDE_.. is.

http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-SIGGEN_EXCLUDERECIPES_ABISAFE

Does this help? In short it will prevent sstate signature handler in
including the task signatures of recipes included in these variables.

SIGGEN_EXCLUDERECIPES_ABISAFE excludes it from everywhere
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS excludes it only when counting signature
of given recipes.

> * How much time do you give me to come around with a proper solution -
> without machine-host quirk? I would like to avoid getting this into
> jethro.

machine-host recipe is already in jethro (released yesterday) or do you
want to avoid this SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS addition? I want to
get all these fixes for signatures and dependencies soon - I'm tempted
blocking new changes to meta-oe layers and not updating oe-core until
the reports are clean - the issues were reported months ago and very few
fixes were sent since then.

Adding SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS doesn't make machine-host quirk
works, I would prefer you find proper solution and then we'll get rid of
both machine-host and SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS, ok?

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2015-11-12 16:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 15:56 [PATCH][meta-xfce] xfce4-session: exclude machine-host dependency with SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS Martin Jansa
2015-11-12 16:11 ` Andreas Müller
2015-11-12 16:42   ` Martin Jansa [this message]
2015-11-12 17:01     ` Andreas Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151112164203.GI2574@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.