From patchwork Fri Dec 20 11:25:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Herbrechtsmeier X-Patchwork-Id: 54449 Return-Path: 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 7A7D2E77196 for ; Fri, 20 Dec 2024 11:26:41 +0000 (UTC) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.106]) by mx.groups.io with SMTP id smtpd.web11.149743.1734693991344736713 for ; Fri, 20 Dec 2024 03:26:33 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@weidmueller.com header.s=selector2 header.b=pw0toZgX; spf=pass (domain: weidmueller.com, ip: 40.107.22.106, mailfrom: stefan.herbrechtsmeier-oss@weidmueller.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gGeDRp6AklxvtAnt2Q6V1+ZLrEZphLtIizv9DlaXhX/A1L+dqOEMmQU72KqwuJPOQaspCFNotfS7RlkQLPJt8j/slfnhs2GUT7p1vYyGtyUbupJELBPgxVxoaO4ipdM6fuMiVtVAt8rIAB8H5ZefwcOyd3qXQRpJ89ojNm5XFjFPKQ3/e6v413XfyntNqspNltoBAgxONHmda1LwPrHGsAn4edptUG8ijOVDnD78dP5AplZkYMPnS+YvpFlHHXrQLS1Bhvp1rJWr3yqDC0tvbAMlwpBH1cGxg7XcEG6C7Px5JAfQ7A3ppT2A9nnEMNC3rWdHxoa3yHwInPI1ZqEYCQ== 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=Tit6rmzEZRai1FkdRp8QgPPUeB/0AyLmW9ayX20M9nk=; b=IdGsPMXrntCojUhQ7yAg1DJj1cuhcK+YBKElbi7RTW0yRCDB3whWVpvZ20FHJRh1eqbTvpBwzZXQaNVh8ZjDG7IkGRRAsdJVQtB6DpD1XsR1NpIqw8rDp82D4LR12gYcRY/zR0IEv5EpkSv5xIarB3dsXYUWLqP6/g63kKGLgqiSdbFgYvwB74rUFk9v+eIAcVhW77wkS1nC7uP7d7aAimmFVTbhqJejTBvJRHvXpBlgv6uVteNO9bcBzJ9skZUBHTBzpK8myz5KQhOi0UVIgoa27wT9MTzs/Fh5Ky5cLPQmvksbuA2Y6yn7wXxsl4WZoy7SP8FLzh+Ra28l2svfjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=weidmueller.com; dmarc=pass action=none header.from=weidmueller.com; dkim=pass header.d=weidmueller.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weidmueller.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Tit6rmzEZRai1FkdRp8QgPPUeB/0AyLmW9ayX20M9nk=; b=pw0toZgXoh7L2KzaY8IGER2lfJ70qFM+TSwoyyhWn/rrT6pWlz54h0znJwSDedO9gpvPR7LWJcRzrvZVLdeo0pEJQkIifqSoq10QPwu6ZvnzUowxDIzIzqqR8PxT7snRyHMF+KA3ng6Zb6g+cg1HV8U7+yAikvHevjD71WwjnHpY7V1vCDp6DxUi3Tr/0ObE+g7YcJ/lKtSO0re8LTQ76nmPMxsOJzHN6LuI/u8smhFbf+95VtpyIJV+4AQS3IZ6iD55jh1XDQqYgpXzgVLs2c/pOE6N2ds1O0xOx0PdofKdV/b84Xj0RvNCpqqAFtkImf+Gzb3rRNzdow8alLdxyw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=weidmueller.com; Received: from PAXPR08MB6969.eurprd08.prod.outlook.com (2603:10a6:102:1d8::23) by DU0PR08MB8256.eurprd08.prod.outlook.com (2603:10a6:10:410::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.14; Fri, 20 Dec 2024 11:26:26 +0000 Received: from PAXPR08MB6969.eurprd08.prod.outlook.com ([fe80::3b1:b329:1ed9:dad4]) by PAXPR08MB6969.eurprd08.prod.outlook.com ([fe80::3b1:b329:1ed9:dad4%3]) with mapi id 15.20.8272.013; Fri, 20 Dec 2024 11:26:26 +0000 From: Stefan Herbrechtsmeier To: bitbake-devel@lists.openembedded.org CC: Stefan Herbrechtsmeier Subject: [RFC PATCH 05/21] fetch2: read checksum from SRC_URI flag for npm Date: Fri, 20 Dec 2024 12:25:56 +0100 Message-ID: <20241220112613.22647-6-stefan.herbrechtsmeier-oss@weidmueller.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241220112613.22647-1-stefan.herbrechtsmeier-oss@weidmueller.com> References: <20241220112613.22647-1-stefan.herbrechtsmeier-oss@weidmueller.com> X-ClientProxiedBy: FR0P281CA0106.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::7) To PAXPR08MB6969.eurprd08.prod.outlook.com (2603:10a6:102:1d8::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR08MB6969:EE_|DU0PR08MB8256:EE_ X-MS-Office365-Filtering-Correlation-Id: a88e4f9f-b850-41cb-fc6b-08dd20e923d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|1800799024|376014|38350700014; X-Microsoft-Antispam-Message-Info: xtRXQRA9SuKeo5QOsJl44ynR5AkwSR0T33IY9mNNwnyUsOvKec/qjwLngUrspfOi2lZZz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XLo8NuaOGUVdQtorw9oyARvgBcAAK0AwrA2cfJoY1UWyU0b6FGsNppfwRJpsp3omRU6171I/x9FxjTmQGdyNI1itMEwkopAzrdNLgB55BZBejjzdkj0nM8gs0hTuNiaX3Ky2a5JckSKTQIVH7J6VTc7n6UcVUo+4Bd/uFpYgCowCeT8uLogZmnv5T3y7IrHr3YSX1fhtI9H5FRp3ffmn3E8YqnJ1bVImLd7tR3kyvWi6B6knLbuZsebHBTn4lX+W3GFT4kXYjuNNw7xE8fIA5/eIxbU2GmPmBIaXP5mj+y5qD3uapiKUS/3d+XI8F5KscCKfqe7Msn X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR08MB6969.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(1800799024)(376014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: w1N9wEgI795VNm7xZPny2627cx4IQmao+f9sPGUzEfGkt4fRZr70AFEI6pWoBNCr0ASviYm0Kzte6+ey8IBfqJQnL6842TNNmyldEM7+s1myvKpT3yDRR15qPQnWaKPF3cSz+I5Yz8U8Ty2TyZqujAaITX2GM0mi2DI+8TMdATSTczLoEiJSppXzs4E9ywqnztWKutWG/BdNHRpTizmbqZpPJOmOisXnTBkXEruedyko2x1SgKxvOuOG5UQsF2O+HXAgucXRGhIk5Tv4reKMBHd8dk8Xb9/Ik5BOfXLRgl+zC3sx2rrgLSI2POCI3cDTq6MLthVNVKuoniTbJZXh4nVpFwuQb+hxFQqrus86yQ3cRB9kkRpJBWCeTKW6mMsJ3rvkFKve+n7YqLdiN42Hc3cH1LAmZGrVudYR/8YvNhkk7KdMDJxaHQm2apu2bzwaWld74dMw2JobHk05zjNguub6iizlURME2QUuRj45EWcV3t/m8BXp0PKQRoZpSV887FjBKpeauagj0/6a5p9YXDYcifk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Ld5xoE+0yJK06MYTw== X-OriginatorOrg: weidmueller.com X-MS-Exchange-CrossTenant-Network-Message-Id: a88e4f9f-b850-41cb-fc6b-08dd20e923d3 X-MS-Exchange-CrossTenant-AuthSource: PAXPR08MB6969.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2024 11:26:25.8084 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e4289438-1c5f-4c95-a51a-ee553b8b18ec X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Be1s3TXD8DHsN1WwDpXUGwlxXypVEnU0wxJnx0Pq/Hc6knkdVTAJeei+ka1YpnmeCmiNBBN6zAfl5/ZNoi2B9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8256 List-Id: 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 ; Fri, 20 Dec 2024 11:26:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16924 From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- lib/bb/fetch2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 3d31a8d4a..d2a30c18f 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -1327,7 +1327,7 @@ class FetchData(object): elif checksum_plain_name in self.parm: checksum_expected = self.parm[checksum_plain_name] checksum_name = checksum_plain_name - elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate", "gs", "gomod"]: + elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate", "gs", "gomod", "npm"]: checksum_expected = None else: checksum_expected = d.getVarFlag("SRC_URI", checksum_name)