From patchwork Sat Dec 7 16:09:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzimir Bely X-Patchwork-Id: 3974 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:47 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f59.google.com (mail-wr1-f59.google.com [209.85.221.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4B7GAkOo009215 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 7 Dec 2024 17:10:46 +0100 Received: by mail-wr1-f59.google.com with SMTP id ffacd0b85a97d-385dc37cb3esf1627789f8f.0 for ; Sat, 07 Dec 2024 08:10:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733587841; cv=pass; d=google.com; s=arc-20240605; b=INDOSv13cqG7D/r8s9UEe44WOqt6Ue0ygblGuUc3ryPyntGuKvNjlrvTsTLF8vdtC3 GG4hCJfyWq+VnxxqncPUri7ICiWTvt12BiyIuTIGM10GtXRBm3JOdtU2aU7Q4I6HcIcn kI6nvAm3xXqEEPdg+1lfh7SVOGdaNMHxo1kpf4cCqAEzGc8O8X+VaMr0BTm1NIuMZ4OY 6wg58WNHw+0KEF12n5PrxemEeYbwCjF9N4OzH+4kjmBbFzPG8ZbQYnPVCFD0aKKKGuaU SsjYEtuzuyj6kO39DCnHn+V3+teHVowrPrR6uLCdXrMNjhPRbRKRl1Kf9WOQ3YowO7rU CFxw== 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=YhyIRHGIYS4YTtxLjYXk/UEHIZ5vEpzTv2W+aba5Xow=; fh=Fab008Blh4yGzThLHhTMjO7IV1cjOdUzcsorgjnw3wE=; b=NpwCb5NvB9rlx6C8B3utiHF+CNvzMWoFKuIZr84nQ4xjC35hsB6aZ8uyfkp9ilgVgz x31dzOxLqve2S5Z7L2W58/ayfdDJCLRa60mYUx0jh+hE53RUWnitYZcvfG3SKuVtlHWa PFTTYBGJn7P4EmAsoTud9F7jcTQ0Gyno5+ZERa/vwQ2EkULmLZMnw2YPb2Jw7mofTAeR CdcHG12IBlRsN5TvzgAW6TqL+Y4kuz+YPU/hGgmcWoWLYCKCLkkAFQjDgXc2de0kABE1 qZ8JywZUENwpBhQf6f1gFLpkMAcyoJjL/ABFQabXVlo3xGgXLIjI/CFZCEqpygr8zr2W 8eYQ==; 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=1733587841; x=1734192641; 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=YhyIRHGIYS4YTtxLjYXk/UEHIZ5vEpzTv2W+aba5Xow=; b=oVbbsK4xZqmV2C0q9xMY2ED3Q8Q/4cEw41HtKBiZUKQ0i1Mphi1u90OCSOBBEdKLF9 c3PxFnNSuyKOdpRiOg+XWgDNDfgztKwVR6WeA/WAR0tTePEr1PpaYK4MLTr5HS3tpvnv wOTzrtASJf/XaReBMSPqDE7PNo1DFjZ71B9B+NZGi3Z8FcmxoZGRBzqjR+3ZYINwVGET tEbLZsAE8NWlJQ8SwH+vSqDlj29qmUzm3lW7g5miYPEuGJ13wfmB/A5UgQRU1Aio6ziL /Ifw3iJAhJnGfCBVOyTFiFtVaBC8Gk9ByM9aJdSIBYuybS+AxPoiqV5lFnou8QE8t5J6 QYNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733587841; x=1734192641; 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=YhyIRHGIYS4YTtxLjYXk/UEHIZ5vEpzTv2W+aba5Xow=; b=gjMcu1XMnB+t7pbd+T/qKY+8K7FyKyUngKuiUIKzi0+zK0f1jzWEPOnrXHSBR/7f5H X5A/iFi8WSFUC22Nl0bhMTGqmZJFQNn0i+L0B0OSmHhtuCG+ihJgmZZID89AjkDn5Q32 J7wXtr5+VB5xBLgTqAg0lX+tI6qeU9Hu45Fciuzk02XFjIFPbpoDimeW7g9Bk1G/ZUUF bLWzaHwSiW8ZoEO/edsVYm7JrcrNzOr00AslB6YmOtvjJADU/G1TwFU7xT5s557cpqj4 pYsYiGCu+YzT5hHzcLj6MDKFtQR/ZybOXO9d3uzQTKXVtcpviXs9G3u2BaSdqRv9tXEe wU+Q== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWXWWyYWVtcg7ytaMUpfzo132maPbDSm2Ahkmwco0j9xN1AfME54ujJELgk9f9due5WcHn82fY=@isar-build.org X-Gm-Message-State: AOJu0Yyvi2ZrWH0qNjFony5aMQOpa/VfYdBBE7h6+6onDrRG4nzcQ1NA ymdc2CdeYJPuS7Ia+Nv8qJ/ncZD4xR7aE26ppXATXiiRPz6ia21P X-Google-Smtp-Source: AGHT+IE3kF5v/8CTzJzxwEtOzdw5swvOZra0orElR+xmMhc8y3WWnYH1BdWeV2zVe4iP1C78aZnibw== X-Received: by 2002:a05:6000:144b:b0:386:3702:d2d8 with SMTP id ffacd0b85a97d-3863702d4e4mr1650192f8f.58.1733587840475; Sat, 07 Dec 2024 08:10:40 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:6908:0:b0:386:3213:dc23 with SMTP id ffacd0b85a97d-3863213dd4cls443351f8f.1.-pod-prod-09-eu; Sat, 07 Dec 2024 08:10:38 -0800 (PST) X-Received: by 2002:a05:6000:1ac8:b0:385:ea2b:12cc with SMTP id ffacd0b85a97d-3862b35bb72mr5448447f8f.13.1733587838042; 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=IEFQCJ2XLQP2fubTPmQzlt4ifT45BW+FHMIQ4EakyerfW9bsnnGyqDoYuH8NeYO9ge 4ZRJjyQwZjk09TricsGuluyaEJBpYx++V6ulixNQa1/1CLQFDGxTBEU8+NhdizF957nM yhmI4jEVX+hGHyyqIFNGvmfZfCOy9Mk2CNRxqCyxRs9QrrI99DHkISufg1i+vHhh1k2S U8vgdRA1zyLy4C6iq7WUrm+lfM9mWTJZ66hjXa2N4QfRc+O/ydIPWvsLvpT1vjxPNMrY 8ro5KAqYpg9pSUOwaopA1A66X5+Z6+CV5h3GA3SX4fp59wOa7MwJAQfM3JdOqcND1wvA H4vg== 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=VADj6sp+7wiri04wPSKPZmHMHLgTTknxvJzyCJIjlA4=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=HPAHmVL3WMW0/4HRE89G+tAQlRKRR/t0ol5od02OLIWYkOvP1sMidP4SFeBnqlNycD LPiNFMCbaGePfQikie2sootnL2uXaGExDHC7g10cnEAuEKb+kxVeTRs2bWAazBk8KzIg Wda9o9WkglAJBrFADn0IhpBIe1vgZPJzWn8zrTuJFsoGGxn1uKzwoPDstFirhz89soeP yFVKEu9YLEZOfWJVAryNNSrW0z1/TM1UozLx++fZIdKs77aLDUuhDjNBx+/YQMqdtg3U 3PQbeAr3XQPii1ESD/Vq1mKR7Vbl5A13SVygBH+bpeuueGTYrfTJ7j2yCXdmVYGqKoeJ 9Dlw==; 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 5b1f17b1804b1-434da146986si1207665e9.2.2024.12.07.08.10.37 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 4B7GAah4009183 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 7 Dec 2024 17:10:37 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 1/3] kas: Fix architecture selection for bananapi Date: Sat, 7 Dec 2024 19:09:19 +0300 Message-ID: <20241207161031.714-2-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_H2, 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?= Due to copy-paste typo arm64 was selected instead of correct armhf. Signed-off-by: Uladzimir Bely --- kas/machine/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig index 43e87f07..a4549476 100644 --- a/kas/machine/Kconfig +++ b/kas/machine/Kconfig @@ -31,7 +31,7 @@ choice config MACHINE_BANANAPI bool "bananapi" depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM - select ARCH_ARM64 + select ARCH_ARMHF config MACHINE_BEAGLEPLAY bool "beagleplay" From patchwork Sat Dec 7 16:09:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzimir Bely X-Patchwork-Id: 3975 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:48 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f192.google.com (mail-lj1-f192.google.com [209.85.208.192]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4B7GAlUM009229 (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-lj1-f192.google.com with SMTP id 38308e7fff4ca-2ffcd44213dsf1729671fa.1 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=RxdTfAkOI9b/V37w3OgUtTQ1cuytbLqFAuCdlR8aXNYoNff2gdxzUwJQ//3z2NyOJD HqVX3+zeCPHShzAoH8QKEE2HL1SihiJ33KH90Ug3Bonq/i2yeFABlqAuFbJ6uDAtlYr4 UzVn7gkPpUPlXi2zYt+lGVQBPA+3qhn7Bj/W+T8NXXT/XemmbdkP2GOx5h6+KxYHYTQ4 CNqfP78eg3YaEM9drpWL4spnydsDPK+f7Zq2oN62m2uMVoyK8rE0FhHCUmrt0csufajI uAbZrgKBQaRN+hAGXHaCefGCAEmO1F5gMkqVJQgWt02ODgX/1S0tiSyBcDs9CRSdXgut gxOQ== 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=55r5QeQsYQ3hySdSNUTWuwlNhnxUTGle9/ljRVV/jNs=; fh=PiTOff0CDFBz8djU4BIFQ12iJ/qpWATAIEJWSI0Tx3c=; b=PFCb0Enm5Ezpkizpw3gXDr8Ne3AVo3Ls/ScVUsczqlCe5DDGDC2dUrCP6+MNAHpmPb eSz05BWaGxZlgpvia/Gw8+UoZtxbNXuUYbV4OhgZo319Lf3DxsGOapWGRqoZef1Ba3J4 YeLT/rHGpHfnvz/CXPngIiYDaPu0K7TTcoLLKH9VC34WvrCUYBFE4UOO/KsSWzSLgPrt vF4q5oE8Y4SNfMQ7ULbnoBHIiFjpf9CiZdScLu/5J/PHFQOlzTcjJYKH5h1GldILFlhN UKs8Ndz5wxKpiLNw7B8HHGW4oY0l0SA8OR2WefPEHEh6lk0WonHcJSfPpwk5ciBlsYBT gAtA==; 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=55r5QeQsYQ3hySdSNUTWuwlNhnxUTGle9/ljRVV/jNs=; b=R+qo2t/nwAthpztEI/pjkooJODZofCfzqcJV7l4Vg7wcuBffPgmCEx7Qg+fg1/HiZJ FDIFW/K+6NXwICEYDYj7asVwdLML8BAQLEPMXUFPuQivppsXQ0FgrQE8BylPiL7LOlsy ET6qnuStQyv2sgnkS+DZ8ejemagNymiENBqslJYw8jo8xokFTaIYGUTwYLd9GlLSC81d 4GvLcUOdd0V6aqQALtlLj0mSSaFndlh5+aOBtGshuO15AmaM1a9UNaUDpRG2saZs+qUq q7hY1E118Eeg/4QpEHgoO5UCLYqD2MlrriklT8HU6ZPt1JhakkVbqHR9cBnZUb6ezX+d 9V7A== 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=55r5QeQsYQ3hySdSNUTWuwlNhnxUTGle9/ljRVV/jNs=; b=NV7A54zAjNlKgpLYWdOKjpxD3arL5tvKiVDEcxV+qfS7QoAyWSe/apC7KUtDJbtDSW OXYZRLcfZoKI88eCr62H+/vCSwhQmbgPL2VMFapDUfzsBOKVc3xqP1mVgOLKSdOiswXh wPdXk7KEykZGVBVruDn23nP+v/asx8IjS//v6FwEXyVYHXgtAX/IpM8+3agn6GSx94LL bgJsXI3gfrwzOd8aqMeQ3gT3zb6rczDbYV0XscuzkP8uPIkUXnd1RkpEorh+7JLOug49 /Cn3dqUiX1QGhh5IDHVJI+5GRfYED9TJsSVaDn+Pt7IPJcIzBMJJ6g1kcUTBNcV/hYlj LEMA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWnpVm+wPRrI1EX7+z2xHkQIYJo2S/ZSRS9VSY9pJEJzg5pPRqHoO2NbB0Rmh640itrBCaeeso=@isar-build.org X-Gm-Message-State: AOJu0YwjJVQVE4OSYHuJ2xLjw/ztXHIsfOFDhFiXihcydp9ev47G37Uw aQQKkClIcfWlqXG6Hi0ebX3Nlonqo2wyIai36F4g0GzbvNAW3Oqi X-Google-Smtp-Source: AGHT+IFxOkfIJ4PYMyrE5WS+AMZz26Q22VGDBKPziHGdgrm+rO8+neTxPIq7TVqXWvKGbuNCE2vxhg== X-Received: by 2002:a05:651c:19a5:b0:300:1928:2956 with SMTP id 38308e7fff4ca-3002f1d8ee9mr7904151fa.0.1733587841607; Sat, 07 Dec 2024 08:10:41 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:150f:b0:300:32f7:d886 with SMTP id 38308e7fff4ca-30032f7da0els2353371fa.0.-pod-prod-06-eu; Sat, 07 Dec 2024 08:10:39 -0800 (PST) X-Received: by 2002:a05:6512:3051:b0:53e:398c:bf9e with SMTP id 2adb3069b0e04-53e398cc127mr1132738e87.55.1733587838847; 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=RXn4zxIaQ1leUsRTG9JYhUvNCdDmB6ljwiwMFq+vGGUekQbheJOvsBE+mczAIpJLAX Sg55v7VA6wTmVb1R98s9KW1bGh8E/HLdI7sj0jot107NI0tFwRI/sM6oCsS/wZbDSCz2 RltNrItmF7bUyh9ohKg9SWLcreB6EJqBpWx3u5Dt2RzACUboWnt4T9znyQmdsYD26hQo +g6S8eWZGuBf7fvqwV1YpLkV1/Xz+A3PwLB3CpmWktiWszaUweIJOm35l8hGPEo1TOB5 XDmWu3yuvkdTi53toar8O+KemhptM9vof2XwpIlX7WfswLTjzrssGQECkDlvz8U7eUf9 VVKA== 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=W0oVf4bTAiovHnnt4cZZporrsCXG7qQbkj28/BukDks=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=Wz/d9biI4wt2KCE2mj4HZmOUNgML6kjxvOEotiXN2bmuz3jrpSTPjD6lm3jOu9NhoQ 7kaR9OxId3KpYQUu/dwBPWc71Ia/SDiZcJPOkSjIE9zd/zcPpvGOadj94Ggmg8wekUuY vE6V7JzWboNuoberqsCZnKoSz2Zyur/hTPDNyqV7Sh4Xl2ASMMdbtMQ8Cj3ArCjjDGIu mLBrzm76yEFwiJYe742GMv46e//pmlD+/NCzCz6m6H+TMh0MOBYEx1WAE6HGxw43b6TH 7pvA5RSGXeRGFcF0bhEpGK5tV/BNcYp1LD/hOkfFv7FRlVceFGSCDpsuD+rzqtiqK0jc rDGQ==; 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 2adb3069b0e04-53f6c6bbbcesi10455e87.11.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 4B7GAah5009183 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 7 Dec 2024 17:10:37 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 2/3] kas: Select machine before the distro Date: Sat, 7 Dec 2024 19:09:20 +0300 Message-ID: <20241207161031.714-3-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=-3.8 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_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS, UPPERCASE_50_75 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?= Existing approach made user select the distro first so that machines supporting it became available in machine submenu. New approach is more user-friendly and native. First, user selects the board and thus receives a list of distros that it supports. Signed-off-by: Uladzimir Bely --- Kconfig | 4 +- kas/distro/Kconfig | 45 ++++++++++++++++ kas/machine/Kconfig | 127 ++++++++++++++++++++++++++++++++++---------- 3 files changed, 148 insertions(+), 28 deletions(-) diff --git a/Kconfig b/Kconfig index 538c0a1b..683c0da5 100644 --- a/Kconfig +++ b/Kconfig @@ -1,6 +1,8 @@ # This software is a part of ISAR. # Copyright (C) 2023 ilbers GmbH # +# SPDX-License-Identifier: MIT +# # Authors: # Uladzimir Bely @@ -14,8 +16,8 @@ config KAS_BUILD_SYSTEM string default "isar" -source "kas/distro/Kconfig" source "kas/machine/Kconfig" +source "kas/distro/Kconfig" source "kas/image/Kconfig" source "kas/package/Kconfig" source "kas/opt/Kconfig" diff --git a/kas/distro/Kconfig b/kas/distro/Kconfig index 31492121..3ddc3ef3 100644 --- a/kas/distro/Kconfig +++ b/kas/distro/Kconfig @@ -1,44 +1,89 @@ # This software is a part of Isar. # Copyright (C) 2023-2024 ilbers GmbH # +# SPDX-License-Identifier: MIT +# # Authors: # Uladzimir Bely menu "Distro selection" +config DISTRO_DEBIAN + bool + +config DISTRO_RASPIOS + bool + +config DISTRO_UBUNTU + bool + +config CODENAME_BUSTER + bool + +config CODENAME_BULLSEYE + bool + +config CODENAME_BOOKWORM + bool + +config CODENAME_TRIXIE + bool + +config CODENAME_SID + bool + +config CODENAME_FOCAL + bool + +config CODENAME_JAMMY + bool + +config CODENAME_NOBLE + bool + choice prompt "Distro selection" default DEBIAN_BOOKWORM config DEBIAN_BUSTER bool "Debian 10 (buster)" + depends on DISTRO_DEBIAN && CODENAME_BUSTER config DEBIAN_BULLSEYE bool "Debian 11 (bullseye)" + depends on DISTRO_DEBIAN && CODENAME_BULLSEYE config DEBIAN_BOOKWORM bool "Debian 12 (bookworm)" + depends on DISTRO_DEBIAN && CODENAME_BOOKWORM config DEBIAN_TRIXIE bool "Debian 13 (trixie)" + depends on DISTRO_DEBIAN && CODENAME_TRIXIE config DEBIAN_SID bool "Debian Sid (unstable)" + depends on DISTRO_DEBIAN && CODENAME_SID config RASPIOS_BULLSEYE bool "Raspberry Pi OS Debian 11 (bullseye)" + depends on DISTRO_RASPIOS && CODENAME_BULLSEYE config RASPIOS_BOOKWORM bool "Raspberry Pi OS Debian 12 (bookworm)" + depends on DISTRO_RASPIOS && CODENAME_BOOKWORM config UBUNTU_FOCAL bool "Ubuntu 20.04 (Focal)" + depends on DISTRO_UBUNTU && CODENAME_FOCAL config UBUNTU_JAMMY bool "Ubuntu 22.04 (Jammy)" + depends on DISTRO_UBUNTU && CODENAME_JAMMY config UBUNTU_NOBLE bool "Ubuntu 24.04 (Noble)" + depends on DISTRO_UBUNTU && CODENAME_NOBLE endchoice diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig index a4549476..0d1e0dd9 100644 --- a/kas/machine/Kconfig +++ b/kas/machine/Kconfig @@ -1,6 +1,8 @@ # This software is a part of Isar. # Copyright (C) 2023-2024 ilbers GmbH # +# SPDX-License-Identifier: MIT +# # Authors: # Uladzimir Bely @@ -30,137 +32,208 @@ choice config MACHINE_BANANAPI bool "bananapi" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_BEAGLEPLAY bool "beagleplay" - depends on DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BOOKWORM select ARCH_ARM64 config MACHINE_CONTAINER_AMD64 bool "container-amd64" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_AMD64 config MACHINE_DE0_NANO_SOC bool "de0-nano-soc" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_HIKEY bool "hikey" - depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARM64 config MACHINE_IMX6_SABRELITE bool "imx6-sabrelite" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE select ARCH_ARMHF config MACHINE_NANOPI_NEO bool "nanopi-neo" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_NANOPI_NEO_EFI bool "nanopi-neo-efi" - depends on DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_PHYBOARD_MIRA bool "phyboard-mira" - depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_QEMU_AMD64_CIP bool "qemuamd64-cip" - depends on DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BOOKWORM select ARCH_AMD64 config MACHINE_QEMU_AMD64_SB bool "qemuamd64-sb" - depends on DEBIAN_BULLSEYE + select CODENAME_BULLSEYE select ARCH_AMD64 config MACHINE_QEMU_AMD64 bool "qemuamd64" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM + select CODENAME_TRIXIE + select DISTRO_UBUNTU + select CODENAME_FOCAL + select CODENAME_JAMMY + select CODENAME_NOBLE select ARCH_AMD64 config MACHINE_QEMU_ARM bool "qemuarm" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM + select CODENAME_TRIXIE select ARCH_ARMHF config MACHINE_QEMU_ARM64 bool "qemuarm64" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM + select CODENAME_TRIXIE + select DISTRO_UBUNTU + select CODENAME_FOCAL + select CODENAME_JAMMY + select CODENAME_NOBLE select ARCH_ARM64 config MACHINE_QEMU_I386 bool "qemui386" - depends on DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BUSTER + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_I386 config MACHINE_QEMU_MIPSEL bool "qemumipsel" - depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_MIPSEL config MACHINE_QEMU_RISCV64 bool "qemuriscv64" - depends on DEBIAN_TRIXIE || DEBIAN_SID + select DISTRO_DEBIAN + select CODENAME_TRIXIE + select CODENAME_SID select ARCH_RISCV64 config MACHINE_RPI_ARM_V7 bool "rpi-arm-v7" - depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select DISTRO_RASPIOS + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_RPI_ARM_V7L bool "rpi-arm-v7l" - depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select DISTRO_RASPIOS + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_RPI_ARM bool "rpi-arm" - depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select DISTRO_RASPIOS + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARMHF config MACHINE_RPI_ARM64_V8 bool "rpi-arm64-v8" - depends on RASPIOS_BULLSEYE || RASPIOS_BOOKWORM + select DISTRO_RASPIOS + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_ARM64 config MACHINE_SIFIVE_FU540 bool "sifive-fu540" - depends on DEBIAN_TRIXIE || DEBIAN_SID + select DISTRO_DEBIAN + select CODENAME_TRIXIE + select CODENAME_SID select ARCH_RISCV64 config MACHINE_STARFIVE_VISIONFIVE2 bool "starfive-visionfive2" - depends on DEBIAN_TRIXIE || DEBIAN_SID + select DISTRO_DEBIAN + select CODENAME_TRIXIE + select CODENAME_SID select ARCH_RISCV64 config MACHINE_STM32MP15X bool "stm32mp15x" - depends on DEBIAN_BULLSEYE + select DISTRO_DEBIAN + select CODENAME_BULLSEYE select ARCH_ARMHF config MACHINE_VIRTUALBOX bool "virtualbox" - depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM + select DISTRO_DEBIAN + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM select ARCH_AMD64 config MACHINE_VMWARE bool "vmware" - depends on DEBIAN_BULLSEYE + select DISTRO_DEBIAN + select CODENAME_BULLSEYE select ARCH_AMD64 config MACHINE_X86_PC bool "x86 PC" - depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_FOCAL || UBUNTU_JAMMY || UBUNTU_NOBLE + select DISTRO_DEBIAN + select CODENAME_BULLSEYE + select CODENAME_BOOKWORM + select CODENAME_TRIXIE + select DISTRO_UBUNTU + select CODENAME_FOCAL + select CODENAME_JAMMY + select CODENAME_NOBLE select ARCH_AMD64 endchoice 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