From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D281B15800A for ; Tue, 1 Aug 2023 08:21:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 066D9E0BE8; Tue, 1 Aug 2023 08:21:01 +0000 (UTC) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0B3BE0BE8 for ; Tue, 1 Aug 2023 08:21:00 +0000 (UTC) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b9fa64db41so5054661fa.1 for ; Tue, 01 Aug 2023 01:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690878059; x=1691482859; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=FAGDHO+al3sX4Ku4GPcd1qcmAXfHrQE353PLLsSRCSI=; b=BiFGJNXqx2AWIo8/0x5cg714HZIwz9IJm04k5iaf4wx8vwK2dvOmxq8vYhWCecJEe4 uMCLdh7IzP1c9B09rY2Uq7vZxV0CyA133w006dJWZZ3yNXlbsEFw0v3aRs1++s8kZWwk CLe4jWQ8eX6dSzkybISCjdG8yAIu/ivG0bz04PQQXOLX7dsY7UwzHlRhu9Xbeju4v1Gw 6tgyUGXjbHnsDHWsaFTTyXCQn/DRJf0C47V6Jc5yO9CfvQgEmmtBuqHT9/JhrHiBApkW 3vrOh6EVCrZIq35giU/SQQNxZORkl7lua4Fg3Q8KfKwar/MeXZotWgwwH8ZauXmjleTB z1SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690878059; x=1691482859; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FAGDHO+al3sX4Ku4GPcd1qcmAXfHrQE353PLLsSRCSI=; b=OpENiPJl/J5e4YkJOaRWcRB8qrAAbNzOCyYa0K9o08exawMP/CWHR+8Lbn+PypT5HX D4t5APPwjfXYBXgYaR7CVr770N640MxaJTZFXFdL7lNldDcG5K9iCU9iQmKpkA0eCGKT +tFcJr/JwamxxrV5z2jvjKbBCbsJJBWlUzRsbTIw3iFOEOzLi+xNm0naxqS0gpufP4U8 /Z8Z7UU+5cJa9d9k0fadlhyO2ZX4Lu5208RkoqW9hZ2XXilVpi/CYJV9XV4LkoTx/S/m BF5wEIMUuyRmtwTGNsttXZ1/iXTfDA1n62iKiayGnzuzTv+qLCUktEy5ee/nSGLQk4RP cZAg== X-Gm-Message-State: ABy/qLYhYgvTkiIZIr/eGnl0KsmNl5rJa+lv2DbZqy6TndY4b31zNoz2 aRGhI7HsIJ5bPBKdafihdYZd/mEJGNNt70m2 X-Google-Smtp-Source: APBJJlHNuVNtuBSdPtwvER8/qQBy9KsyMOCXXxTxs51vTMH315E1NTR1/QBTU9xHQ3S66YhTO5UeVw== X-Received: by 2002:a2e:9192:0:b0:2b9:d05a:3dd0 with SMTP id f18-20020a2e9192000000b002b9d05a3dd0mr2035156ljg.33.1690878059014; Tue, 01 Aug 2023 01:20:59 -0700 (PDT) Received: from icewind.auth.lfstrm.tv ([95.161.221.30]) by smtp.gmail.com with ESMTPSA id v23-20020a2e9617000000b002b9e5afa14csm1320361ljh.42.2023.08.01.01.20.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 01:20:58 -0700 (PDT) From: "Azamat H. Hackimov" To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] Patch to fix silent fail when custom subarch defined Date: Tue, 1 Aug 2023 11:18:30 +0300 Message-ID: <20230801082000.21185-2-azamat.hackimov@gmail.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 75405d71-60b1-45a0-88ba-fb6728c11072 X-Archives-Hash: 0750a5a52b9f1aa8af69e082784bb7c6 When custom subarch is defined ("core2", for example), it will override hostarch, and all logic for creation bootloader entries and ISO image will be broken. Introduced basearch variable that may used for these cases. Added some die statement in some case switches for default values to prevent silent failure. Closes: https://bugs.gentoo.org/911536