* Style question on IMAGER_INSTALL
@ 2023-11-10 8:03 Jan Kiszka
2023-11-10 8:38 ` Anton Mikanovich
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2023-11-10 8:03 UTC (permalink / raw)
To: isar-users, Schmidt, Adriaan
Hi all,
since we have sophisticated imagetypes support with per-type chroots, we
also have more options how to model imager dependencies:
IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
WIC_IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
IMAGER_INSTALL:wic += "${GRUB_BOOTLOADER_INSTALL}"
Which of those should we try to promote today, consistently in code and
documentation (and our own downstream layers)? Not the first one, I
would say, as it potentially injects dependencies into image types that
have no need for it. The second one probably only exists today because
of historic reason, I suppose. Should we move everything to the third
style and start to deprecate WIC_IMAGER_INSTALL?
Jan
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Style question on IMAGER_INSTALL
2023-11-10 8:03 Style question on IMAGER_INSTALL Jan Kiszka
@ 2023-11-10 8:38 ` Anton Mikanovich
0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2023-11-10 8:38 UTC (permalink / raw)
To: Jan Kiszka, isar-users, Schmidt, Adriaan, Baurzhan Ismagulov
Hello Jan,
In my opinion IMAGER_INSTALL:wic is more preferable because this kind of
syntax
is more generic and can be used with any image type.
Maybe we can even deprecate WIC_IMAGER_INSTALL with some warning output to
remove it in later releases.
10/11/2023 10:03, 'Jan Kiszka' via isar-users wrote:
> Hi all,
>
> since we have sophisticated imagetypes support with per-type chroots, we
> also have more options how to model imager dependencies:
>
> IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
>
> WIC_IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
>
> IMAGER_INSTALL:wic += "${GRUB_BOOTLOADER_INSTALL}"
>
> Which of those should we try to promote today, consistently in code and
> documentation (and our own downstream layers)? Not the first one, I
> would say, as it potentially injects dependencies into image types that
> have no need for it. The second one probably only exists today because
> of historic reason, I suppose. Should we move everything to the third
> style and start to deprecate WIC_IMAGER_INSTALL?
>
> Jan
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-10 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-10 8:03 Style question on IMAGER_INSTALL Jan Kiszka
2023-11-10 8:38 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox