From: "Schmidt, Adriaan" <adriaan.schmidt@siemens.com>
To: "Kiszka, Jan" <jan.kiszka@siemens.com>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: RE: [PATCH 0/3] multiarch support
Date: Mon, 6 Feb 2023 13:36:32 +0000 [thread overview]
Message-ID: <AS4PR10MB53182A3547FDF6DDA91192A8EDDA9@AS4PR10MB5318.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <0126153b-b1b2-8315-84ca-59c10716b43e@siemens.com>
Kiszka, Jan (T CED) <jan.kiszka@siemens.com>, Montag, 6. Februar 2023 14:01:
> On 06.02.23 13:20, Adriaan Schmidt wrote:
> > Hi,
> >
> > this is my first working draft of multiarch support, which extends all
> package
> > recipes (inheriting dpkg-base) with *-compat and *-native variants.
> >
> > My current use case/test subject is meta-iot2050, which contains a patched
> > openssl, needed in the SDK (as -native package), and on the target (as -
> compat).
> > [1] has this patchseries (plus pre-bitbake2 backporting), if someone would
> like to test.
> > In addition, the compat test from the testsuite works (building hello-isar-
> compat).
> >
> > Still missing:
> > - not sure if -native also needs IMAGE_INSTALL logic to convert bitbake to
> debian names
>
> You mean foo-{compat,native} -> foo:<{compat-arch,host-arch}>? Would be
> sweet.
I'm already doing it for -compat.
With -native, my current use case is the SDK, which is completely in host-arch,
so we don't *need* to pass it with the individual packages. Also there is currently
no way of getting "dpkg --add-architecture <host-arch>" in a target image, so the
only place we can install -native packages is the SDK and the buildchroot if we're
doing cross builds.
So a conversion foo-native -> foo might be convenient (and consistent, so foo-native
is accepted as part of IMAGE_INSTALL, just as foo-compat), or we make it an
explicit foo-native -> foo:<host-arch>.
Adriaan
> > - documentation
>
> Specifically a RECIPES-API-CHANGELOG entry.
>
> > - test case for -native (maybe add libhello-native to the SDK?)
> > - probably other things...
> >
>
> Nice start!
>
> Jan
>
> --
> Siemens AG, Technology
> Competence Center Embedded Linux
next prev parent reply other threads:[~2023-02-06 13:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-06 12:20 Adriaan Schmidt
2023-02-06 12:20 ` [PATCH 1/3] bitbake.conf: use PACKAGE_ARCH in overrides Adriaan Schmidt
2023-02-06 12:20 ` [PATCH 2/3] add multiarch support Adriaan Schmidt
2023-02-28 7:58 ` Cedric Hombourger
2023-02-28 8:24 ` Schmidt, Adriaan
2023-02-06 12:20 ` [PATCH 3/3] remove obsolete compat-arch override Adriaan Schmidt
2023-02-06 13:00 ` Jan Kiszka
2023-02-06 13:34 ` Schmidt, Adriaan
2023-02-06 14:22 ` Schmidt, Adriaan
2023-02-06 13:01 ` [PATCH 0/3] multiarch support Jan Kiszka
2023-02-06 13:36 ` Schmidt, Adriaan [this message]
2023-02-07 13:50 ` Jan Kiszka
2023-02-07 14:44 ` Schmidt, Adriaan
2023-02-20 8:54 ` Schmidt, Adriaan
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=AS4PR10MB53182A3547FDF6DDA91192A8EDDA9@AS4PR10MB5318.EURPRD10.PROD.OUTLOOK.COM \
--to=adriaan.schmidt@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.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