From patchwork Sat Dec 7 16:09:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzimir Bely X-Patchwork-Id: 3976 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Sat, 07 Dec 2024 17:10:49 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ej1-f56.google.com (mail-ej1-f56.google.com [209.85.218.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4B7GAmt7009238 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 7 Dec 2024 17:10:48 +0100 Received: by mail-ej1-f56.google.com with SMTP id a640c23a62f3a-aa66ab24344sf18304166b.3 for ; Sat, 07 Dec 2024 08:10:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733587842; cv=pass; d=google.com; s=arc-20240605; b=Y4ZnJiuLV4scEqdh08gSSFqlA3ykpobiFXkij/jceuhxkuviQ31oUVcRfxlKZ5dgSm b1ow43xkVnkZ7utGYcSBPwlVVQuEJt8L5z+px9DFOASIVPSsj9jxbeIM9fDXWSLTqMZF kv5MIbjpUm066KQnTJraT3NSuFxZGgUwu3K1O032d9WbZA9iz1JxL6wfoSyAYLzxWeXS I6FzUfbN29n+W/24/NcIyNAmLH04/97bsYYH/Vgabh3IvX78aBBuYQW+cNDabF2lf80i StH8JSOXDQ4xtHA5HM7LfAHxx+tQpS/wI17GTCDP1D40rlCEAtIWtYXYs8k7XTp1oDMT p8RQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:dkim-signature; bh=4gcygR8oTlBg5mP7WIHT2NRmje3NKPZ2r7XwCpJGPzo=; fh=X4Bb4zv1E4Y/rRc8SA/XkUOknIXYNHeGhH6gslkrM7U=; b=YfiWq4m6hzMUbh2W8UWXg9nV2xPpBN1JzpBqYjzPOdy4K/L7oqqJm2RmC6WtgGpRuW uuzKVIeCShcsVpyX7v3KUPE0JCWSqNkx1VW8aX+g2uoj6lk4nIj+OeqB5eYx11ZiN1c2 Iuei6Jw33EN3unJVMyiA4W9VI6FpvYM3GZYwohIDV7IpJ2b9gyvdHFEdFHb2oIv4b3hi mf+eu5P4IzCIImW709Lnfoesho9q6PowX1YbqvSTYlwOxGvGNnWeUSoCNMmRvdW2SEyD /upeH0XtdosCBg8u04+836vIQW+pBH7XKot6w51S3ekujFsbdaxzawBtt3ZYbVMtVqd/ hxuQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1733587842; x=1734192642; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=4gcygR8oTlBg5mP7WIHT2NRmje3NKPZ2r7XwCpJGPzo=; b=tVSu4182FIhZvA5CvrMx8pEMUNLCKvS2SDMLFGR6rO9eR4whvvr/6VslWhM0g1wlH6 Fr9Lkm/yHy6g0g1VANAbxqOLvH9SsgFTbQ485UG/FcMidu2owqs02TYOLdPXdWbrd/VN GxNvrz7bmnFVgQssPtIjmpv7R04ZcGGw8boXrp32Yq/FFgP8ZdBagC1M6qu5KQxDgT8J gR0GU1aDE8MJtqsV3MAXcuEpOQyPqemktSQXKGwOGjXn84L8GDAEr5RlJ/0j6OPdKgVC kVCJ8bS/S1W8/4ZepbPKX4f2RY8nkEmZUH2gUgVJ47wXGYDW0kIzfxRtdKUmyBr3CEJV csXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733587842; x=1734192642; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=4gcygR8oTlBg5mP7WIHT2NRmje3NKPZ2r7XwCpJGPzo=; b=VTeQucvSUEj+AKrx1U33GddYkKGl8dwHmBKBg3UkUhsBGZphPy+q13lJlzw41fdx9z goYQNVCthxJi4a6QbaG5veSIHLRiRcsbeI5WxXzIC5iOUPozH0xcJOWhReHWscjwfkPS rxnIjpeisjFvudkfwV/Ya4oWn2EHdjZEhU5i3zg8G37wO+yOhQ+JNnc9b9oarUZs9pcq Oup68EPMCDp+Qq/Nikq22vs1gCoMWB/vZy9i9n8nmaM/vXFfYenRCQ8coIusVtdUkUh5 A3nyY3Mq85fzMbYbGurSaIYRczCpkHOmfrQXpKKAdwnbPK9sO/fHMdDFaWom6BPJ2Hdr nnNA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUi8+XdJMEAU82u/dUWOzfxy2L0K3hDYHOeru+5pFc62HC0tNxk6QXoEKc8usF2P0KvNh+A/70=@isar-build.org X-Gm-Message-State: AOJu0YwFoTWpjVdG8DdVnPT7CoPK9A4ry33wvWEQGPaiKaQkMh66SSL+ 5cIsyxcusJ6NX0vQYLEdsUbFU2ZNJun5D9aDDZNxaeyDfOCOA2G5 X-Google-Smtp-Source: AGHT+IEXIrHovisSIM40TIjjgUQqDOWVHW37iC5moWe9GZe7CGKCwHSiMh6oUoU4ym4BkjpiGmI6dw== X-Received: by 2002:a05:6402:4005:b0:5d0:b51c:8478 with SMTP id 4fb4d7f45d1cf-5d3be67879fmr7436683a12.12.1733587841196; Sat, 07 Dec 2024 08:10:41 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:2064:b0:5d0:bcd8:21e with SMTP id 4fb4d7f45d1cf-5d3ecb0f6a7ls39655a12.0.-pod-prod-06-eu; Sat, 07 Dec 2024 08:10:39 -0800 (PST) X-Received: by 2002:a05:6402:4302:b0:5d3:e45d:ba7c with SMTP id 4fb4d7f45d1cf-5d3e45dbc28mr1782092a12.29.1733587838641; Sat, 07 Dec 2024 08:10:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733587838; cv=none; d=google.com; s=arc-20240605; b=BvSmWRT0bCwh5GSBKz/ncpwItNwbhX23ysh6XLXbt3BlTewdxryjHHRp4gVA5eiRX7 q1KlieDttO27G14DwCO+PTFnNxZvfaeyOi4oRKwrZkQwLNRMlCJGxBbfnPWuwCV9Eo53 LIDhfJ3DNkIK22TEaKkIvabBCuEl3lasUhCGq0iIYgaPd0owY4OYkV/H5N8sB71qaXGB 75E4DiFKO03+LjgSIvlhnqK3540YCGbsdgJRSO1HfQtR5XYNA+dRbkhRW+EAManAMtpZ h17EFrWTAMRnf6G9/7IO9tXGkF6lFIZFgdft/XrtD5o3t4oVkFcG7aFKhtzPnEa2C+Ou 14mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=uX/hYPjEtxxW0vNfh32gEjB4d/N1gs8c1izwqrwP8vM=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=fJ6rAv5HHjt6/nUZPjRfOA1okvl8EPjOfkR8eBjSamfIWmakfWl9pM8nFzRMoHJPiI hz+Xj2jbLBWq/g0+q4TCXP2N5EepiNkVFL2dgntB2g7Lpy48vP4YUYTuOzyE4BIO6I08 apqmtz29mh1cQTgZbDjxXI4bWgMyYdAAgSH1+85s/b0Vn4e5Ltd4ck/Mwjxw77EFWNkB gImezPzCgMemgk7b1gjhtxR3atRk5jR6dx/VdGM36IfIHOPNqJ2tW7XMp4N0Ts9BFCw1 7eTQ+J9o0dWfJx2zrnx9EPrMLhFCeH6puDVfguCdgDdcA0VoVD8LrjAFOKczUpCq9/vV ds9g==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 4fb4d7f45d1cf-5d158c4a638si157407a12.5.2024.12.07.08.10.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 07 Dec 2024 08:10:38 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from home.promwad.com (44-208-124-178-static.mgts.by [178.124.208.44] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4B7GAah6009183 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 7 Dec 2024 17:10:38 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 3/3] kas: Option to select any machine-distro combination Date: Sat, 7 Dec 2024 19:09:21 +0300 Message-ID: <20241207161031.714-4-ubely@ilbers.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241207161031.714-1-ubely@ilbers.de> References: <20241207161031.714-1-ubely@ilbers.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= This may be useful for development purposes e.g. when adding support of a new distro/codename for some machine. Signed-off-by: Uladzimir Bely --- kas/distro/Kconfig | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/kas/distro/Kconfig b/kas/distro/Kconfig index 3ddc3ef3..e69172d0 100644 --- a/kas/distro/Kconfig +++ b/kas/distro/Kconfig @@ -47,46 +47,53 @@ choice config DEBIAN_BUSTER bool "Debian 10 (buster)" - depends on DISTRO_DEBIAN && CODENAME_BUSTER + depends on (DISTRO_DEBIAN && CODENAME_BUSTER) || ANY_MACHINE_DISTRO config DEBIAN_BULLSEYE bool "Debian 11 (bullseye)" - depends on DISTRO_DEBIAN && CODENAME_BULLSEYE + depends on (DISTRO_DEBIAN && CODENAME_BULLSEYE) || ANY_MACHINE_DISTRO config DEBIAN_BOOKWORM bool "Debian 12 (bookworm)" - depends on DISTRO_DEBIAN && CODENAME_BOOKWORM + depends on (DISTRO_DEBIAN && CODENAME_BOOKWORM) || ANY_MACHINE_DISTRO config DEBIAN_TRIXIE bool "Debian 13 (trixie)" - depends on DISTRO_DEBIAN && CODENAME_TRIXIE + depends on (DISTRO_DEBIAN && CODENAME_TRIXIE) || ANY_MACHINE_DISTRO config DEBIAN_SID bool "Debian Sid (unstable)" - depends on DISTRO_DEBIAN && CODENAME_SID + depends on (DISTRO_DEBIAN && CODENAME_SID) || ANY_MACHINE_DISTRO config RASPIOS_BULLSEYE bool "Raspberry Pi OS Debian 11 (bullseye)" - depends on DISTRO_RASPIOS && CODENAME_BULLSEYE + depends on (DISTRO_RASPIOS && CODENAME_BULLSEYE) || ANY_MACHINE_DISTRO config RASPIOS_BOOKWORM bool "Raspberry Pi OS Debian 12 (bookworm)" - depends on DISTRO_RASPIOS && CODENAME_BOOKWORM + depends on (DISTRO_RASPIOS && CODENAME_BOOKWORM) || ANY_MACHINE_DISTRO config UBUNTU_FOCAL bool "Ubuntu 20.04 (Focal)" - depends on DISTRO_UBUNTU && CODENAME_FOCAL + depends on (DISTRO_UBUNTU && CODENAME_FOCAL) || ANY_MACHINE_DISTRO config UBUNTU_JAMMY bool "Ubuntu 22.04 (Jammy)" - depends on DISTRO_UBUNTU && CODENAME_JAMMY + depends on (DISTRO_UBUNTU && CODENAME_JAMMY) || ANY_MACHINE_DISTRO config UBUNTU_NOBLE bool "Ubuntu 24.04 (Noble)" - depends on DISTRO_UBUNTU && CODENAME_NOBLE + depends on (DISTRO_UBUNTU && CODENAME_NOBLE) || ANY_MACHINE_DISTRO endchoice +config ANY_MACHINE_DISTRO + bool "Allow any machine-distro combinations" + default n + help + This allows to select any machine-distro combinations some of which + may be not bootable or even buildable. + config KAS_INCLUDE_DISTRO string default "kas/distro/debian-buster.yaml" if DEBIAN_BUSTER