public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Multiconfig woes
@ 2018-07-01 18:47 Jan Kiszka
  2018-07-02  8:10 ` Henning Schild
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2018-07-01 18:47 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]

Hi,

I'm trying to model building different images for different machines -
but for the same architecture. That promises the reuse of common
packages when everything is modeled properly (the kernel, e.g., will be
configured to enable that). But it also exposes some ugliness.

These are my targets so far:

multiconfig:machine1-distro:image
multiconfig:machine2-distro:image

Both machines will share DISTRO_ARCH but will have different MACHINE
variables, obviously. The image recipe will be widely identical, except
for some machine-specific packages, selected by "package-${MACHINE}". So
far so good.

But now we have the same image target in the same distro-arch work
folder, and that clashes. To resolve that, I also need change PN in the
image recipe to "image-${MACHINE}", and that results in the following
targets:

multiconfig:machine1-distro:image-machine1
multiconfig:machine2-distro:image-machine1

Kind of ugly, having the machine ID twice in this target specification.
Is there any better way to model such a scenario?

Thanks,
Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-02  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-01 18:47 Multiconfig woes Jan Kiszka
2018-07-02  8:10 ` Henning Schild
2018-07-02  8:15   ` Jan Kiszka
2018-07-02  8:58     ` Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox