From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Matt Madison <matt@madison.systems>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>,
Alexander Kanavin <alex@linutronix.de>,
Khem Raj <raj.khem@gmail.com>
Subject: Re: [OE-core][PATCH] qemu.bbclass: drop OLDEST_KERNEL reference
Date: Mon, 20 Dec 2021 13:44:12 +0000 [thread overview]
Message-ID: <65741b61fd9ac1ce30b91e80ad11ac5c4bd2c9bc.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAGgRHJoy4y=4NROCCNNHBER6psqexmNt0keosGqzcMUwd-RjuQ@mail.gmail.com>
On Mon, 2021-12-20 at 05:40 -0800, Matt Madison wrote:
> On Sun, Dec 19, 2021 at 3:36 PM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > On Wed, 2021-12-15 at 12:16 -0800, Matt Madison wrote:
> > > which is introducing task hash changes for some
> > > allarch package builds, and should no longer
> > > be needed with recent versions of qemu.
> > >
> > > Signed-off-by: Matt Madison <matt@madison.systems>
> > > ---
> > > meta/classes/qemu.bbclass | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
> > > index 01a7b86ae1..333202b7c4 100644
> > > --- a/meta/classes/qemu.bbclass
> > > +++ b/meta/classes/qemu.bbclass
> > > @@ -54,7 +54,7 @@ def qemu_run_binary(data, rootfs_path, binary):
> > > # this dance). For others (e.g. arm) a -cpu option is not necessary, since the
> > > # qemu-arm default CPU supports all required architecture levels.
> > >
> > > -QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')) or ""}"
> > > +QEMU_OPTIONS = "${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')) or ""}"
> > > QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}"
> > >
> > > QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500v2"
> >
> > Rather worryingly this breaks a few docs packages for reproducibility:
> >
> > http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20211219-6kkv1f8k/packages/diff-html/
> >
> > which raises a number of questions in my mind. Investigation is needed as the
> > hashes clearly aren't encoding everything they should :(.
>
> I think the problem is in manpages.bbclass - the ":append" for adding
> to the pkg_postinst/pkg_postrm functions is in the wrong place.
> Fixing them so the ":append" is at the end, rather than before
> "${MAN_PKG}", causes the function text and dependencies to show up in
> dumpsig output again.
I agree, I'd come to the same conclusion and there is a patch in master-next
testing on the autobuilder to see if that does resolve the issue. I've not sent
it out yet as invalidating the data from a reproducibility perspective is
tricky.
Cheers,
Richard
next prev parent reply other threads:[~2021-12-20 13:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 20:16 [OE-core][PATCH] qemu.bbclass: drop OLDEST_KERNEL reference Matt Madison
2021-12-15 20:24 ` Khem Raj
2021-12-15 20:28 ` Matt Madison
2021-12-19 23:36 ` Richard Purdie
2021-12-20 13:40 ` Matt Madison
2021-12-20 13:44 ` Richard Purdie [this message]
2022-01-07 11:19 ` Richard Purdie
2022-01-07 12:36 ` Matt Madison
2022-01-07 12:51 ` Richard Purdie
[not found] ` <16C7FE06BC92B547.9201@lists.openembedded.org>
2022-01-07 12:56 ` Richard Purdie
2022-01-07 14:44 ` Matt Madison
2022-01-08 14:34 ` Richard Purdie
2022-01-08 15:10 ` Matt Madison
2022-01-08 15:13 ` Richard Purdie
2022-01-09 9:23 ` Konrad Weihmann
2022-01-09 11:32 ` Peter Kjellerstedt
2022-01-09 12:04 ` Matt Madison
2022-01-09 13:52 ` Peter Kjellerstedt
2022-01-09 14:20 ` Matt Madison
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=65741b61fd9ac1ce30b91e80ad11ac5c4bd2c9bc.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=alex@linutronix.de \
--cc=matt@madison.systems \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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