Message ID | 20250114153748.2358116-5-niko.mauno@vaisala.com |
---|---|
State | New |
Headers | show
Return-Path: <niko.mauno@vaisala.com> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D474C02183 for <webhook@archiver.kernel.org>; Tue, 14 Jan 2025 15:38:36 +0000 (UTC) Received: from EUR02-AM0-obe.outbound.protection.outlook.com (EUR02-AM0-obe.outbound.protection.outlook.com [40.107.247.102]) by mx.groups.io with SMTP id smtpd.web10.48044.1736869106533705878 for <openembedded-core@lists.openembedded.org>; Tue, 14 Jan 2025 07:38:29 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@vaisala.com header.s=selector1 header.b=TxC3u3fm; spf=permerror, err=parse error for token &{10 18 spf3.vaisala.com}: parse error for token &{10 18 _spf-dc57.sapsf.eu}: limit exceeded (domain: vaisala.com, ip: 40.107.247.102, mailfrom: niko.mauno@vaisala.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=c7Iukn2H+xXvlgzoWcVu5aytCyBIRMj3jyOhUENORqxfbq9rUuv6145xGgNwRuoVVU5MxXeNZza6jjFEiwTypQnK7RZoefyhnKLDl2W9eQgOeU9MTRHmLG2+qjV9o+aWqNkLZtaWUA79r2SI1Fm8N2+/ldWAt13igxF44+0nT3rW5zUecb6CTbD27QHIw46Zu6Oq5mTHadAPCe0IOxeQUq+oSgWpVJHcwkY3AtY8YukVAimtyaeJio4n97KIBXknv678lf7k6iGoryIWFyncccl9q8u81WcKH53HJYquCY3hGJZR0LEUTCMu2FAyleYWZLdCf+LGrIyPdpCstAI+mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aCFrJcL9xpUasTIGsougPtyXN0z1yscOzw9F0Ht9K68=; b=Hn33X3aX4+/cWB50KuW7CMSKnQ9hQIR4FaS1PXC9XqveNRKRNcOq2rAI8uttjcOmK3JlucXDKX4TIdPHeOkTylq8kNF7Vc7UmMacPkuyJZoDvz+FefXnfhQhWjK62X2kd2KvokHkcNgpbV7lbuAq/yLG5lsSsv6IQooKoPdSXJRdbtywg0xS0ToL8t4vkrFVyF4botpzsC71MKIl6SI8XicA1+Y18FHeTKVT68Bw/lcug5LorbuKzLkhZLkkWyC8h8BBPdDhyuHUCESSoF8jF/KLyJ/m8czzcojoILK3SLQ++g3eVRRATtyLN4IQdh/x1rQiRlbozK29ErwsjemCYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vaisala.com; dmarc=pass action=none header.from=vaisala.com; dkim=pass header.d=vaisala.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vaisala.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aCFrJcL9xpUasTIGsougPtyXN0z1yscOzw9F0Ht9K68=; b=TxC3u3fm1RIzUqyM+B5ZqzobVMSStLDc78e6AprcYsxgc/JK1vrxXzQK3CEnwFTGzpuGSMkrDhgtX2E/RJhOnKq36LPE+mK+DxrlKKr1CW5BrU645L7gdSLNtMyUTzy8RVYCVfuwJnC2eVsG7537F7wMsVGcSn4icR791kvuDz1jUUr0bEtk4Vbc3Gqxe6XvaOQnysF5R9fpqiCZyqrtUQIRppKUAiRe6disfz2VBvkKzLTqMnKQYaif5oN8VPOCon/eQ5NnwjAhkGtuKvxB/XKpw6owgYSJ+fmeVEL0oBr/Xn+RqT0IYODS2Y3fhrgkplUwOA75rHM+NhMveI0geA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vaisala.com; Received: from AS4PR06MB8447.eurprd06.prod.outlook.com (2603:10a6:20b:4e2::11) by GVXPR06MB9178.eurprd06.prod.outlook.com (2603:10a6:150:1c2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.18; Tue, 14 Jan 2025 15:38:22 +0000 Received: from AS4PR06MB8447.eurprd06.prod.outlook.com ([fe80::af93:b150:b886:b2bc]) by AS4PR06MB8447.eurprd06.prod.outlook.com ([fe80::af93:b150:b886:b2bc%4]) with mapi id 15.20.8356.010; Tue, 14 Jan 2025 15:38:22 +0000 From: Niko Mauno <niko.mauno@vaisala.com> To: openembedded-core@lists.openembedded.org CC: Niko Mauno <niko.mauno@vaisala.com> Subject: [PATCH 5/5] image-artifact-names.bbclass: Decouple from IMAGE_LINK_NAME Date: Tue, 14 Jan 2025 15:37:48 +0000 Message-ID: <20250114153748.2358116-5-niko.mauno@vaisala.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250114153748.2358116-1-niko.mauno@vaisala.com> References: <20250114153748.2358116-1-niko.mauno@vaisala.com> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-ClientProxiedBy: AS4P195CA0001.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:5e2::8) To AS4PR06MB8447.eurprd06.prod.outlook.com (2603:10a6:20b:4e2::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR06MB8447:EE_|GVXPR06MB9178:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fff1206-2aa7-4b43-a23b-08dd34b179e4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: VOChDfKM2s/uOkC4198xb0YMC4ogh1gDGwi5VzkYnib+tYRQ17SCh3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QokBpmA3yskE/xUlg/k1Nc7m8XwnlrqNc7aDjb30pDdknFGQnEYqjp0tJjOixdS0NkYi5reTT5x2/sXJ+fU3YCwiOYq4fkj+wh1mzmObZARvkA7fECJhCcsM6HXUmPYM2cmEphF537NspLIu+4XthG64ZDjKOzc9D7YJ88jn2OuYZ6m+Zxfw2w5IbrgRy2pm+sYlwamy0XioPeAhus/QxEz2zXRG81HTD1WQ0er2/p/n5W1u831qmXXZbHPQyFo+9f5xnDniOi9m1kmTKAls9gn9hqgTzRjfvEQgDzuiaY/BlAlyAK+s12Z4x7b5z80BeP9aZ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR06MB8447.eurprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(52116014)(376014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CrEp3S2d28nnX+SXF77z5aoQu5yDinqqHUZ2vumzghvX+/JTd5FS4gMyPLXxgfVVPTp8Rhpq+R+yIhBfJZA6M0EmDaJzyM1K0w1A2+Cg13F2MLoDc6C8pbOjpjp+R183KdZMGoMq4t2WBFPVEtkmuoTCieiIQkE2xTxvYABYZu5n6UtghMnkxYreVO3edJ/uBxf76WdR0pyIJWI/TnvhbPYHXU9NX0tUBlLyb/dLdxrCqqVPvw0+8WPs0qhv1Oczb8DDvf3lv3FofvznxLpPn8kwCDPGciOBsNK693tkzznMs19lJkFFq9bUjEqyxVrAWVGe2aKf/koiQJf1y4bQ4mHtlG6hNUMSLCxrSyB5yiHYOEMfWSqm5iRG/ock8aNYNdi2Q0Y/zthNtcGkAmxasCqY7vgkNCfAAZ0z5ruo/yDJxwU2CsS/JfU4WPMqYaq/1pnK/3D+TyfwJqG0lbKTp8yOaxkUSAZG4Jua91HFCUhWr9SkpsKb32KxXXQ49ELL8EGb/tuAy+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5R8ByFiB6d1jXaYmwMc220w== X-OriginatorOrg: vaisala.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fff1206-2aa7-4b43-a23b-08dd34b179e4 X-MS-Exchange-CrossTenant-AuthSource: AS4PR06MB8447.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2025 15:38:21.6448 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6d7393e0-41f5-4c2e-9b12-4c2be5da5c57 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iHEZbkVq9mjGHKgLc6EolbuSfQbot4+HcqDZIT+ygEsXoFW69YkHhgR2ZQTVGl4E+XkvTHWf09cLxT/NHu/c1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR06MB9178 List-Id: <openembedded-core.lists.openembedded.org> X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for <openembedded-core@lists.openembedded.org>; Tue, 14 Jan 2025 15:38:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/209804 |
Series |
[1/5] vex.bbclass: Drop redundant import update_symlinks
|
expand
|
diff --git a/meta/classes-recipe/image-artifact-names.bbclass b/meta/classes-recipe/image-artifact-names.bbclass index bc76ff0e16..8acdc16072 100644 --- a/meta/classes-recipe/image-artifact-names.bbclass +++ b/meta/classes-recipe/image-artifact-names.bbclass @@ -11,8 +11,9 @@ IMAGE_BASENAME ?= "${PN}" IMAGE_VERSION_SUFFIX ?= "-${DATETIME}" IMAGE_VERSION_SUFFIX[vardepsexclude] += "DATETIME SOURCE_DATE_EPOCH" -IMAGE_NAME ?= "${IMAGE_LINK_NAME}${IMAGE_VERSION_SUFFIX}" -IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}${IMAGE_NAME_SUFFIX}" +IMAGE_NAME_BASE ?= "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}${IMAGE_NAME_SUFFIX}" +IMAGE_NAME ?= "${IMAGE_NAME_BASE}${IMAGE_VERSION_SUFFIX}" +IMAGE_LINK_NAME ?= "${IMAGE_NAME_BASE}" # This needs to stay in sync with IMAGE_LINK_NAME, but with INITRAMFS_IMAGE instead of IMAGE_BASENAME # and without ${IMAGE_NAME_SUFFIX} which all initramfs images should set to empty
If the user has wanted to avoid complementary symbolic link creation by setting IMAGE_LINK_NAME value to empty string, then he/she needs to override the value of IMAGE_NAME name as well in order to avoid build breakage. Mitigate the issue by placing the common segment in a separate variable which is referenced in default values of both IMAGE_NAME and IMAGE_LINK_NAME. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> --- meta/classes-recipe/image-artifact-names.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)