public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Uladzimir Bely <ubely@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH 03/13] kas: Add dependencies between machine and distro configuration
Date: Tue, 19 Sep 2023 08:43:19 +0200	[thread overview]
Message-ID: <a5a47565-3ecf-48f5-b115-20af51450ace@siemens.com> (raw)
In-Reply-To: <fc345b9af432ac2c859e0e7b547ea2e469423687.camel@ilbers.de>

On 19.09.23 08:30, Uladzimir Bely wrote:
> On Sat, 2023-09-16 at 15:04 +0530, Jan Kiszka wrote:
>> On 15.09.23 12:14, Uladzimir Bely wrote:
>>> Isar can't build any combination of supported machines and distros.
>>> For the specific machine, only a limited set of distros can be
>>> built.
>>>
>>> This patch adds required dependencies between these configruations
>>> so that user could not select unsupported (untested) on from menu.
>>>
>>
>> Why not let the machine depend on those distros they support? Would
>> save
>> your from adding those DEP_* configs.
>>
>> Jan
>>
> 
> My initial idea was just to allow user to select a target machine first
> (for example, Raspberry) and only after that choose a supported distro.
> 
> Tried your proposal. It looks much cleaner and also works, but may
> confuse the user a bit since they may not find required target until
> "proper" distro selected.

An alternative could be letting the distros depend on SOME_MACHINE ||
OTHER_MACHINE, or on !SPECIFIC_MACHINE, whatever is shorter under
certain circumstances.

All approaches have the problem that if you are looking for something
that has a disabled dependency, may it be a machine or a distro ("How do
I get an Ubuntu image?"), you will not find it in the menu. We may need
to extend kas menu by some search and a visualization of the deps of the
items that are found, just like the kernel does.

Jan

-- 
Siemens AG, Technology
Linux Expert Center


  reply	other threads:[~2023-09-19  6:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15  6:44 [PATCH 00/13] Support building Isar using kas Uladzimir Bely
2023-09-15  6:44 ` [PATCH 01/13] kas: Add initial Kconfig support Uladzimir Bely
2023-09-15  6:44 ` [PATCH 02/13] kas: Add a local copy of kas-container script Uladzimir Bely
2023-09-15  6:44 ` [PATCH 03/13] kas: Add dependencies between machine and distro configuration Uladzimir Bely
2023-09-16  9:34   ` Jan Kiszka
2023-09-19  6:30     ` Uladzimir Bely
2023-09-19  6:43       ` Jan Kiszka [this message]
2023-09-15  6:44 ` [PATCH 04/13] kas: Add mirror selection Uladzimir Bely
2023-09-16  9:34   ` Jan Kiszka
2023-09-19  6:31     ` Uladzimir Bely
2023-09-15  6:44 ` [PATCH 05/13] kas: Add packages selection Uladzimir Bely
2023-09-16  9:37   ` Jan Kiszka
2023-09-16 16:10     ` Jan Kiszka
2023-09-15  6:44 ` [PATCH 06/13] kas: Add COMPAT_ARCH support Uladzimir Bely
2023-09-15  6:44 ` [PATCH 07/13] kas: Add cross compilation mode selection support Uladzimir Bely
2023-09-15  6:44 ` [PATCH 08/13] kas: Add ccache option Uladzimir Bely
2023-09-15  6:44 ` [PATCH 09/13] kas: Add image type selection Uladzimir Bely
2023-09-16  9:57   ` Jan Kiszka
2023-09-19  6:32     ` Uladzimir Bely
2023-09-15  6:44 ` [PATCH 10/13] kas: Add IMAGE_FSTYPES selection Uladzimir Bely
2023-09-15  6:44 ` [PATCH 11/13] kas: Support CACHE_DEB_SRC option in menu Uladzimir Bely
2023-09-15  6:44 ` [PATCH 12/13] kas: Add options to activate predefined users Uladzimir Bely
2023-09-16  9:39   ` Jan Kiszka
2023-09-15  6:44 ` [PATCH 13/13] kas: Add Readme.md Uladzimir Bely
2023-09-16  9:40 ` [PATCH 00/13] Support building Isar using kas Jan Kiszka
2023-09-16 10:02   ` Jan Kiszka

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=a5a47565-3ecf-48f5-b115-20af51450ace@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=ubely@ilbers.de \
    /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