From patchwork Tue Jan 7 09:17:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Herbrechtsmeier X-Patchwork-Id: 55101 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 BAB67E7719A for ; Tue, 7 Jan 2025 09:18:26 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.129]) by mx.groups.io with SMTP id smtpd.web11.16587.1736241499941436827 for ; Tue, 07 Jan 2025 01:18:21 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@weidmueller.com header.s=selector2 header.b=ydQLbZMc; spf=pass (domain: weidmueller.com, ip: 40.107.21.129, mailfrom: stefan.herbrechtsmeier-oss@weidmueller.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tbOni7XNXB3eOXlaNzRl1uz9vFLzEvCXwIM81Q+vvkl3NnhicT/n2E5i5LuWA08UWyXj36q1a7tYf6Pr4JaHxWooionKfq0qGJiC4Z+FwFST0S50ufTOeWcqmgS5/Z+Y8kjXrZR4YmdPAWykJIUNZuFfYAyFekU20AjSrdZAJeSt5s1uTYaqvrVGk6lNdj9afZcp3FTO+0emSsdyU5LTFxAACCJn8ig15eLOapHHPGtnNRPMYZ89KPMychtnxKa0zTXDlOaAsEbC+lkvHxurk/l3BujPGRbVGPxrBAJ156OA6m6qMOpq5krW1B3krddnR1MLneezPknmrlqpInJGHw== 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=LQgS5sBydgRgbqVw61xycjThBuNQgWFQ76FxGPAPw/Xj9riBrVV+GJe67yVqcXqcXYYBdw6PrrNUjYHr6Xl7IP2Y2rFkG7wZoNZY2tS4COALFCb8D3zK6Mfz7cOnuomWjMvplHRBM6ml4pSNYVBsCNWI19vf1c5UBJqfGLSElvtV4a1lOFJbX5yJ7kEVKmNaSpJ8oKMNODJj7W6VP/WtX40hb6kctJ8+jZ0UOJvaxVvUZnN9aq1Rn7OhO/ckUHI/D1MwkRtIdzRid7l+mRPwRFoB/bZLVCCnhCriee3M8x3kgcwjPiEjLAILOvaQkmxMIdAFkmkVqcX89VigaB6dRg== 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=ydQLbZMccyb064341jWLobqzJePtj0Mr81P627x5knLyZ+fH2DwFFAHvT7pVPwc4vGDxDC/LeN1Tu6q9rfWXUjTTAeUnsyq84ReaPplzet3HovknlaPdwke1ShnMMZMaJ9vCvHi5ThAJ/+eZ5IVyhyFcYONy2VLFfquT08VjuI43CO8EwrWc24iFpriVr6UiwtKBaaWcW4LLd6qS8YFBomeDUp27MpchFMKhw7Lq64sDFFAA09MiC6GW00Yq5c51vGusa59WKm5Kc8k3CuAqymqumCQmwOGpS8TEkRf8ELlFY1hxRa5drURV/ziSBxbjC2HrYP9Nuj2M8COwGxRiuA== 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 GV1PR08MB10607.eurprd08.prod.outlook.com (2603:10a6:150:16c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.18; Tue, 7 Jan 2025 09:18:15 +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.8314.015; Tue, 7 Jan 2025 09:18:14 +0000 From: Stefan Herbrechtsmeier To: bitbake-devel@lists.openembedded.org CC: Stefan Herbrechtsmeier Subject: [PATCH 5/5] fetch2: read checksum from SRC_URI flag for npm Date: Tue, 7 Jan 2025 10:17:57 +0100 Message-ID: <20250107091757.886-6-stefan.herbrechtsmeier-oss@weidmueller.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250107091757.886-1-stefan.herbrechtsmeier-oss@weidmueller.com> References: <20250107091757.886-1-stefan.herbrechtsmeier-oss@weidmueller.com> X-ClientProxiedBy: FR4P281CA0015.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:c8::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_|GV1PR08MB10607:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c080724-20d7-4f6e-9149-08dd2efc36d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: Evp9rp12e57KUCvykNMAGVIDi18y/Q3nOGHgLBa1r7UaU+Asd1wACJQTK3nSMSKoskWGcNrjnMmdwKSNhX6aCVC4p0rFON666ZD3A2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aXc3KhQPfaG2uWdfuP/zZfxsN4UEnEa/WodbWR3F++XaV2F4oCjgA+B+0o0wIc5ZjE3PePTFKBG+btJXohqkxTnSp35jbwcAjs32Wct64r9tpQSkiOma0Kfcncwwi/8kdLDNbKg+mWekn5/GIYe/35sMyIhwTW21Qb7QVvH3aCEqkiarRBF2rcIobP7TnmWYb6uPJTMoP0o/uoeQhamoCWwGPOzmd8IagGEKv38nhlYLH7aA3S4HuUpHilf3jaqmBGVzvfrMk2wiXyya8eZUVKYKWrV 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)(1800799024)(376014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: puuyelePUqF0eByo+5erAzMqdRnz8l32xdt0b0T2+NswCBDCRc7pE99CP9qkq3EN0dbsiB30Vjc/vBC9pVwoGetIAR/gLD9SGOZ6SCED9pPoqZyTRh4Ig7lLZImMaYAxsCk8uBY4+GxZmMb47QKrrZ1smD6eaO+8EuR0TkSbkXTeLhZ3Lo5ObYietIHGr6/BqKQCjdkmFp0UKJBH0MLAxOgwov2hUoG8EIjy98Q5nF0ar5kfsLaHG7QbW5N3W9/L39qXmIJERtsxFAfZka83kaTAXmbO/SAc4UijU4xJZ4IPB5BcojhjrhdJ0q4zghmhxJcp7l9kNIfh5RlSuDCwr/JwV6cVwN0KYREV1L7kJOgZKCSCZTtE8dfhFxi30ZPgMjtuVW1uUMdfOWMzKO69B9MF5KTnT8ruDsHhUBO200jZcfGEBYMsSYrPwdAEIkbmG7oHTyNaEMmSIN2jwbxqW51U6DbS3Auybgc4p6qvQ0RPCpZeTlcSK3xbQ4k7Kz+gRsdNo5nVvAtBZTSfWgIuVqfZE90AWNd4RFQllVW3+2OWpr8TNeVGLm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.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c080724-20d7-4f6e-9149-08dd2efc36d2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR08MB6969.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2025 09:18:14.5193 (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: v/yK4hvL+msWXIvdKsYfvKyEeziGQfYPN0b/zAlK2aL98Ic2QqW6AVw1I+nzLwnciVWYBRmAnuV2upEjoUCEZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB10607 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 ; Tue, 07 Jan 2025 09:18:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16975 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)