Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Steffen Sledz <sledz@dresearch-fe.de>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Lianhao Lu <lianhao.lu@intel.com>,
	openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: hash generation/PR service problem with xuser-account and other packages
Date: Wed, 24 Sep 2014 15:22:38 +0200	[thread overview]
Message-ID: <5422C59E.4090107@dresearch-fe.de> (raw)
In-Reply-To: <1411489011.15825.47.camel@ted>

On 23.09.2014 18:16, Richard Purdie wrote:
> On Tue, 2014-09-23 at 16:51 +0200, Steffen Sledz wrote:
>> Hi Richard, thanx for this detailled explanation. It is another step on my way to understand all this. ;-)
>>
>>> The other recipes will need investigating since I doubt its this issue
>>> for them.
>>
>> Is there someone who can do this work in a similar brightening way Richard did?
> 
> I had a look at run-postinsts:
> 
> MACHINE=qemux86 bitbake run-postinsts
> MACHINE=qemuarm bitbake run-postinsts
> 
> ls tmp/stamps/all-poky-linux/run-postinsts/
> 
> Hmm, two different sigdata files for do_package.
> 
> bitbake-diffsigs tmp/stamps/all-poky-linux/run-postinsts/1.0-r9.do_package.sigdata.*
> (assumes only two sigdata files there, idea is to compare them)
> 
> Difference is the OVERRIDES variable. We therefore dump one of the files:
> 
> bitbake-diffsigs tmp/stamps/all-poky-linux/run-postinsts/1.0-r9.do_package.sigdata.X | grep OVERRIDES
> 
> and see that OVERRIDES is depended on in two places:
> 
> List of dependencies for variable systemd_populate_packages is set(['systemd_prerm', 'D', 'exec_prefix', 'OVERRIDES', 'sysconfdir', 'SYSTEMD_PACKAGES', 'systemd_postinst', 'nonarch_base_libdir', 'PACKAGES'])
> List of dependencies for variable populate_packages_updatercd is set(['D', 'updatercd_postrm', 'OVERRIDES', 'INITSCRIPT_NAME', 'INHIBIT_UPDATERCD_BBCLASS', 'MLPREFIX', 'updatercd_postinst', 'updatercd_preinst', 'updatercd_prerm', 'INIT_D_DIR', 'PACKAGES', 'INITSCRIPT_PACKAGES', 'UPDATERCPN'])
> 
> So the patch to fix this is:
> 
> diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
> index a6ad723..708ba89 100644
> --- a/meta/classes/systemd.bbclass
> +++ b/meta/classes/systemd.bbclass
> @@ -55,6 +55,8 @@ fi
>  
>  
>  systemd_populate_packages[vardeps] += "systemd_prerm systemd_postinst"
> +systemd_populate_packages[vardepsexclude] += "OVERRIDES"
> +
>  
>  python systemd_populate_packages() {
>      if not bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d):
> diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
> index 3c5414b..bc1aa7d 100644
> --- a/meta/classes/update-rc.d.bbclass
> +++ b/meta/classes/update-rc.d.bbclass
> @@ -72,6 +72,7 @@ PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd "
>  PACKAGESPLITFUNCS_remove_class-nativesdk = "populate_packages_updatercd "
>  
>  populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst"
> +populate_packages_updatercd[vardepsexclude] += "OVERRIDES"
>  
>  python populate_packages_updatercd () {
>      def update_rcd_auto_depend(pkg):
> 
> 
> since OVERRIDES isn't a needed dependency here, its effect is all that matters, not its contents.

This patch fixes the cpufreq-tweaks (from meta-angstrom) problem too. :)

So there's still linux-firmware pending from the packages i mentioned.

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058


  reply	other threads:[~2014-09-24 13:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23 12:07 hash generation/PR service problem with xuser-account and other packages Steffen Sledz
2014-09-23 13:21 ` Richard Purdie
2014-09-23 14:51   ` Steffen Sledz
2014-09-23 16:16     ` Richard Purdie
2014-09-24 13:22       ` Steffen Sledz [this message]
2014-09-24 13:34         ` Richard Purdie

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=5422C59E.4090107@dresearch-fe.de \
    --to=sledz@dresearch-fe.de \
    --cc=lianhao.lu@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox