From patchwork Mon Nov 24 11:46:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4627 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:09 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f57.google.com (mail-wm1-f57.google.com [209.85.128.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBl82B030396 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:08 +0100 Received: by mail-wm1-f57.google.com with SMTP id 5b1f17b1804b1-4779da35d27sf51932445e9.3 for ; Mon, 24 Nov 2025 03:47:08 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984823; cv=pass; d=google.com; s=arc-20240605; b=IEz7c/MrQPzq3AsjGqkubKhdWGoIwrL8ohYCqGGdS6csyH65aXX3O8qY8KCh1hB7ev aqcEvOK8iq7i3smb4GBQIztWTK87dq3oUQlzHXW3jDW+cvtOc7S0Pvmihk6qcEpjKNws 2CTQqsrrbnXv5/35mJ9HqYDZw1R5m1eaxIqrzOdLIAtqr7fNgpJ9ZsNC0oZSm1EpyRdZ eeU+oB/RR/TZ9lZmf/RkHlb1r6efPqiecZDwnMvB2wmxNmh5PdRpEajHsyyeyxOzb5W1 wiFRASKnOE7iLxzPEUDO7puc5tl2x2iIsAR7YUJyyOBn3J1QkIWwAkFHU4SsKWdZ2kmi 2Khg== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=9t1k7Nb1Mnr3VsaxU0MYVlFSkDF4BDAUhdEZA/OU11c=; fh=E8RTXe8/koLc+/e6lTSrNVKDy54Y6CctsY6wVWjTUVg=; b=MoMcqREi7kbZ5zCEODy0q9VhVqCkF3qNY51kCwl0hYRAq2FnTK3XQ6kczYfVis4Wlf MEn0UHoH7LvXony0GemtDvSRQfyl91XY+H9i1BsMAie0p04ONDi1SGRXkvNhOIO77ZQK 6JsFLRF2rxjCYwlAY+vssUqQ4V9eI27yqJFtDkpPwSp6r3bPwKvYjTgj7cxSeJPtVLXj vR41cvjIuin2julbuIkx08U//2us0qylbNOJxjzGXvjyHjnx8oz9uwmH0NgdTmqetRW1 tJJ2FGxYD6dcTnlL3X7Z2EhJJcvNbiO+UD/dPzWFcuG+ogysKQTGqkyFZ1fjF3gZdQwQ fNsA==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=chDlRG4d; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::1 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984823; x=1764589623; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=9t1k7Nb1Mnr3VsaxU0MYVlFSkDF4BDAUhdEZA/OU11c=; b=Xvr3n9G49Ax099OYL8ieWn9t+e8Tyzic0jdJadTzQqZ2/r6gRZecrTdFJREkJKMBeR +ydwmrXjdi3S1EzU+ycklqHAThPiUWM34r3YYXIukisrBk9QrjZH8OYoKa74Z2sefwQU IRbj9fQ1Zkryt+1hBy/5HEphe8O3f//TIMEGLzwR3LWMdfsJ5HvD/bRN0liNg+u0lF0T SUKORKqVDCvC4DQssxHuIPo6fGaX9/ZXWNbQYzlUKl0S41IJLTkHhsWwfcgXetZpr7QN cMgVfN61cZnUemI8QruCK7PlkGEZ2NNrfFXHH4+H/knQyNSj9uOK5geFJvt37GOk9UDT MfjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984823; x=1764589623; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9t1k7Nb1Mnr3VsaxU0MYVlFSkDF4BDAUhdEZA/OU11c=; b=Cm7rNz/Af+rSnByMlo/1erY+9006cQRS7E5HGkqyzT2HK9GhPtNyzgjPH2KSrkZo4z i1nvUOKs8yuk8n8B3a43oz9SZEOZpL3J0RNt2Ku7BE+h3pxaeWY123tlmmgDw4ryedYF zF9o9hCSKVoULbpHIKwKNZLGvW2zepPm8glq7734IZxTW47VU/H/HE77AGY1ZV1AeLe7 1XfQ/WFCcMbGA8zOBKzHD4t8BJfMam43Qt/fMxzOML3lnZ2wsjKa2vAZ6gflK2oGUJZC +jotmGhhxXr1IkAShy/XNWBLv+huio+kKLopqll6ThbwXNZF3w5Yb7iBn+ZS4dW+2/qI GCzg== X-Forwarded-Encrypted: i=3; AJvYcCW2bwp8H/gWKZi8xQnQ3I3Cd/7DFBRbPW2s/fOyr3UzTbpnpBKfRgRd/wGE5CiJgtGEJRv0Ebc=@isar-build.org X-Gm-Message-State: AOJu0YxVp5ntGBqGLJMVEjx6iEkVGevLmnkk5iFB+heIEOQ8/4ykMQQw BJ9g+on0B5AQKfZNUY3AXwNLr7Eu6HXLhjgfC2hfiEiiHV0QCPrc8oQL X-Google-Smtp-Source: AGHT+IGxP5WCM2zaf1c99v7qkYYlWQBPTyydnlrfl/x7FKxPPlOZZSYVGYcjlzV+XHNcBYsGRErIWA== X-Received: by 2002:a05:600c:4fcb:b0:46e:3d41:6001 with SMTP id 5b1f17b1804b1-477c01f7b9amr111966085e9.34.1763984822700; Mon, 24 Nov 2025 03:47:02 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+a0OjCJaaSyzBXiquDrTzjqNXLEyScUre385j3q0AYVTQ==" Received: by 2002:a05:600c:4f53:b0:475:dc86:85d4 with SMTP id 5b1f17b1804b1-477bf60b54cls15048915e9.0.-pod-prod-09-eu; Mon, 24 Nov 2025 03:46:59 -0800 (PST) X-Received: by 2002:a05:600c:4f49:b0:45d:d8d6:7fcc with SMTP id 5b1f17b1804b1-477c01dfe16mr126401775e9.27.1763984819506; Mon, 24 Nov 2025 03:46:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984819; cv=pass; d=google.com; s=arc-20240605; b=DxK3eKAuBtcuhkZi4Qd2yO94BvEFNQ7pym9gVQaBC2Kyv0Zr7JglFtsoFMnClYgJeB ePBRPe2bLNBRTjjJHpf4HyZV5kLZL9EzFTBhl8UqEulgReOwztui9r4GwSqEnnxuqhu+ 6S2YPFiQcfLj4Yog+IptxMAlz4sPntD47/3e2Es4eQNhYIHpVs+lLTftQ5yREZX7/VKQ HJDrJs/FGRfZZQdCQ835YE1l+sfkpAxYknSN2SLOTlMjatHVioGXKIo4e2MD6DzEcZv1 kgfJJH5GWinnsUU6ZscscLkwK8botuHL38oXRRjxM9FRVnSbWyPqiMDVCMdvNpEGZyk/ BW8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=LEgt3iMkhp8yW30wkqlXYv4cvAcpI3XHe/tVISz5hhY=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=Hk2RECcd53eqDFucv4e9NAqCJAx88Dr8P2JIhb875W/84NWZo25jeXJpsXKETBXe8b ZcdCalz2TMJtYBVQjdxEdy8GhxdyJxbN1wEjyjziQtDq5G7QajaJsLXYGdVSSbkas2LE +S0njUmMUFvs0sqDw3nrZMc4JXEajCZx3ih2pTl4OS99hxQ8vWD0ZMBxZw/9416IlCxq XR00uB++fj+y1iWyZfnlW4CH//jFXBsKtP+JASyFO7aQtU4rH806VrDyq/DlLjj3A079 2YMKPEa5YYsRz6e0zLTt1sG/ZNgubigvUCd8NOnNWjp2bM359lPpaNX5Qth+D/s48gq7 7rOg==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=chDlRG4d; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::1 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazlp170100001.outbound.protection.outlook.com. [2a01:111:f403:c201::1]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-42cb7f38f93si186752f8f.5.2025.11.24.03.46.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:46:59 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::1 as permitted sender) client-ip=2a01:111:f403:c201::1; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MUEWAr3tpNnzvH2WEXSS14U8r3kFEQFZVk5h7XtnI6FGe6bjnCUca4OVYKtk3I4y2Kngx1E4eQJ8oRbKu3CVl7ksXaWxbcVTgBAAMZd87VgTbeqKy5u3gd1xslZNfXRK7ug4qprPFPoUG7+b1OCjNqU4/Xvk58KY9ARjNDEuydVqxz2Aa0G2LFl6xkw8538wd2jU0ckiL/tM000bBOps0VRN5TCBD8VyQpjhk/GUhgevg5gWL/aP1Ky6L8EPCKK+0pDhMBlGUPJcDdoakVueSr1ioCu9hnEJbTPvIBZg/Jiw4+ASgYaMp7f00/3QEeqjzHTvhM3zl3ARzFPF8OKGyQ== 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=LEgt3iMkhp8yW30wkqlXYv4cvAcpI3XHe/tVISz5hhY=; b=jRH8nywchIXWKGHzd+Ca8WGsBpOkH8yb6gQTNT5PcmL+2fRx+0rtecJUms2i6rjObciG86XRj2VwswzOnyXbNaBvq4PMZwSaR1e28XQPR3SWh0WYieVCjG90XJkZHdYGZ4Dox+87D4Qe+jhWblm2bQ3HpAi/hlmzK+JxKgwptnmokAIsZWJQyQld01qtj9P88a/PI7ivyRM0ZT7b/lRkSyBPIAzTIO+2zvM9SgUEdKtXW3oLp61UVDMGR5tK2mDaiEXG02BqNEp1CdtMt8hdMYvxJA/VGP5AZqtenwJVJB+UymQFrD2P4b6XpdwCU0/RJWHg+t/XHTSMbGntrsxN9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PA2PR10MB9116.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:41e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:46:58 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:46:58 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 01/10] refactor: move get_rootfs_distro from sdk into rootfs Date: Mon, 24 Nov 2025 12:46:29 +0100 Message-ID: <20251124114638.2238090-2-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PA2PR10MB9116:EE_ X-MS-Office365-Filtering-Correlation-Id: 319b5459-c37d-4246-0930-08de2b4f2c66 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: nfxlIG6lNJDCrveiBMQJ6Ac+V9pV2VAkU8lEo9fvviQNkgGckW/kg1hTfaXso11T1YoYmuwnr6tW7OFOzkK1jLJRyzdiozbgqcVVZqR+3vDvF+oNkr+CwwxY5Z4bGwMmE3uamwHZHrpXhq0mMLCjbqtKmNRAOnjf6xs+2s6iuP2VrlOASDf/g5FufmfgtGzyMNkDQCTWL7dUkOkIpomgHVHdSJ5D0a3ohwdSNiSoazxMdaBiO8499wc1OSjdsjeXx7aTNcgmXgjOxxWotmNpJsS5W0E/7qIcnq/Ozgx9reuQFApKGVJoHu0eKfsBha19Gc//xvvS6jErZB4vSNc+OxTZ8oynth1qZ3G77oFBS2S+2iE2C0zeU/oGQxc7IMpphLyANNBAEqMqZmakg2okBbHv1cLfJlKTYf6R8ZVC8IBAegBAqj7i7TjbmxXwOMs9RJiiu4lgMErifvMI7Rn05gN+GIUYnKTNdGtllmGpJaSZwKLsKnUlPNDC9+dJgNHS3NL1DaiacPawVPlPwLM4Sf30NWQYOvjjn0C8gzYX/gILDT40rNScpn3SiJZE7iDkbWifLuGsin0Wv+6bWVwOgN+fciXq1kb9UpyqJnvwH5idAGA+bv1FmpasH7q/7rOENsv4OyDjtans9odIGLv7BAtC8+DMElzV5lP3rZc6AhF18MUU6xI+rHasdJVvxovA1Qt2+fSnj4SyJdxW+2Y4fufgqgUBiBkO/Ti9+8/VkSbjwDPu5ARdElNkB35nQ7EYvh6bZK8fmMB1V1HAd5kD80nWOmUFcmI5/x1aTpSMEA2dnyDxcGCYFZbcGheX0Dx9bW0xQ5bOUrg0T7JjBI4bdFLqg+/ZhgrI5yC4unxYxEDKI1bErOuCzoVBY3mS0mZfZljHfmcNt3A2C784+Gcq7QsLZ9ZCA1LNswWpOLFZGaQ1TLnI43Q1bBTQgAbUB1SBxddo88qgDuCcm2oOr3lHqKl+EJC4D0/dbKx49dJNHA9Eir72RGvb7Ea4atGHgDUZxLRHL+gG2JJmESxQyeyfJh/5Su9c82OJbC5FsS5c1iAmztVXv6Bypb7PKVFzpacq6kwCpSp0Y5Njtft9kkHCfD8DcbSW/Eid2dXTUEhAtuTECEYbTmek9W+CB/aY/J9Ma44LwqJKSleIKQYPRTfHNRvvhMjFj+hp+imR7kIwgWEyOpPDPswIpKRCWdaDHY4qaTDCfeJS7FmNqLd0KRAVGDtb7hDdWJEUFlt18tx+i4jF+GcBNiFGmF+gJZ9wmVqZ60+JJc+7s9/okMtbCf6u/MD5JCin55chejRwEm6pxmuZjVIm8sKKGgnvKnFrGZYXjCwmofkGbuSYMKUOOvEdlCFxLP1f/1gn9XrIOZH1ZfmMqIv9pMRIjl3lgMdUfMbYRzOhVxaRQtcWNj98ghozNNWwnXVwml/4yGi2Q0I3Ik1IdRxQ2Ll4iArSy+Ke6DF/ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YAS7n6mCEFmQhKt7btHgWUBq8odbjN3hrUu5Z6f97YISIw8mYHzzEYpUJqa5UDepVMJbLMbf1lMmZUUmWCNo1VkWvqI0kOxgPBG3wjnLfS+USeNurZCowPNsZyMhunA+DJDUnWR//bmaB88DHcphWkc/1kqxRE6bntu9Fg98UCBdm08PwuS83wWtJXhwkeYOKqMzM0Mxr6/mKn5PVrTwH2nx42pdhAIlSoOSFF7fsOGQfuARXxlNuoqtT1U5VYRMOrBeHL2NVy8PMOsn3ZR4r+W8WYF4tIunXEDAlYqlM4aaCv6lsntoC7xi58CEUlJB6LqDFKAL/e4LFE/c3bug+vLyGxugTHABb2kGzBvqSTTJLMN7M0OZkf8Q1QKxUIQO0GDZJFtyp5rtddC0wRrGKfC9TYA9jIuyFZPkIyYOREJBAmkCezpCjyKPCUJTESk42cyhL9wqGQvDs1Mx3QIA3Apw1OGlhEGFmB36R1F4o3/urYGXXg/GVcXM4FHV/GxbV5+2sPVHLZHGNCGAwMga03UfTcMRqWDkpdd13eIXZaRvtJKhxxs6sJiY8FIKdLsWsGzAbj9YJNxmjlwmPlJt3PQPPnyeWaK/a1i+g3mB0nhm1fiV5HODZdpsWVMzU6XWhHruTM2A74a2V7ixmhAzsKpblKSQo/t62IusDTJ8UekthbNgJPJMp4yWd2WJxpocmTtpQI5pQNStOIAOOi9xOr+rWA9tQJ0aXXL/X2nwkuiHYVx2cGyab5G8H688WbGy30WILMt1VuJon5knTnAltOTxduG3g4lG9+3GD7Me6VHqqa4ap7x6faGDsUnueZOQ3ttKQz/TpbZGHEXA+u9RzSBmdNuFnw7Klh/BJQ0fsIRq+eIuua6Jpj2p52jMqpZAVySVf2pgmdyxM/wEbF9dG3OC1ZBuiR3zVYYrPKc4rIrpDHvknIW6ccDsM9CbwLGrOQiajDjryzB7NVqM+43R1vBtSOtmH40aUWjvBpr0eqTa9M5YJ3XRsLuoNWn1O9mdOfhHMwAGTUEWg3C6GjqwB3ZDuVH3+B7wT6PDH8K4+0dCCnAg5Xj1b7zvl836Wce2ge3AngTaKQFB1CXGswMVF+7fRyFCvqRt++lSP8pTqAkA6l4gwGK2xXDYteGvxin5uUmkZDcbA2WgoaAw6uuCKHvQ9atifa+JoaKr52ilnA4+Ub0ZH079bbKm7fk/zJ1HftH1a+trtMlhYYwl+p1eGaxLnLHHhWiJw5qEwn/div+tVqKvaS/RblUIITzuqfoIlakINvu01klJt5Yw7ysRSGo20QlUCLAfp/N0sn6Ty3EkRkyUjtW2UKvDJMauwsyJf1R2D0SAlozVDAnA4LR8ZhHXcz+tlkZuihKMGNhIdksYsM9om1n32K/PPhwP7YOaNFIlV0/5p0G4uOWWlUROgWX/88V+p64icjnhIMm/afIMQc632/j7IqsDpYIwZCTwqqqzrB0/3acv52ffOE7q8axaIItABHyjtBhf0ITupFn95EXTShnYaVaLc+Xpx2ZTdUIrkOcmkRv1POnZgh6nGR0gm8N9JsT9G/jTHjymvNPqumvJtdBCVbld8qxZg02QutvUI4OorTAUYBWhMABC2Q== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 319b5459-c37d-4246-0930-08de2b4f2c66 X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:46:58.3727 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YUXqezR0Cvra+O8RbfBGSifDCX5Ld3AVZ5/ZDcv+VryBDCqMlWaIGzevFHVxjVrFtzTruP0nC3IN2lrfzGJ80Bwe0FarwYj6celF1/fjIjQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR10MB9116 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=chDlRG4d; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::1 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= This helper is rootfs (not sdk) specific and can be re-used to reliably compute the distro of a rootfs (also transient ones like the ones used by sbuild). As the SDK always is included into a rootfs, we just move it there and make it reusable. Signed-off-by: Felix Moessbauer --- meta/classes/rootfs.bbclass | 9 +++++++++ meta/classes/sdk.bbclass | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass index e1179e61..c045bfc0 100644 --- a/meta/classes/rootfs.bbclass +++ b/meta/classes/rootfs.bbclass @@ -43,6 +43,15 @@ ROOTFS_PACKAGE_SUFFIX ?= "${PN}-${DISTRO}-${DISTRO_ARCH}" # path to deploy stubbed versions of initrd update scripts during do_rootfs_install ROOTFS_STUBS_DIR = "/usr/local/isar-sbin" +# helper to compute the rootfs distro also under cross building +def get_rootfs_distro(d): + host_arch = d.getVar('HOST_ARCH') + distro_arch = d.getVar('DISTRO_ARCH') + if host_arch == distro_arch: + return d.getVar('DISTRO') + else: + return d.getVar('HOST_DISTRO') + # Useful environment variables: export E = "${@ isar_export_proxies(d)}" export DEBIAN_FRONTEND = "noninteractive" diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass index 46436d97..00cae0da 100644 --- a/meta/classes/sdk.bbclass +++ b/meta/classes/sdk.bbclass @@ -43,14 +43,6 @@ SDK_PREINSTALL += " \ devscripts \ equivs" -def get_rootfs_distro(d): - host_arch = d.getVar('HOST_ARCH') - distro_arch = d.getVar('DISTRO_ARCH') - if host_arch == distro_arch: - return d.getVar('DISTRO') - else: - return d.getVar('HOST_DISTRO') - # rootfs/image overrides for the SDK ROOTFS_ARCH:class-sdk = "${HOST_ARCH}" ROOTFS_DISTRO:class-sdk = "${@get_rootfs_distro(d)}" From patchwork Mon Nov 24 11:46:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4628 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:12 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f190.google.com (mail-qt1-f190.google.com [209.85.160.190]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlBnY030468 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:11 +0100 Received: by mail-qt1-f190.google.com with SMTP id d75a77b69052e-4ed74e6c468sf54065951cf.3 for ; Mon, 24 Nov 2025 03:47:11 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984825; cv=pass; d=google.com; s=arc-20240605; b=AlSnwQ/SxoZbG8VizoK7+6zqhHHvdILm2S6eJbQ8lQrUH1uuHhMsbVp1JdX9H3ZpEw +ZMGIup75lb/c1QpxPmcCaTZZG6vlvQDTyEVCJOXfFbfuUA37TWOWu4dv8R8dVchGXgk ydYhKkgarGT+Ec5ZSt1944NXHn70Vd5ja8Pc9DAuREWiKZlQEix7BA/++4MAhnnPXRMZ ek/57A8tnUZiGHHoJF7mRKfXdknjEkIY1eArNmuD68wSGzieoqXeJ2xxyP1b9SzSaAMa h2/QuqPCscePoSWgwAYf+5U2ZqNGlWv7E8UB3UV7dbi89SZy+egjwsuB+rst2YZFgzPA GAew== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=6QUpsenY/8G1XCJvndgDFd5O1YRWO1/DMTS4ndnlWKM=; fh=K1KxS/nfc350aEwzpym5TDWfN0J6EsNJ3kD3uD6bCm0=; b=JlnGHcd9QQvRtXOO+PGViq5Y3q3SXkpPuMmLgTqF103yuSbjtQoAHlWNnOoAhrgbxO oIuL/BbCFbXzezdsQW8CVowG5XXELvkljJKfh9eJkJ9rbUI9YP7dA6ul1ySYnVOsNtPK pSb6tQkhROBGsDOLBjeW7Wl3poupoKFWF2ohGk316+AZvRhYfcnxuDImkeiV5ls5MEuB y4DiB9Fshn8aEqdubcd4uJrHGmNgmBbKW6z0EVxGpVHtRPfupc7SBiKIuhF0ZlF3StEb QEixAWo11JB+kqRhxrztThiCR3lzZbEF75EnuO6RFyDf4epLPBUwkt0DSOA+m9SyNZz9 a4cw==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=QEEPUHel; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c202::7 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984825; x=1764589625; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=6QUpsenY/8G1XCJvndgDFd5O1YRWO1/DMTS4ndnlWKM=; b=H87GDLx9QwgNKURGTHTFZczJKEZLN+QgXGEUNpHeqzGWrPgZYd654ekXyUYU7hUTnD 4ZTAPQR3sfIOe6bohZ+xK4kvT6NcrblfMplkVNQg3Js5NaSJJXE1XrKtI1i9APsuH1NL AuLYtjHF9v9jgYB0yk31F0YSLYPcnrttiOmmPQc1i5IkXUSbDLo46Dr+mPsV0UqK19BC 2Hu3JM83pdtSaJt4X2SD1BXrmPYVMDn7QjZG6X+wywtomLJtxb6ZhtXFUV/RsA1oZK0u pG8Ou1GL9gS0emuVFppbTGs492haHtkLCnmRaY5Pxh9XiaTL+tmfPKZwN0gSMXE71Usx qiKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984825; x=1764589625; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6QUpsenY/8G1XCJvndgDFd5O1YRWO1/DMTS4ndnlWKM=; b=eKcn70A/xbOtIe4zf7r6lMWrabXuVQwj4gvNDR0KIKwhyutU9ivxjwCcFFHnONmjSK 5/9DUp9zbCKTq5D+eJn9METb9eqLz1FFZASRNiLXKRruI3R5TVza9BLJ575XMy+/hjF8 qtPO86HxHHTFJkAf5aqSeluPCP1WJqFfOjzklLtqnv8zDTJbLKpQp5CC4dBb1wNyN77W jU3EEJWlvcjXoHke3q2tDu4hrwxp4N551Q8C/0nJfndagOIxP6zkuxjaaixC5hbzFOzM BqEO4qmWpjrM3oDdSKIIP2gJiLmbpglUvb4e058ieoHuLp2QPuKsCID2uyHHj+e+YZbk nd/Q== X-Forwarded-Encrypted: i=3; AJvYcCVk83wmQAuAOpqJEuadJSsQn5Al6WBLyIAuAZUS4VFuL0o9T6YbDiwq+QP9Ypb8YbvMKLwj0V8=@isar-build.org X-Gm-Message-State: AOJu0YwaKQHpv7wu4GOYSHZyr6H8lwfGeRNF8jRln8M9NgB0bQMWNP2z DkNiIMC4c/ADXhMHk3qVspYFAvuVRJWD4u8xgyzqlJTFVtvHb86SvVhf X-Google-Smtp-Source: AGHT+IEy5eR2JERZVgAWtn8dIYUdD1pjTKxUq7YbyVC1pSzlo155dJQ+5PEPMVDzagA0HdSexAM7cQ== X-Received: by 2002:ac8:5908:0:b0:4ee:4a1a:8242 with SMTP id d75a77b69052e-4ee5893cf54mr157187871cf.73.1763984825023; Mon, 24 Nov 2025 03:47:05 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+ZMYIrAog0OPlyNhtDkBTV7vEpE54GvMBfg9jW1xHkj5A==" Received: by 2002:ac8:5d04:0:b0:4ee:1b36:aec4 with SMTP id d75a77b69052e-4ee48fab8a3ls83538991cf.0.-pod-prod-08-us; Mon, 24 Nov 2025 03:47:04 -0800 (PST) X-Received: by 2002:a05:620a:29c9:b0:8b2:271e:a560 with SMTP id af79cd13be357-8b33d476f5fmr1138218685a.72.1763984823932; Mon, 24 Nov 2025 03:47:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984823; cv=pass; d=google.com; s=arc-20240605; b=lb8e6d0I58ABHYe9YP5eIuiqhI3/KKillOxdFib3JNCoXfnq8KO1RBbGthyImFHEik hL82nM1MR9zxySE6QMuy9UVL3qyiol69jYqDSuDIIrLdFLpjeBv2gqfR5frJg3e56KZQ Byo7nEIDW51skbdgBT4MoeZ2QmQBF+wH4cFpKrV2NUaIL+DubEuld2zyYhJPNngm2jio JtFLbpMIdaSC1q5MDInBxdx99PYUDshwPidLpGdVWI/496XdRMklbIOZgD87aKvB2Gta BTHe9iXIrHmcdRNr+moFP0G805GYJ8pBOQL4O8/phmULRivMgY5ubvfs31nuQ9ymoI7K rmXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6M05J8cNSbyYYTZwjED5ijYHSbZzsHsJMOQkteSubbA=; fh=lXAfkm/bqUuMyEbZqDnRxjs+8+ouAkuxpMTPCNkgt6k=; b=B5zkYG12tS/MEgJGghVpKoRasXbLNIxigRsRubh+bxAo2TW8j3uO3JSf+MRTad0ylX LilgdVUycZxXKanJ6TiwAoleqNbbEO6bRGXO7b19qEQjZ6xF6swGmSU8nTNJdkJUeH17 doI5K63EJV/872xP6PAPvyimDOForjXfg2j/x46IPqJL1XNB8VHESUgWIM/iq9fY5A9D JcQ/gHKIz0rOyOyxSr19p7U28xMjLiqcRLFqGeuCACamDeWkzv+IViJGBhJg2bcHaocA UpyIRNeJoyLhRa8tO7uEo0OiYc/BmkQtbc3r2iywasygoCE3I4RX6RUJvL44X8GXepXl r9UQ==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=QEEPUHel; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c202::7 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from GVXPR05CU001.outbound.protection.outlook.com (mail-swedencentralazlp170130007.outbound.protection.outlook.com. [2a01:111:f403:c202::7]) by gmr-mx.google.com with ESMTPS id af79cd13be357-8b327e874c4si44962285a.0.2025.11.24.03.47.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:03 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c202::7 as permitted sender) client-ip=2a01:111:f403:c202::7; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B/x+e+GwIHdc/muFhKkBAqqGX8lwo3BDRkyonbVOitgdGXSmUga+g6xlEmil7cBMu2LMNBq9uYnqjiX+EjyvNGbxdHd+BeXdDCLUVV4kLkAGngA8suWXoIzr8UZnWnEPL9YCbimLxYSshwZHtRKfbBbQP/muw2WZ7M+z2KmfXpINRfNulFJx8Dvkjg1AymAavhktTYZxKv4ALx0adGKk9sRvEUsaSO//IZFIOc9u9a6chF3Pa/Dbt/mCrYt6sy0y8/RMaCTHnjV5tlsj4blLzc7RIMy/z7ScDztDiUOk76m3nYXoIqpYInCNe0cfyU4lZ+T85NNemZy4JNRY1iiz6g== 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=6M05J8cNSbyYYTZwjED5ijYHSbZzsHsJMOQkteSubbA=; b=FlEwh1BDyII/k+gyys0jqenaIkDGehNResmm5OKC989uPcccO/oNz+qu/vR+lddbY4K6jD+sxznNAoTciWTo9r3X/2kvZ7umxgIxEIv+CKaKLvgrBAB0+2zBxzoKGcXN8OzPGXOlAbTxgdlOTDyAqkYkVRQLYp1bfJK/itUnVsPbyqSBekwfRa9RIvsOnWRfNxmj2AsXHhT8cQaspSoYVdXxSAdwwsWLINZA6h3mNkZgkTkG0hATmeeDvNRoLdVhXPNuFCcq8irEhLR9IAZZ/8eDIjruLQ1ryPhKqAAgRip5OONOVzrSX0UojCS5BxjaSUabnO02Q80C5+XiJ8il9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PA2PR10MB9116.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:41e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:01 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:01 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com Subject: [PATCH v5 02/10] meta: package python libraries for SBOM generation Date: Mon, 24 Nov 2025 12:46:30 +0100 Message-ID: <20251124114638.2238090-3-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PA2PR10MB9116:EE_ X-MS-Office365-Filtering-Correlation-Id: 7447ee65-5528-433e-f353-08de2b4f2e49 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: QUYPuY7u7BAv9SZE4E5M29IZyqvV/8BMGmrdqKavlIAuuhzMr9GHPkKx6Cb0FNcwhKOCV7cnroRYy0rbu3/P6nPtRABJYeazWtAHXWsCSiTRBnOhG3IPjjAe+emuV27tr58vI5GBU1H+efj3zCQhf3rOOna4m9AEWGdMTe4HXAdR+Uw01kYNSQIhE31JAbeRt074JkT8tK0SHV9WpNu8LspMrEnlLlsqknyfzqXW3DvUefb3TQoaoY0D5Fk2Fa0Uqh6FOmoF4x5wBPARim/KdLlswyOUpwVdvzoKCvvW2HNTgSaz3+C+7vgNgBgz3KggMwM0wP66583tIUfctgTmX9rG2Os11jSv6I7OlyMWY16WQ3ojoFqZKuCo3lyeIJX0W5VRg9aSfw+fNZ9fi79NJl0xUDtktt6e6ix0vey4DEpQfR+LG4ItwcJtonH3fWtwHpfOeMYmpX92qXkNRb93wAUf6A9wef14K7RzDgbyHt2jWVIHmXmthiKs9oaqzGK2mFcJR+4F7sp0CYSKxDJU42RiX4dlRUBucli5pDp2NLe2NUItVUb1HK6UeQXZhxY5szPpy+5R3eg4b75VNRVpFLcFP6VacyGd/e5PQCipmqZqxOOYAlQj9puJkha2iLwrz48uFs+bKPJqBmPSotAEwJGTpX+tCQEsof8yMF92f7wTzHJNnv72LNhB2he9o2MJbGXthPI/6j9Q5q/MYDGHUzVdH3aYlf+w0bMPgr5s7EY6bWuJDoUdUuyneelvLw3/5GD4/6IR6/v/kc4mMdqnsPUlyGLssM9+AhHVgxyX/ASwQvfaSngkO2VmlYCPlj5PiuKwbv4/OuYEEYj1ZPcJKIRk34jE/T48hlmCJppNpNHMkmM4Q/omQsDFk1dTRW1o3elu3WdBnMQ5TFcWoq2EiLc5L8WBYmTm4ifZjZyO+QBAJM4J5ieSg6visgeQX7wsUaeL2cQB0BW0agCPa/UdGaNPn8Ku/y7ZrnNjqJf9WNzqqu0mmI6k3JonSAg6yrxMpr9CZiYXD3r03IYzn+f+02ceYnZD5dPpIwEG3qzzljICisKQG74EJWLFtZwOX4d2UCKTssqnf9maxpSOArRJIWpaL8MqqtVOKPVhuu42XI12LgkBsL7PEDg6Sta0WEklCRUDzIsDB2yc7vDJ0PcQ+FKyafJUtWHG72MkxV9Fqqmrc5BWo2FXaCYs2jHc7MFvACOAlVHtstz9VnDwYgvUJeIxJlv0GTNxkzKSNimN7QeNvog8KhtZEH05KyGxe2Baom0uQiMEbSlQy/EWodyuax84GgE8fiCDAyla1T4veYK/8ZmZzY1MKhkd6Kezj7qn4FpjPzsybIQq15KvCVvOzUhqPQGgeXq8JtnRtmcw+sWGniq1U0iyYKG9aF28kS4GjoGF/q3FXZEY8MEy9/V1RDWSv2LJmk4dhESWP9Klipb9091ugzdpllxFAToLy6kcuOmAG8NnDCr/fC5M1kcvaA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Vvu7YQY/28sRbJ1nLd57ZCSMfThxy9a5mdGoUzKN127aUBFCNJLvceDAB2q4wazAU8lRLuVQ0kzA5NZXaUYCs3iLdRQt/QN98MUPW/n6mTHz7+2akHPyMSKVz+w2SHxy4zjUrCKMjM//6xydd8BcoKztpOpEVR4Yu6XnKdx9lctFD1H4Q2nSY1ajfHMnkncXaGPFnluuBkNOPXDU3DcRpQPusTNRtG3Oy3sY43G4Wyhext3vs/n9/+Z3Ssjsv0ZfZGUzfl8+erM1MZWVRGX0QijqWUMAacc9iKLywuCbwQKQvx/6hMb/bTuSX7B+UmHCzdAN4zNKWsGOsgOqsSr+fu/0qX7rXdIod837Uj++Xnuye0gW+lH2fqo6YyVSZrSOoJfR7Jbdn8VPAKjtKXKUqsTT6KMg/2NN97tO0BsnuVWrNcjU369Xyr7aQzCKRmqGQD4PuC3E5S+8mzS4nh3XtO5f1l7/E3kS00Wz8ZNty2ok9ra53DGDYlLjDCATVhY8TkvYFofq+yCBfWsv3rZApW60DH45MUxWkI4OXsH8Gkzhd0yBM546rqDagWZApYLHUmiaD4QDVWNoAPvcIdnkOVS5LbW3/OyHWhXJZQl2eNGCC889BE1xGVGOfvk4u9LNPDM44euOiE+G6RdGb7AYb4iaDhurvgCwNEfqFKGT4ZOukOtZtQKUX3Tm1FvhroP4Ey6FwNGsfVIXs0Ed9/8qoWSOz0Ks6oL6nhFCreOmGgLr6It9E+LcCEdVUlMpR9sGo+z/lTlKTI5OYSi6p4amun4dqFKA73c7uhVApyPdz4dOjgX1vrDO0X2gC21Pf4xKTUDFW1XK2pLyaQ5jdpJmqCNijO4qdA6LCpXgSZELc40vjKoGaIpKFt/N1+Caj+5X27RnEInEq0fLISDUC/T7c7GmmuU43K8TjO35bA2HW6T4DWkde08g94L+8DkTZcBbAcd+LxpxZiDYWv6Xn3eLr38G8saTDKo6aLaHk/fL9yfstWLlla8dClVGk/DvHY9WN3noEHUaQyYMPBGGLY5d5//E/QZJL2F/hPmDxb/VmZd+328sdjYwfoQnJXDWmudPzj3H8cGk2VmdUi7+YFGaoZNsWrg8IDlfupiMTzwACkHkt6e+2Yvlkhu6vksB8wh7cudweow6x+dBVZONmyb759WaSSE/art0J3zOsJN0m/K+vO0cGhMS0ufwmEngc91q3sRSZGPdOphjhCiZpzVbPYHXP3nPmHoHAF/x7Bkb3PtaPcPbe1YEQh4m0CNzpVwvqa2b+shgtR/58/yJoawMi52H7+e+yTjw8RzPtsOon37/iQ7b4NBw0betM3+520PC5pu4CTOVSPoT3NWPkbU4uHGqp1DB6C8MklxjIH6f3ruWZ8SX24ulNBvIWxGeiU/54G5nuoxu7W2zOYPZxKNr9TtLDS13tyvuvAYdEyNBxvzA8Muk3WSBMQaG3owWBCeOfTH951F9wGmv1BKc4uHU+OjM0efMMQUkuWkETr0+GKqLE4xMwj/71PVbaUsd+cr8HDHRIG6GbvNw5fGw7jxhcBALJfmYkGhRR+P9eZ57emx4L4OeeSzFCvJsqNTv9mNwVH2s80XJYTAbRiYJ7utI3Q== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7447ee65-5528-433e-f353-08de2b4f2e49 X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:01.7307 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SaQm6jN074J1bnYILaueqPCZhqdpfTtuZZy4AFuzaeW1OCck6Diu9vwvgTSJEt7Db82k1ethaA7NhYg5YId0jnQQKvukPqFukpUl64K3eL4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR10MB9116 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=QEEPUHel; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c202::7 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Christoph Steiger Package python libraries for SBOM generation in isar. The packages are unfortunately not (yet) packaged in Debian, thats why we need to do it here. With these libraries it is now possible to easily create CDX and SPDX SBOMs in different file formats. Signed-off-by: Christoph Steiger --- .../python3-beartype/files/rules | 8 ++++ .../python3-beartype_0.19.0.bb | 29 +++++++++++ .../files/pybuild.testfiles | 1 + .../python3-cyclonedx-lib/files/rules | 8 ++++ .../python3-cyclonedx-lib_9.1.0.bb | 48 +++++++++++++++++++ .../python3-packageurl/files/rules | 8 ++++ .../python3-packageurl_0.16.0.bb | 33 +++++++++++++ .../python3-py-serializable/files/rules | 8 ++++ .../python3-py-serializable_2.0.0.bb | 38 +++++++++++++++ .../python3-spdx-tools/files/rules | 25 ++++++++++ .../python3-spdx-tools_0.8.3.bb | 46 ++++++++++++++++++ 11 files changed, 252 insertions(+) create mode 100644 meta/recipes-support/python3-beartype/files/rules create mode 100644 meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb create mode 100644 meta/recipes-support/python3-cyclonedx-lib/files/pybuild.testfiles create mode 100644 meta/recipes-support/python3-cyclonedx-lib/files/rules create mode 100644 meta/recipes-support/python3-cyclonedx-lib/python3-cyclonedx-lib_9.1.0.bb create mode 100644 meta/recipes-support/python3-packageurl/files/rules create mode 100644 meta/recipes-support/python3-packageurl/python3-packageurl_0.16.0.bb create mode 100644 meta/recipes-support/python3-py-serializable/files/rules create mode 100644 meta/recipes-support/python3-py-serializable/python3-py-serializable_2.0.0.bb create mode 100644 meta/recipes-support/python3-spdx-tools/files/rules create mode 100644 meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb diff --git a/meta/recipes-support/python3-beartype/files/rules b/meta/recipes-support/python3-beartype/files/rules new file mode 100644 index 00000000..0ca517a1 --- /dev/null +++ b/meta/recipes-support/python3-beartype/files/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = beartype +export PYBUILD_SYSTEM = pyproject + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb b/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb new file mode 100644 index 00000000..b8bc2708 --- /dev/null +++ b/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb @@ -0,0 +1,29 @@ +# This software is a part of ISAR. +# Copyright (c) Siemens, 2025 +# +# SPDX-License-Identifier: MIT + +inherit dpkg + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +S = "${WORKDIR}/beartype-${PV}" + +MAINTAINER = "Christoph Steiger " +DPKG_ARCH = "all" +DEBIAN_BUILD_DEPENDS = "debhelper (>= 11~), dh-python, python3-all, python3-setuptools, pybuild-plugin-pyproject, python3-hatchling" +DEBIAN_DEPENDS = "\${python3:Depends}, \${misc:Depends}" +# this is 01/01/1980, any earlier and zip in the wheel building process will not accept it +DEBIAN_CHANGELOG_TIMESTAMP = "315532800" +DESCRIPTION = "Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python." + +SRC_URI = "\ + https://github.com/beartype/beartype/archive/refs/tags/v0.19.0.tar.gz \ + file://rules \ + " +SRC_URI[sha256sum] = "e7ad00eebf527d60f30e0b391209b561dabd2074b608c50e26c94c2d8250a6cd" + +do_prepare_build[cleandirs] += "${S}/debian" +do_prepare_build() { + deb_debianize +} diff --git a/meta/recipes-support/python3-cyclonedx-lib/files/pybuild.testfiles b/meta/recipes-support/python3-cyclonedx-lib/files/pybuild.testfiles new file mode 100644 index 00000000..cc736a36 --- /dev/null +++ b/meta/recipes-support/python3-cyclonedx-lib/files/pybuild.testfiles @@ -0,0 +1 @@ +pyproject.toml diff --git a/meta/recipes-support/python3-cyclonedx-lib/files/rules b/meta/recipes-support/python3-cyclonedx-lib/files/rules new file mode 100644 index 00000000..fe72dd1a --- /dev/null +++ b/meta/recipes-support/python3-cyclonedx-lib/files/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = cyclonedx-python-lib +export PYBUILD_SYSTEM = pyproject + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/meta/recipes-support/python3-cyclonedx-lib/python3-cyclonedx-lib_9.1.0.bb b/meta/recipes-support/python3-cyclonedx-lib/python3-cyclonedx-lib_9.1.0.bb new file mode 100644 index 00000000..738ed1b3 --- /dev/null +++ b/meta/recipes-support/python3-cyclonedx-lib/python3-cyclonedx-lib_9.1.0.bb @@ -0,0 +1,48 @@ +# This software is a part of ISAR. +# Copyright (c) Siemens, 2025 +# +# SPDX-License-Identifier: MIT + +inherit dpkg + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +DEPENDS:append:bookworm = " python3-packageurl python3-py-serializable" +DEPENDS:append:noble = " python3-packageurl python3-py-serializable" + +S = "${WORKDIR}/cyclonedx_python_lib-${PV}" + +MAINTAINER = "Christoph Steiger " +DPKG_ARCH = "all" +DEBIAN_BUILD_DEPENDS = "debhelper (>= 11~), \ + dh-python, \ + python3-all, \ + python3-setuptools, \ + pybuild-plugin-pyproject, \ + python3-poetry, \ + python3-py-serializable, \ + python3-packageurl, \ + python3-sortedcontainers, \ + python3-ddt, \ + python3-defusedxml, \ + python3-license-expression, \ + python3-jsonschema, \ + python3-lxml, \ + " + +DEBIAN_DEPENDS = "\${python3:Depends}, \${misc:Depends}" + +DESCRIPTION = "Library for serializing and deserializing Python Objects to and from JSON and XML." + +SRC_URI = "\ + https://github.com/CycloneDX/cyclonedx-python-lib/releases/download/v9.1.0/cyclonedx_python_lib-9.1.0.tar.gz \ + file://rules \ + file://pybuild.testfiles \ + " +SRC_URI[sha256sum] = "86935f2c88a7b47a529b93c724dbd3e903bc573f6f8bd977628a7ca1b5dadea1" + +do_prepare_build[cleandirs] += "${S}/debian" +do_prepare_build() { + cp "${WORKDIR}"/pybuild.testfiles "${S}"/debian + deb_debianize +} diff --git a/meta/recipes-support/python3-packageurl/files/rules b/meta/recipes-support/python3-packageurl/files/rules new file mode 100644 index 00000000..50e1b74c --- /dev/null +++ b/meta/recipes-support/python3-packageurl/files/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = packageurl-python +export PYBUILD_SYSTEM = distutils + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/meta/recipes-support/python3-packageurl/python3-packageurl_0.16.0.bb b/meta/recipes-support/python3-packageurl/python3-packageurl_0.16.0.bb new file mode 100644 index 00000000..27209429 --- /dev/null +++ b/meta/recipes-support/python3-packageurl/python3-packageurl_0.16.0.bb @@ -0,0 +1,33 @@ +# This software is a part of ISAR. +# Copyright (c) Siemens, 2025 +# +# SPDX-License-Identifier: MIT + +inherit dpkg + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +S = "${WORKDIR}/packageurl_python-${PV}" + +MAINTAINER = "Christoph Steiger " +DPKG_ARCH = "all" +DEBIAN_BUILD_DEPENDS = "debhelper (>= 11~), \ + dh-python, \ + python3-all, \ + python3-setuptools, \ + " + +DEBIAN_DEPENDS = "\${python3:Depends}, \${misc:Depends}" + +DESCRIPTION = "A purl aka. Package URL parser and builder" + +SRC_URI = "\ + https://github.com/package-url/packageurl-python/releases/download/v0.16.0/packageurl_python-0.16.0.tar.gz \ + file://rules \ + " +SRC_URI[sha256sum] = "69e3bf8a3932fe9c2400f56aaeb9f86911ecee2f9398dbe1b58ec34340be365d" + +do_prepare_build[cleandirs] += "${S}/debian" +do_prepare_build() { + deb_debianize +} diff --git a/meta/recipes-support/python3-py-serializable/files/rules b/meta/recipes-support/python3-py-serializable/files/rules new file mode 100644 index 00000000..0cf845dd --- /dev/null +++ b/meta/recipes-support/python3-py-serializable/files/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = py-serializable +export PYBUILD_SYSTEM = pyproject + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/meta/recipes-support/python3-py-serializable/python3-py-serializable_2.0.0.bb b/meta/recipes-support/python3-py-serializable/python3-py-serializable_2.0.0.bb new file mode 100644 index 00000000..5bc48c0f --- /dev/null +++ b/meta/recipes-support/python3-py-serializable/python3-py-serializable_2.0.0.bb @@ -0,0 +1,38 @@ +# This software is a part of ISAR. +# Copyright (c) Siemens, 2025 +# +# SPDX-License-Identifier: MIT + +inherit dpkg + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +S = "${WORKDIR}/py_serializable-${PV}" + +MAINTAINER = "Christoph Steiger " +DPKG_ARCH = "all" +DEBIAN_BUILD_DEPENDS = " \ + dh-sequence-python3, \ + pybuild-plugin-pyproject, \ + python3-all, \ + python3-defusedxml, \ + python3-lxml, \ + python3-poetry-core, \ + python3-setuptools, \ + xmldiff, \ +" + +DEBIAN_DEPENDS = "\${python3:Depends}, \${misc:Depends}" + +DESCRIPTION = "Library for serializing and deserializing Python Objects to and from JSON and XML." + +SRC_URI = "\ + https://github.com/madpah/serializable/releases/download/v2.0.0/py_serializable-2.0.0.tar.gz \ + file://rules \ + " +SRC_URI[sha256sum] = "e9e6491dd7d29c31daf1050232b57f9657f9e8a43b867cca1ff204752cf420a5" + +do_prepare_build[cleandirs] += "${S}/debian" +do_prepare_build() { + deb_debianize +} diff --git a/meta/recipes-support/python3-spdx-tools/files/rules b/meta/recipes-support/python3-spdx-tools/files/rules new file mode 100644 index 00000000..ac87528a --- /dev/null +++ b/meta/recipes-support/python3-spdx-tools/files/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = spdx-tools +export PYBUILD_SYSTEM = distutils + +# skip tests that require hard-to-package dependencies and tests that rely on relative file paths +# TODO: figure out a way to make these tests work +export PYBUILD_TEST_ARGS=--ignore tests/spdx3/validation/json_ld/test_shacl_validation.py \ + -k 'not test_examples \ + and not test_parse_from_file \ + and not test_annotation_parser \ + and not test_snippet_parser \ + and not test_creation_info_parser \ + and not test_json_ld_writer \ + and not test_extracted_licensing_info_parser \ + and not test_parse_file \ + and not test_package_parser \ + and not test_relationship_parser \ + and not test_graph_parsing_function \ + and not test_license_expression_parser \ + ' + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb b/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb new file mode 100644 index 00000000..30d090a9 --- /dev/null +++ b/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb @@ -0,0 +1,46 @@ +# This software is a part of ISAR. +# Copyright (c) Siemens, 2025 +# +# SPDX-License-Identifier: MIT + +inherit dpkg + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +S = "${WORKDIR}/tools-python-${PV}" + +DEPENDS:append:bookworm = " python3-beartype" + +MAINTAINER = "Christoph Steiger " +DPKG_ARCH = "all" +DEBIAN_BUILD_DEPENDS = "dh-python, \ + python3-all, \ + python3-setuptools, \ + python3-beartype, \ + python3-semantic-version, \ + python3-license-expression, \ + python3-pytest , \ + python3-rdflib, \ + python3-uritools, \ + python3-ply, \ + python3-click, \ + python3-xmltodict, \ + python3-yaml, \ + " + +DEBIAN_DEPENDS = "\${python3:Depends}, \${misc:Depends}" +DEB_BUILD_PROFILES += "nocheck" +DEB_BUILD_OPTIONS += "nocheck" + +DESCRIPTION = "SPDX parser and tools." + +SRC_URI = "\ + https://github.com/spdx/tools-python/archive/refs/tags/v0.8.3.tar.gz \ + file://rules \ + " +SRC_URI[sha256sum] = "17cb0140adbaefb58819c9d5d56060dc6a70c673a854fa9bd882ecfa4e062a7f" + +do_prepare_build[cleandirs] += "${S}/debian" +do_prepare_build() { + deb_debianize +} From patchwork Mon Nov 24 11:46:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4629 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:16 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f58.google.com (mail-oo1-f58.google.com [209.85.161.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlFsl030530 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:15 +0100 Received: by mail-oo1-f58.google.com with SMTP id 006d021491bc7-6574475208esf1550415eaf.3 for ; Mon, 24 Nov 2025 03:47:15 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984829; cv=pass; d=google.com; s=arc-20240605; b=jrtGExawshMo29bCTnQZuOFM78VAEmBDzjWfLUHBn+Kg044qrllM6Vczb872ZvX77L QF6BN8sBhQTp0sk1lWF58YLMh/HNHbWaL6lC3wv61RwAHDcGLMYuQlPVWXhheH7B+5Mv ajNbXifLxqJ4SHHZfC9AWZ4SYtKF3X9LGDlwOfVC/0Vha0tEKfyFYLg9kqZXo53FF0Ow OjcMoFBDYvoFn+d7K6CQY5OvmETgkG0o9u1dPp4w+/+emkPoz4e1zhy882NXgOZTiBEv 7GGmEO/SW+cq+178JJ/8rcSqC99QHl7uVCt9LIlfUl97BmeBPgkAAVDEdYkqoRKhiChF nhUw== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=gzOSOa/flR86xzmk4Ox07JD7xd9t4qZZzDo9pRRaakY=; fh=9TsqPLaOXNqguk0Xbul6GLv7GvKL/ywpFhAVbzWh59g=; b=ZwTcs2nYNbUnGt0hZMxb+QtkIkActcnlCdXumM1QmZVygZJbomJZQI4VSIMX0PDw8z 9vCk/DLY1WZH29PSj3tqNIrIcSb6Gn63JQ5VYJf/3CYcF2H+hUkShxsNBPGgP9PEG+79 l65khIWZta5lgvDilDFZM8Hd8DSB+Edk/doxpI1FzR5vvW9R94IbbW461GCQGq8zhUgW 8JNJRxwsXlEZdRm93rUj2Xlli6mpGKz0dvefVa1/dtxZL+/HgIaOU7C41t4GECHqUwtk p5Axoj8KtwZqtPOKLKTN6XUpeDoydQuadn9dg7315zQ4HztFFtGS/2zNjiShRSX9kB9C zUow==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=JWriOWov; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::6 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984829; x=1764589629; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=gzOSOa/flR86xzmk4Ox07JD7xd9t4qZZzDo9pRRaakY=; b=Vqp6kZAoY2e69It2GFdrghj6G68sEX9ew/73wcxcVHeWe/lubtd/09KLSt9qPjpLuH iGL9oN8vPdGTMJpTWgUovZb8bn/CyOnpmQ6b/9Wa271Og6zki00RC4MkUnG7jNA+K/r9 1tINSWS09e6b41H6PUEniucO9nN59EhDIvlO0Zln8gtYFa8EXMgHXoJSMD38HkQgn943 p7nQ6g7GoxXRLTAhH4RmB3Z6u6BBxMgECDjSwd2vyrwlqL9UD2rb5Thn1MyoatQ2+rdp pKg7EIyUlM0OcG7DI5R8N94A44yJqCoVMYHNOBhE715DhS3RJsjk/qzp08tCD2u+KtFr TUBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984829; x=1764589629; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gzOSOa/flR86xzmk4Ox07JD7xd9t4qZZzDo9pRRaakY=; b=TgKozSdeP3l+Bak9Y/Ha4QuoIrlovXd0ENo7YxNdTPlPR0JIP66jJHBEHnM63691dp ctHCjclL+fkgHmAiptjG7GQx3SSpJyA1dEzh3EXtJJK4M2RhK+vWlU5H1dIjaqVj4tZA HqdHnlXH59yHyM/kR8Bd7Lx3Ou6VFSjEyMhOE9lBIiNcfuWPCGJquNVs9NCb+fPeE7rg QAkrALTBdMDRvi7reEVHCQ/RGJgOFXRBNdVXav+98WyZaFq5ZzPBNhAHI7WMTzw95OrM 3UdHbMRqREilz7UkcAOJTkgwAeq2fDctxx3hOY9FkunyKZ19qnuE1ByXahjZrRn0qONj NjfQ== X-Forwarded-Encrypted: i=3; AJvYcCWtl70fehxK2CnodSaiK+tV2oOz0m9tjPxtGGydBvIBNAhoS6NBHIASliG1siEzQ/DCg7sCLpE=@isar-build.org X-Gm-Message-State: AOJu0YyfpTraXmh2EDzh+DC0JJi5c4dACN0kCiFIMnfzCFGbvKLJ95tt 8U6E/nMZ//ketEHgtnqlqaK8X6iF+3UzZroVOsSIDMIWLit75jmySIdU X-Google-Smtp-Source: AGHT+IFSVi/IUputVNhIyvf3fqRYzygZoQGImk4Ju81LR+T6qh8yQN70nMsvCpF9fRpa9NGBGbKvSA== X-Received: by 2002:a05:6808:1885:b0:441:8f74:f2b with SMTP id 5614622812f47-45112d427c4mr3780234b6e.53.1763984829262; Mon, 24 Nov 2025 03:47:09 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+a+NrHpS6OD6+FZc4P8McQjE2Mig+IJtYip2ul1JrZ8PQ==" Received: by 2002:a05:6870:e0cb:b0:3d4:d703:74d7 with SMTP id 586e51a60fabf-3ec9b01f3a3ls1700109fac.0.-pod-prod-02-us; Mon, 24 Nov 2025 03:47:08 -0800 (PST) X-Received: by 2002:a05:6808:2182:b0:44f:eb07:5042 with SMTP id 5614622812f47-45112bdfa1dmr4078380b6e.44.1763984827885; Mon, 24 Nov 2025 03:47:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984827; cv=pass; d=google.com; s=arc-20240605; b=X3PPNEf2MbHCHLxMGSrQ/a/DhScBjZtPfu40gnkfWsoCb2cRr0EuH/odUTAhr3OLrj MimvPLxqF3lrQ01heZ+/JXv4YQ4wrzDXc1wOX5nXIB0Tlknu4Za56OEswIZEl1t40t3I H3D6pWWjEeP94KUQcESPTI55w61bbkOpvbQlOcOENN3ONwh9MrgfxB858wozUxdT6B22 fD0MuPryl2luJ2XwcW5kOyLrf8RR+ieu8uzD5JvSFKWXWj1fXTlHh+FMNoOBDLOBiyP9 ymAFqpvzHBIzOOkr+lLBnGwJRLu/6mAHxlwqFLeXrd3GXv2xrx0tNzsjtx9hpS3cto3a GvTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3+bq+6rmUxjaIVbxXltju9J7AKXodpxNxCWS34h/cf8=; fh=lXAfkm/bqUuMyEbZqDnRxjs+8+ouAkuxpMTPCNkgt6k=; b=FsazHwbNpXA6URpHUx34vKn07ED/DbpNmacP1YTo42eZdXIE2sw+nRiTv8HSTzjSn6 9uqXOAXz1XqdGUvnMH5fP66zTHE9BU8BigLiuBmL4JZfbWGS9GbedjawLcosGujpoXaw f7YnkPEjDNYgPZfz/ivhR638ZzG1ITBPECmqR7hfHNtYnYBzE724uRA0BqegDmiwYUMW YpfbyfTqyoMsom6V9GOdKS4eaO8uKqrQZZQb9+F7JzH1ZpfIFSlCEFlHI1JLtouwkbQ9 1V17i+gSD9MmeoL0o3kSYTqR4mR16LRmcLjrpZAvE8S5dE+mLVniE5g+LGNN52hSj4IE 7iJA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=JWriOWov; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::6 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from AM0PR02CU008.outbound.protection.outlook.com (mail-westeuropeazlp170130006.outbound.protection.outlook.com. [2a01:111:f403:c201::6]) by gmr-mx.google.com with ESMTPS id 586e51a60fabf-3ec9dc70af6si370915fac.7.2025.11.24.03.47.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:07 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::6 as permitted sender) client-ip=2a01:111:f403:c201::6; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aCKne8tD2k8aQVZlx6sXx8ufdqTcYKfgL5L68c1IQXDmKFJaV0rk3WMBFG60h2DMM6tH2G6ZqaJN12FLMfLLQ9mBUcHOMiTf3eaIdTC4We0ByQk2Rok1t6s5209k4JUg3XlxpvTsp8U0G0aDnLlCwm6lbJbnYnySkk2kvORpOpe1rnF2QEQIL9s9hBaA59F3BbD8ZbGTvsaM2u+e1H4Ljgw2N7eAIgO9Ep++zJmZh+pVtx6eSDEHCXXdGLPXIdCEXBuur2/sFwuekWQjZgI3sZqa1CjL2mVd7NawYZghicClunem528SwaDbSUA1W0xpTPzUUXcFRnGx6gLLzJzXmw== 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=3+bq+6rmUxjaIVbxXltju9J7AKXodpxNxCWS34h/cf8=; b=rHuh1IEhl5qcSfBjYAvmZN29z1+RIPTBh3uzCMPCRgFZL9IVpv+AeCHYwHGsHjEJuC3ZshsZ8zQJLJ5DXl7q+HkYQVoHobaOvj+dDJdaCLOJzGTMZco7fZnePFm5mcQaOytctmHF5VITM9nEFCqiM+JyOqwTHQf6PxWoKkg/GbBzE3+JmcGQZyDNNLzIAUHbzT2tsWJIN4iqQW4zRwgrrpON1AdH00KfsK/0m95e1tNqWz1yLLqhL6P9YSsWp75H+BKlSpGWActbxX8RfzX5/n0rVT36fCLYQrpVkiptF4Q/bQ4WxpCndlPBwD8HMc5uz2WCMfFSy1v2v1FZOj7leg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PA2PR10MB9116.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:41e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:05 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:05 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com Subject: [PATCH v5 03/10] meta: package python3-debsbom Date: Mon, 24 Nov 2025 12:46:31 +0100 Message-ID: <20251124114638.2238090-4-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PA2PR10MB9116:EE_ X-MS-Office365-Filtering-Correlation-Id: 34a34f5a-9066-456e-0c49-08de2b4f304a X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: LNNqJL7jRwF1S99B30qDq0mpovZK7cHrMk0+/GKeQKOayXZbinF/necM021ocnPLkoh/EsuX3WzjSClDJ5RpMuh9Ek3OPvR7X0mmEK5KMCGcWpEJrpKYLqDFhxZDmwQ+68+GkzKpRX80PQzWSadDi0fnApq7cA9VZMyUScZuNwpf9/YlF3ntvgOD/dr9Pz37gJL16tLJmbJLWWgFekD4mzyGm4t1WXO58Bkbf+j11/qmkW2Y69SbeMfIin+IFrmE+itoVN6ErzMrd7nu/tjzjEHgLojvjAuKK8uf532vEIXtD9kTQiBms3+XxfWIsC7E2tl9zwsTgKkLyjr5HJb0oOurkoypoG9n9q2N/wLazWP4mWDCvWXYHWcuW5An7WBPV4lErVyyvRnhQSoSp+WF6r8UWklZ8+Br0B4pa6V1HdnEGvJjZFV7oKcuys+Qe3FJjoLIslB2c8reAYxcRf3EzOOsUOJ4cb9ToGJSTBnBQgLZmYR2qA8NtzOY2hVlTLfrWwBQs9GBAibQ68sClKAvLVaRog4Tp1QX+jlnmRWLZO07dBMUkjUhlPlO1WZpqipMXkGMIrxsEQTI/fjve/OWKQ3YWtxKs0JKVG0fbDl9/Jn8CTHQLhM+KbiQKW47um5B5qAqdxsuGfaTgGQ1L3TQCdm2inll/wZoCCmQicAEn1YK0aJ67vKe8PGU8lSkwce5zuB58/R/puI6fVNLsRa9dFj4+Fc6xixWR6cKQVclR+xhrbQ0wQKiLXpmQH48oFyeGqoUh6iTY7AkHUiy6ANjYR3gjxK5QMNxTvi3vHUsC6G5XrQge0Catu1400apsgXjE/Xnla5TVgc5lIUmOtQVly8UnZxiMO+oE3c1ctgeOMDuaNsu9gOoQSzapqdJblbdnBAvifR91eKeN66/CqgH54fBJ51viVA5VKo/Nc9Mm9tVHJRKfzjGUnNVpAN9xk+Zk2MO2VRrV9Nv/BfoQmDD7dzlqbbpsAOxtLfVSh/PJBlwWbooZHvNHp8aRpXfaWit565Sz3StJbIs/TLtOx5+3Ggm/JaSW4LqRk18R6KM1f9Phmb107RGI63faAskblgjJ/xOhIKmTXxIg5PF76s5J492f4JYZJlUt0o9WGz5P73JlIPsBGUXkNqQfIEvlhCKAUbnCPwnqwhkVrrYqfWhzxY7guygbyKD41TdqG9CczESAtL9GuZ8JmzjFMrAUByVhzU3vFbKBmtnvIYBomeXpf1NgolFBu3a/hso1ldGDa4P94z5jK4LKtXpqeARRZcr63H0KP3xif2dWtHjVgh1jprUl+bFsp9Gitv/NpxyKztnfldQy9nmibxGJas599ZOjmoH5yprw0cFNc9hJWoGMJi9LP1GaeKEEYXzBkZbPebbfRQs1Tt34k/EcMkEkbdjqOS2Vc6KhUsUUOItkoj7WLcILapUqc31BceaSIdS3m/6P4OpD9xyjrN/tEhHWIKK X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BMtD2E+LdKYV3KMvzaUQBhTPQCYEqE/1d25lcqnFgMR3u9IvN6yAro70ThibE4FLPzdLlPWr8NmjukpZHcJLc3PuQqRO9LYHr6ov7AMiZBDUjLncudAURX22fOh5czF0LliRjk0Ngytaxr5OTiq3muUNP5kuIIzGLI/KfXvnohU7AeKZyKmrUNUE6HC1VXAVTaPFLgHPoJP0a5A2yxrpLnIPHuA2M0JfwYE91KvtPqlypXMA1z64XsCvc0ATSautq/nrLwdtvkEykdrQMiu6J0LRY/FOyJtE8WYbEt5bi+eafPLtGqiVDJoZUwNwYNCwUDPazdfF2FoGmSCIQb3KI29Zc5JgL1UeZioojqzBNuaHsxLTNpegMMrrxmcg9TRtPz52vF6Fg1dah8VIULa5XA/cX9Le+JEH7X53sIz3YHUNMaqUlLUAmuFW+mK/516DzE1IUDwtgjExMRFVI0JCubfPrVrrOZ3qBgQCy3rrGU86Ve8FVjuit0mHpcqV4YRroYLEVi+BmBMwiVnupqi4Xf/KRKe9oXluaCZz9IWE9dGVzySv7rR1epJzBANTMP5P7RJy1gr29J8yLnlSYeueJnOfvU7uq2iZtQAjniYWuUvzu9vjXB8KR59wstPoO4GvI85hNGxaEsimzLgCrDyDxQskK2sKGWfly70iG1PzLrYiXM3smz7klHluj8JMj3OIophW36H8F3F+nrpYzhAGLSC7DqjryfSJDBZH6osqJFzhr/FO1pr+EIyiNrJptXcpNztz0FDLhF9jgxyMoqoYcMzqZNyJHr3grHiz7abPkm5UR3fQLxS39SwARDJ12gzTBkXh+uohU2MYFrnvl67jFo1Zw436wAgGHvx1k3B6UHXEL5fVRaKvA9eLRCcDPo4C270uVZhRVCbYudCoObHeNcyxIdg/ubf7bi2xYZWGkivumo2OXiAxlPmZaf7azG5uTFAPdUEX8HpZn+cQDQpWoEErDs43xFEVTMDu6lt7/PRtgFWHohIgsAev80WFLspWGNinehvQkCCJbkJbNgfepjs7YhS6bIZLKEPe9vvQnx65KOrptqbTTPmxQQN0MYpWeV5VwEwAK6OuYslnJ2KMbt2wskTYxE3vIrfWwRf1Lq35z5RWjTEqFkaXq5tfjG+YeNxtgOjj6hvbk6i2KpZxVLiLF9bBUHc8DroC8udiXaLPr2/hV8Xj4IARTJ0qpwAbx4+xohQyjGU6xf/x/nhXaD+w8bRTQQu4pRtVG6gyWuBk9u4lzvxRQN1eeE8lc0dvSkGpGpslvBoc6BrmJQg5d2Vdo8VSqf8jJafJxq4pFCRrUOnhQfDkNT5DCkWkAYMtv5euFmsSeHexxSgiEMe301QGWVjyMUvkUg6qEhkAwrAigt66lHY/TN6IHIdanIXZB7nmbBGxTrKBvV7G6KjQdcvthmycN+2iwEksw/9wVTRK+PXrIspx1BoXMrraLTOD5dztiMP/RMtuX4xAEs840IcyNr9t3eAWLin4oJJF2N06ScKWgyDIRUyGnRO7aLLwrvrpdD+9jLW5frY/7iqwRrVgCx4RTivtiOhvH9SD25Wt128dhJhojSke3THg7YSGfnORzxL60nUmxfgFpowKIQ== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34a34f5a-9066-456e-0c49-08de2b4f304a X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:04.9704 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5montZzijt2V+RAxQfQC4o7nPKniSO0Q/2y79Lqdc4abjsSr8v9UZetFHZQIwudxeWn+Js25Vr+Jg/NR6xG+nt5ZZP0olN0n/jeKLIUzMgo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR10MB9116 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=JWriOWov; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::6 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Christoph Steiger Package the python tool debsbom for SBOM generation for Debian based distributions. Signed-off-by: Christoph Steiger --- ...icense-description-in-pyproject.toml.patch | 28 ++++++++++++ .../python3-debsbom/files/rules | 8 ++++ .../python3-debsbom/python3-debsbom_0.4.0.bb | 45 +++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 meta/recipes-support/python3-debsbom/files/0001-Use-old-license-description-in-pyproject.toml.patch create mode 100644 meta/recipes-support/python3-debsbom/files/rules create mode 100644 meta/recipes-support/python3-debsbom/python3-debsbom_0.4.0.bb diff --git a/meta/recipes-support/python3-debsbom/files/0001-Use-old-license-description-in-pyproject.toml.patch b/meta/recipes-support/python3-debsbom/files/0001-Use-old-license-description-in-pyproject.toml.patch new file mode 100644 index 00000000..c9137e25 --- /dev/null +++ b/meta/recipes-support/python3-debsbom/files/0001-Use-old-license-description-in-pyproject.toml.patch @@ -0,0 +1,28 @@ +From 8f926ab0ed1585656ba7de80a82cc802c3ccbdbf Mon Sep 17 00:00:00 2001 +From: Christoph Steiger +Date: Mon, 8 Sep 2025 17:17:49 +0200 +Subject: [PATCH 1/1] Use old license description in pyproject.toml + +Older setuptools versions may require a different license field. + +Signed-off-by: Christoph Steiger +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index cc34bdb..701da4a 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -22,7 +22,7 @@ maintainers = [ + ] + description = "Generate SBOMs for Debian-based distributions." + readme = "README.md" +-license = "MIT" ++license = {text = "MIT"} + classifiers = [ + "Intended Audience :: Developers", + "Operating System :: POSIX :: Linux", +-- +2.39.5 + diff --git a/meta/recipes-support/python3-debsbom/files/rules b/meta/recipes-support/python3-debsbom/files/rules new file mode 100644 index 00000000..a414114d --- /dev/null +++ b/meta/recipes-support/python3-debsbom/files/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = debsbom +export PYBUILD_SYSTEM = pyproject + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/meta/recipes-support/python3-debsbom/python3-debsbom_0.4.0.bb b/meta/recipes-support/python3-debsbom/python3-debsbom_0.4.0.bb new file mode 100644 index 00000000..410f358a --- /dev/null +++ b/meta/recipes-support/python3-debsbom/python3-debsbom_0.4.0.bb @@ -0,0 +1,45 @@ +# This software is a part of ISAR. +# Copyright (c) Siemens, 2025 +# +# SPDX-License-Identifier: MIT + +inherit dpkg + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +S = "${WORKDIR}/git" + +DEPENDS = "python3-spdx-tools" +DEPENDS:append:bookworm = " python3-packageurl python3-cyclonedx-lib" +DEPENDS:append:noble = " python3-packageurl python3-cyclonedx-lib" + +S = "${WORKDIR}/git" + +MAINTAINER = "Christoph Steiger " +DPKG_ARCH = "all" +DEBIAN_BUILD_DEPENDS = "dh-python, \ + python3-all, \ + python3-setuptools, \ + pybuild-plugin-pyproject, \ + python3-packageurl, \ + python3-cyclonedx-lib, \ + python3-spdx-tools, \ + python3-debian, \ + python3-requests, \ + python3-zstandard, \ + " + +DEBIAN_DEPENDS = "python3-apt, \${python3:Depends}, \${misc:Depends}" + +DESCRIPTION = "debsbom generates SBOMs for Debian based distributions." + +SRC_URI = "git://github.com/siemens/debsbom.git;protocol=https;branch=main; \ + file://rules \ + file://0001-Use-old-license-description-in-pyproject.toml.patch \ + " +SRCREV = "a600f60966d08803eb17bfb81eb8828921497453" + +do_prepare_build[cleandirs] += "${S}/debian" +do_prepare_build() { + deb_debianize +} From patchwork Mon Nov 24 11:46:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4630 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:22 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pf1-f185.google.com (mail-pf1-f185.google.com [209.85.210.185]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlKYp030603 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:21 +0100 Received: by mail-pf1-f185.google.com with SMTP id d2e1a72fcca58-7b6b194cf71sf8627842b3a.3 for ; Mon, 24 Nov 2025 03:47:21 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984835; cv=pass; d=google.com; s=arc-20240605; b=WAiz5csnyl3l4ImyOmocL/WH/wwslOu+oaExjpJdmY94Lk4IfZgCEXgknlc6VnTVeZ oaSvZySy0tKZAcUPJrmg4lHw92rXccu3cWlIsRWjBMtbcPS/YoYhfeBHRoXbI0GwU4+B Fe/vRR5TABEX3cG4DEZuBf4uoxLSQ4XMK5RiMjOzUoxJRW2l49NtSiju99QhC4ThMUfA wT1OptpqMAqSJU4o+T1yFR6HvTSvq88d7BMaMlsfTX76m7XoY6SoSeqe+Uu0A0f4zZdD 7ttbzrFCFJ+9Bn5X7vFkwb2AtZELRHDZYxgFvvDRcqUY1LqgKxB4Z4Bq4Ggs85g3LKFq w1HQ== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=niRjHfayhHDElnhi5tHCOdUJfNMy2iTknP2XLihrTSs=; fh=pBsnTLgnKybwmIuZNoMXTJ98ThPW0lH1UxAZyQDgWaY=; b=V/AXofHT+7JxdPUDRf5S4A5h7Pa199gLKAJUaLl48DIq0769X82fGsOkD1s4JlZetZ TkvsCeYZox3IqXBXcjRjGC35UX9Xhfjuxmv1Hf5cYHOSQZDwrHtmfMo0CsLD7FxPDV6+ i2j9Y7nS+7Evt8Pg/IAXj6P4uLZBiTFdt7teL+aVH2w4cVGeAeberxRMXBl7mBBmOF7q 1Pzq5O7T6FXEIwYGnwNp1ZITxt/SCdav5U2bJWnNflGiJq5Pk3iw/FcSP+YqYBSL0oSm 24fRDD/RmcDTR5aiYE/B+xKE6rbHK/Lx6D45KQwEHUV4sxvFKSIAU1qLI9StrMtG+tuK K2cg==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b="z/3FWvuk"; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984835; x=1764589635; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=niRjHfayhHDElnhi5tHCOdUJfNMy2iTknP2XLihrTSs=; b=ko7Dp+3bQPyZuoKVnocSDKi9G65a7zWje19sY6WjzcF1fDyz4mkE2qImICmli8IQug v15VAmPrHBEJi99iac1lbuC2hPHcH4v204ApRjgL1Xk5VcWKzsgR6BfdKEUZDWplKoU5 zUi5n+jbw9N2XDBLwUycOul8mxyVc9rk6kA13bWoj4O88KAD+L5EhjLAyr6iPh5+nUrJ CvgGtlbe/FA1YZAcLwiurESiAob/CzaK+dRsvlaY5DScfCSId8A2/PiFu/n3LVyHnxCR Upp2Fv/W531ZfzxkodQ4Iz67w3FbSC9B80iGlNugbDQgrTH8p+Hn7RBrueagf4yfsmPo BNEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984835; x=1764589635; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=niRjHfayhHDElnhi5tHCOdUJfNMy2iTknP2XLihrTSs=; b=gljMZemy+kSp9a9OBso/ncuhFdIfHcKWIHdLcD0QsK1LnYDzTXvaV5MVL6Lzo3Tn2A jsvyvSHni6HtlCzZ3vSbS0LKUiiZoK2Dbl8GJ5InrWmwsDZdBTg4OPlSyoAkC1vzdY62 pUh6Ia7bft2I4EZNa2L37SMAQ3YZQj1/6E1RItE9/fJH/F4x3qBl9WBSm3Vgfm4976RR aINNdRA3ixb8dfyD4VzvxB7Tb88es6WfP5BDcKBu82cU13TUyChXBYjHJKJZxlCmItSD Q8NuJfAIOB97kryjTSZfeUWp+lF4KWW+ut/pNIbHML4RZyDC8Oh4q/S7cOucNYqnNWm8 LdOw== X-Forwarded-Encrypted: i=3; AJvYcCUHJ/QNvIcPQmLhbsMnoZDxOhEG6N3wPgDM6toJLDjLtl9SEFUw2gYxtzQwM9tHoZYYlWCzmDU=@isar-build.org X-Gm-Message-State: AOJu0YyKrj0fivEczdKSsXrEeNea2Yhw2GZ79n504SJQyA3hkOSK7Yw9 IafrJKPxlpEAlRXacotJLVCuRCvWS2+/kZqfm2dTbxRbZd8CgUI3cRMh X-Google-Smtp-Source: AGHT+IF8GG+2af7LqfPHCLcBZpUgfNO/RPxL1n1UlpJLuXqCLGQM+9knqPsxbhx4VBaoVn6E5FQwHQ== X-Received: by 2002:a05:6a00:1812:b0:7b8:8d43:fcd2 with SMTP id d2e1a72fcca58-7c58c7a883emr13030831b3a.14.1763984834620; Mon, 24 Nov 2025 03:47:14 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+btL2TndihUiOW85SAFKKQMK7vuQ+/hGHdQSHIKJoymaQ==" Received: by 2002:a62:e41a:0:b0:7b3:789a:4c08 with SMTP id d2e1a72fcca58-7c3f0443ee9ls3257572b3a.2.-pod-prod-05-us; Mon, 24 Nov 2025 03:47:13 -0800 (PST) X-Received: by 2002:a05:6a00:88f:b0:7aa:81fc:a83a with SMTP id d2e1a72fcca58-7c58c2a7c54mr13494199b3a.6.1763984832860; Mon, 24 Nov 2025 03:47:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984832; cv=pass; d=google.com; s=arc-20240605; b=ZIWCzKZW6c7CrJ78YiZQjEmPfqv2kDHnLuuSXmpjXaIF8KwI2C6Lw6GobD9RZPb/U9 y/IvRqWXniHQ8lNY4rJnqnphOhvgOqWEYvDkCoCUlDveKO1tk7RKJn6/x97BRe1pBwN8 4c59pCJEbvIbbs4mO8dcfrQMp9cduJBxqqaojWcf316OAluH3t+kjGydnfDwSxCMyeGQ vIcsYvQnUg/jv3oj4eS7dKFfGVGwPUFa7fGE9npkUCm6L7nMQqVFT+aiL4uLq+8G12Nc 1kbCr3X26lR4zLMYmqwZ3irxqkY9apfe7YFrbFq5v5M4th6N+aKA6CoOuhOp5HbLsfHH FoGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=vXPEr4LkXT4SrDu3jVxNBFUGiiS6QlBM+MWG9HGT6nY=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=UOwIQtAvB6I2oiK4U1cyRvcpiJQq/lFGDfUQE1MTQj9CiGqB1CaUTKkejZOsreJ3lo /eMSkt1Oq25YkT7Zs4zsQxTWjkzavGTDVWPryCg2lt8X/5GMhz8ltRD4SjwSPtj2BUUH yWcHBdjoOecvyC1skGi3n0wOEVGxFsoCwQkHIbxp7bh+HWhcCVVUMdoG59ixUCjm0Pc8 s9frSfs9ZhOPFUnJ2LokQi0t0SBvnbUvUTQ9cZJTWXLtNA4HxgXxPOc04Mh8tiXMArV7 NUG1K5KXa8LY5ImeeAHCqFUjtdQXQrwb88j8Etpkq+pvJIadvKBo/3P1mjpcS0/F5ZfU xT4Q==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b="z/3FWvuk"; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazlp170110003.outbound.protection.outlook.com. [2a01:111:f403:c201::3]) by gmr-mx.google.com with ESMTPS id d2e1a72fcca58-7c3eff42301si269439b3a.8.2025.11.24.03.47.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:12 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) client-ip=2a01:111:f403:c201::3; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qqKUa1LglI48+OHNlN+hFVXiHwwpPhYQE4Y9FPbQvj9o2wQzI09nMdiJpVPNHKiN9F0KIk9mpBQTZ+f4mJ1176KCVy6ICCaUq4uCDv0Wrjj596dqMmqyBlTaPKnU19af6qvgPzEcI3ciQivjIAm69DG9Mnb3hbCirPR0EPli2Wc4VPAjHDhH/H10xJxyQh2Ir69LZQSSBUy1CQIQV6f1JX4JhMwijpMi+2i+jRfUFz9CzYtJQAE9SGOjHAspYeF46kk/B1dwK89PPLsCxkhrwd7qqO/E+7HOs2M3hM0tMvmlH5Y9c5rRzf1Zb4HoTWZORkRH3aloGq2LKVNZp5+i/g== 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=vXPEr4LkXT4SrDu3jVxNBFUGiiS6QlBM+MWG9HGT6nY=; b=H7okfXlbNdZgYZKvtqW2AxevZs8EGl2gQ2RXYQPp9cn2CmQVp3qjNGBc8r83GkwgSws0Qv0fGepX6bkEcHBTaEMGUN1AdgXPWEnMXP7GkwsG1l1WhWdCm6dv2USCnC4mM/jdAQ/fkwEhDroes/ZET99wECxiRpvZaR0NXC4r5QlzLmgFgvC5pzmTESd1toi3jPhDUq4UzgzCb/nbFHJAGq0fSYmXqBNDjQViTWpHSm+Xwtu1zrz9LAPgtTPtXMqE7QUSf8ce1qzeDtES2W3L3/0ks/YzNmtpzqXJ/klhOnG+So/zs5G1U/RlrEd44qjOPumCxCcDGOT9Z1bfADg5sA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PRAPR10MB5156.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:27a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:08 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:08 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 04/10] meta: add SBOM generation with debsbom Date: Mon, 24 Nov 2025 12:46:32 +0100 Message-ID: <20251124114638.2238090-5-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PRAPR10MB5156:EE_ X-MS-Office365-Filtering-Correlation-Id: 80d8e518-e16e-476c-fd56-08de2b4f326b X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: LzN78cA+2ZP7V6PNdj9/nRYrPW9gM1mk1Sj034fXemAhc7hDjMWp/Ju7DJn+42h+6UjC5z0EOMiKncQneiUdclpf/BcF+XJDlkcSGtsCftBKpj85UQYm0TAI/aQbbEuhvx9+9EKunROd6/AIh/d/0sa0588uAoa35oOXfwOhLoYnWYgXsT5cyQ8hexhB7xC8GDKkvPvmsilOAWD8uF/LDrx29JiqEKyqr0PQwaXhGYdR5U5PYZM6ddvvnBCaS3JqP08ASsuWt5tYdNCSevG3hMaV3wiD3PBuNMvkU1LMaTsgE6PsJejtu7cF3Mq5ebovMxu6auRolN+DdkH0mdLyp36t4CmiOLao04DHx4dJ4Xr7T2S7INIG8DBtlcxl+MALFhF/gWNLcPzVndrTOwzbxyDfzyQ4sNFkNXmqEMftOgx1JMvAdcscdcFNIBy4qNQFV/3nlXoKw0tY6p8FUmHI3l9GF0T/UqLCZNv2hBwXEF+bRXe4GEQT3CGLdyNJUGiD3N8cOkUe/+yvtokWhVAyTS8BEPqMEBbMMspP4lDtSc8n4mrB2BNp6akhVvmAXF+cVW/QPh4cv64NjyEJhWPC1Xwb21pK6lAEdEKwGFKIgd2VkmKz4cGdHtFASKhsihu8xKB07VQnRdNEpLnEEGv+nsdwx0Y9CFBsw8F2NbtR+oSagNkOx7C0vqKaA7uYNCA16p/lz99T3Y9bj3E/bsUj1aoShcE5B926dxaNvBR8MO3ir1CE6j6ZbrLH66u01WRMmscIT3U3t74psSNm+AvfK0BPd8qwAQSu1J8TZpxXmGRubiBLLvoneKQDcimmsF1MoPPQG3aUpjGu0b+uTP4dM7y2kQHqzbDQDRZ8BmQnwVmsT705vTCfACkn+Zez74JXCHYwTftp1FoSgceWMWVdjDldaSUYbk9JdHlpleOta4XIqDOuiE4Bp/aFzht6EzXJTn6tn+39yJN9iY271Y9xxHutSo8F43shqNs3xUiStbr27/03vArYS8BlLJBt/hwIzxz74xSo9aWunwvAwyLN6qeNYVzwf5i4glZjE4y22mP0b4qW6yQNv0YKOwAe0A9mLey9r7v3RUK2epSYSSTE7fKiuvgy7r/33icdO8Eqck8/mMwqoUz5KgH/kr8COST21N7a+kMnRdYAMx+efVvhak/KSc6EWECVq/jJgb8WIO061O5gIiH5ESGd93+Yhmxg1WnUdCl7q7DEedBOuZDV0uNsaRcfLrSd1G87eSxrCe+5qr2ZVsIuCC+HfsOACpzhUAlhDy2R76Ovdy8sL469usqplO89GZA/3hRsiz2gCl+zLRh9QeOABptWpPOXOBpsaDhd4uNV9baKdTVF9lxqKbQJpKX4O8a4f4clKuUXupeGgdI9ZFetAO2zxzQtyRZppQA6IPjBof0jfhmMZAISgHnGu4oj2+azqW1VE66XfJJvHBMJAOEooHW+gfqQu8I0 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Kiwm83o4L7U6/DOc6wIStCC8/gPPhbeKsfNgncP3DDd5JKQK6Wt3wldG1Nk9H2+GRB2I24hKnMJ0lPsr8qO5Zt2oH5XkQZZDFmFy9LBDwbzHnCy52RPTS8al8zp1rJ2+4/08pfVKYIziupFNFdK1Q3JK/hIubJS5pZ+zn2Hw6cYNeJSRA3cm96NLH4NWod2d8sxLpu/SE2NeoXsMVbeUb3d1+jw+dpCSXVaAZBDvecKYZv+p7SZpYSVJPbvUSrhrAjRcuHexmFnsPup5h2uhQlOcOy3Qp6D0nig0bNO2HWyNhMHX835u8l5dY3YGHSQbuexqkJFNt9lBXLVC3Sn1ZzNDLcD0lBNDqU7gkRcSfsYY9QRwO81S6Q17OI4of4TJi4k24Pup5bnNDV1qMazsGxUDpP5RGHniLX1MHsulC8TQC4iBHogI31OPl2tWvgswDaMsG9gBEoHs8P9UgROtjOGaQeKMxe7OvdWLwqjL4/7kS6y/9V/BuQvU4/ZSOPkkrS6Ue6pW2mBNkvn18f+dOFebe5Yc4ETDlNyIKfQJsoaP51vPi+rsmPybzAkEDoctjha5SlD5GUP5QHf9MxsIxV0CO/LQfWs5x0n3OZZO3aNnJmIXJFUqWQKXyZXQJZqt18HjnqVQTGGHeDJ+MziDeEb1VTeoy+330tYdZyEryzR+TY71tx6VIbnT0B8ETzYwoSqoVnWreZ2+g6sNJZq0ajht7/hna1P0hNnyCJVzuVZD5qPS8T8bFfkd8uy7+Xa/6QjwhAGkKjd6FesSba6e9ZfG9HKZHxT6U7w2covkrDCGueJwcmz7W9OMO8S/m3nSyPcm92+zi002qLW94cAZP9Rjwjq4fVLop7TKIGG/GhzQpQIRu+FNq2Y2yKuL5UWuLI9+3Hsn72l3HnbLz/n8FJ0g43YDNEszMLhC79vIubQCus2rWJ9isUs9xlZBVR8D2RkZ3AUJ6e1ctB/jY2fEuX4Xyxan/f+0volCxuExAQf2Jee7AbRKVlcOjyEp9y4aN8YhZoPJl/po2WDyOpij4s0A8PDlVgezE5WkL6DDlPNTtBkF/zzHJkJ7tu2N6qzRufZvTQVsEYXxYJdxp1Fj3Euc3g87Bm/DgzoIMfQEkxKKnZnrPSpwIcj0g0zRMqsLZaYVFaQ2Aq2tRHPbGmgEYP9EkGIcGlJvPnh61scWhEQ5/TaIST3psxqbu1SY/UMh1mjLneddWLXIKb27gApzp8BztIYnA5U2zfygaNNa+l14dqCt5tu8IdNOsm3rcEInd3TErlGUxQjcZfVV5z7NeeCgLBQL/ZdnuQ5umVHY6NraSJVySIMj94IqbOmbqdQbauMP9aAp2wse24Io8UD78OoJ98VisNkiH3IIJPOABQ90ReHrlmVY4SDLgnmYr8qMsKFWswY5y7QTQ5Lofg7y2G7rtWvirpSe8tsm/DnAaaKNhv1Em9CX7PIIfvDcK2+k/Fx5EB2awyscoSaOhca1RdiPUwxT/D0XfkWCcc/jpBvYpUUNAI5QvcIp77LTqkWSpIZA+L3x8TRx5/Mf74u3sgKMiRS2SZ/dXJl77JDdw30Inz5k6nrZ2e7Aa0OTRt4vbB+nm146cVCMIA5EpsodCg== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80d8e518-e16e-476c-fd56-08de2b4f326b X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:08.5199 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ww7HSKOQ+cgkEnTiVqCPqiKIzoy9masFpc3XBW11QOk/veJ0n+u3d008h7XQYvYWTaaQXR1stXO9cpONoXogZ3aG3eZDmQg5WwO+w+5g2Ss= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAPR10MB5156 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b="z/3FWvuk"; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Christoph Steiger Generate SBOMs for every rootfs that is created. These SBOMs are placed in the image deploy directory. For the generation a small chroot with debsbom installed is created and from that the rootfs of the image is scanned. The sbom generation is bound to the rootfs feature `generate-sbom` which is activated per default now. Signed-off-by: Christoph Steiger Signed-off-by: Felix Moessbauer --- meta/classes/image.bbclass | 1 + meta/classes/initramfs.bbclass | 3 +- meta/classes/rootfs.bbclass | 14 +++- meta/classes/sbom.bbclass | 65 +++++++++++++++++++ meta/classes/sdk.bbclass | 2 +- .../sbom-chroot/sbom-chroot.bb | 30 +++++++++ 6 files changed, 112 insertions(+), 3 deletions(-) create mode 100644 meta/classes/sbom.bbclass create mode 100644 meta/recipes-devtools/sbom-chroot/sbom-chroot.bb diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 1fa71c17..29324920 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -99,6 +99,7 @@ ROOTFS_FEATURES += "\ clean-log-files \ clean-debconf-cache \ populate-systemd-preset \ + generate-sbom \ " ROOTFS_PACKAGES += "${IMAGE_PREINSTALL} ${@isar_multiarch_packages('IMAGE_INSTALL', d)}" ROOTFS_MANIFEST_DEPLOY_DIR ?= "${DEPLOY_DIR_IMAGE}" diff --git a/meta/classes/initramfs.bbclass b/meta/classes/initramfs.bbclass index 862bd873..570780e1 100644 --- a/meta/classes/initramfs.bbclass +++ b/meta/classes/initramfs.bbclass @@ -22,11 +22,12 @@ INITRAMFS_FULLNAME = "${PN}-${DISTRO}-${MACHINE}" # Bill-of-material ROOTFS_MANIFEST_DEPLOY_DIR = "${DEPLOY_DIR_IMAGE}" ROOTFS_PACKAGE_SUFFIX = "${INITRAMFS_FULLNAME}" +SBOM_DISTRO_NAME:append = "-initramfs" DEPENDS += "${INITRAMFS_INSTALL}" ROOTFSDIR = "${INITRAMFS_ROOTFS}" -ROOTFS_FEATURES = "generate-manifest" +ROOTFS_FEATURES = "generate-manifest generate-sbom" ROOTFS_PACKAGES = "${INITRAMFS_GENERATOR_PKG} ${INITRAMFS_PREINSTALL} ${INITRAMFS_INSTALL}" # validate if have incompatible packages in the installation list diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass index c045bfc0..b3ca9e16 100644 --- a/meta/classes/rootfs.bbclass +++ b/meta/classes/rootfs.bbclass @@ -3,6 +3,8 @@ inherit deb-dl-dir +inherit sbom + ROOTFS_ARCH ?= "${DISTRO_ARCH}" ROOTFS_DISTRO ?= "${DISTRO}" @@ -28,11 +30,18 @@ INITRD_IMAGE ?= "" # available features are: # 'clean-package-cache' - delete package cache from rootfs # 'generate-manifest' - generate a package manifest of the rootfs into ${ROOTFS_MANIFEST_DEPLOY_DIR} +# 'generate-sbom' - generate a SBOM of the rootfs into ${DEPLOY_DIR_SBOM} # 'export-dpkg-status' - exports /var/lib/dpkg/status file to ${ROOTFS_DPKGSTATUS_DEPLOY_DIR} # 'clean-log-files' - delete log files that are not owned by packages # 'populate-systemd-preset' - enable systemd units according to systemd presets + # 'generate-initrd' - generate debian default initrd ROOTFS_FEATURES += "${@ 'generate-initrd' if d.getVar('INITRD_IMAGE') == '' else ''}" +# only supported from bookworm / jammy on +ROOTFS_FEATURES:remove:buster = "generate-sbom" +ROOTFS_FEATURES:remove:bullseye = "generate-sbom" +ROOTFS_FEATURES:remove:jammy = "generate-sbom" +ROOTFS_FEATURES:remove:focal = "generate-sbom" ROOTFS_APT_ARGS="install --yes -o Debug::pkgProblemResolver=yes" @@ -478,6 +487,9 @@ cache_dbg_pkgs() { fi } +# The sbom generator needs the apt-cache, hence run before cleaning it +ROOTFS_POSTPROCESS_COMMAND += "${@bb.utils.contains('ROOTFS_FEATURES', 'generate-sbom', 'do_generate_sbom', '', d)}" + ROOTFS_POSTPROCESS_COMMAND += "${@bb.utils.contains('ROOTFS_FEATURES', 'clean-package-cache', 'rootfs_postprocess_clean_package_cache', '', d)}" rootfs_postprocess_clean_package_cache() { sudo -E chroot '${ROOTFSDIR}' \ @@ -647,7 +659,7 @@ python do_rootfs() { } addtask rootfs before do_build -do_rootfs_postprocess[depends] = "base-apt:do_cache isar-apt:do_cache_config" +do_rootfs_postprocess[depends] = "base-apt:do_cache isar-apt:do_cache_config ${@bb.utils.contains('ROOTFS_FEATURES', 'generate-sbom', 'sbom-chroot:do_sbomchroot_deploy', '', d)}" SSTATETASKS += "do_rootfs_install" SSTATECREATEFUNCS += "rootfs_install_sstate_prepare" diff --git a/meta/classes/sbom.bbclass b/meta/classes/sbom.bbclass new file mode 100644 index 00000000..3ed755d9 --- /dev/null +++ b/meta/classes/sbom.bbclass @@ -0,0 +1,65 @@ +# This software is a part of ISAR. +# Copyright (C) 2025 Siemens +# +# SPDX-License-Identifier: MIT + +# sbom type to generate, accepted are "cdx" or "spdx" +SBOM_TYPES ?= "spdx cdx" + +SBOM_DEBSBOM_TYPE_ARGS = "${@"-t " + " -t ".join(d.getVar("SBOM_TYPES").split())}" + +# general user variables +SBOM_DISTRO_SUPPLIER ?= "ISAR" +SBOM_DISTRO_NAME ?= "ISAR-Debian-GNU-Linux" +SBOM_DISTRO_VERSION ?= "1" +SBOM_DISTRO_SUMMARY ?= "Linux distribution built with ISAR" +SBOM_BASE_DISTRO_VENDOR ??= "debian" +SBOM_DOCUMENT_UUID ?= "" + +# SPDX specific user variables +SBOM_SPDX_NAMESPACE_PREFIX ?= "https://spdx.org/spdxdocs" + +DEPLOY_DIR_SBOM = "${DEPLOY_DIR_IMAGE}" + +SBOM_DIR = "${DEPLOY_DIR}/sbom" +SBOM_CHROOT = "${SBOM_DIR}/sbom-chroot" + +# adapted from the isar-cip-core image_uuid.bbclass +def generate_document_uuid(d, warn_not_repr=True): + import uuid + + base_hash = d.getVar("BB_TASKHASH") + if base_hash is None: + if warn_not_repr: + bb.warn("no BB_TASKHASH available, SBOM UUID is not reproducible") + return uuid.uuid4() + return str(uuid.UUID(base_hash[:32], version=4)) + +def sbom_doc_uuid(d): + if not d.getVar("SBOM_DOCUMENT_UUID"): + d.setVar("SBOM_DOCUMENT_UUID", generate_document_uuid(d)) + +generate_sbom() { + sudo mkdir -p ${SBOM_CHROOT}/mnt/rootfs ${SBOM_CHROOT}/mnt/deploy-dir + + TIMESTAMP=$(date --iso-8601=s -d @${SOURCE_DATE_EPOCH}) + bwrap \ + --unshare-user \ + --unshare-pid \ + --bind ${SBOM_CHROOT} / \ + --bind ${ROOTFSDIR} /mnt/rootfs \ + --bind ${DEPLOY_DIR_SBOM} /mnt/deploy-dir \ + -- debsbom -v generate ${SBOM_DEBSBOM_TYPE_ARGS} -r /mnt/rootfs -o /mnt/deploy-dir/'${PN}-${DISTRO}-${MACHINE}' \ + --distro-name '${SBOM_DISTRO_NAME}' --distro-supplier '${SBOM_DISTRO_SUPPLIER}' \ + --distro-version '${SBOM_DISTRO_VERSION}' --distro-arch '${DISTRO_ARCH}' \ + --base-distro-vendor '${SBOM_BASE_DISTRO_VENDOR}' \ + --cdx-serialnumber '${SBOM_DOCUMENT_UUID}' \ + --spdx-namespace '${SBOM_SPDX_NAMESPACE_PREFIX}'-'${SBOM_DOCUMENT_UUID}' \ + --timestamp $TIMESTAMP +} + +do_generate_sbom[dirs] += "${DEPLOY_DIR_SBOM}" +python do_generate_sbom() { + sbom_doc_uuid(d) + bb.build.exec_func("generate_sbom", d) +} diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass index 00cae0da..d57269e5 100644 --- a/meta/classes/sdk.bbclass +++ b/meta/classes/sdk.bbclass @@ -47,7 +47,7 @@ SDK_PREINSTALL += " \ ROOTFS_ARCH:class-sdk = "${HOST_ARCH}" ROOTFS_DISTRO:class-sdk = "${@get_rootfs_distro(d)}" ROOTFS_PACKAGES:class-sdk = "sdk-files ${SDK_TOOLCHAIN} ${SDK_PREINSTALL} ${@isar_multiarch_packages('SDK_INSTALL', d)}" -ROOTFS_FEATURES:append:class-sdk = " clean-package-cache generate-manifest export-dpkg-status" +ROOTFS_FEATURES:append:class-sdk = " clean-package-cache generate-manifest export-dpkg-status generate-sbom" ROOTFS_MANIFEST_DEPLOY_DIR:class-sdk = "${DEPLOY_DIR_SDKCHROOT}" ROOTFS_DPKGSTATUS_DEPLOY_DIR:class-sdk = "${DEPLOY_DIR_SDKCHROOT}" diff --git a/meta/recipes-devtools/sbom-chroot/sbom-chroot.bb b/meta/recipes-devtools/sbom-chroot/sbom-chroot.bb new file mode 100644 index 00000000..58200382 --- /dev/null +++ b/meta/recipes-devtools/sbom-chroot/sbom-chroot.bb @@ -0,0 +1,30 @@ +# This software is a part of ISAR. +# +# Copyright (C) 2025 Siemens + +LICENSE = "gpl-2.0" +LIC_FILES_CHKSUM = "file://${LAYERDIR_core}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe" + +PV = "1.0" + +inherit rootfs + +ROOTFS_ARCH = "${HOST_ARCH}" +ROOTFS_DISTRO = "${@get_rootfs_distro(d)}" +ROOTFS_BASE_DISTRO = "${HOST_BASE_DISTRO}" + +ROOTFS_FEATURES = "no-generate-initrd" +ROOTFS_INSTALL_COMMAND:remove = "rootfs_restore_initrd_tooling" + +# additional packages for the SBOM chroot +SBOM_IMAGE_INSTALL = "python3-debsbom" +DEPENDS += "python3-debsbom" + +ROOTFSDIR = "${WORKDIR}/rootfs" +ROOTFS_PACKAGES = "${SBOM_IMAGE_INSTALL}" + +do_sbomchroot_deploy[dirs] = "${SBOM_DIR}" +do_sbomchroot_deploy() { + ln -Tfsr "${ROOTFSDIR}" "${SBOM_CHROOT}" +} +addtask do_sbomchroot_deploy before do_build after do_rootfs From patchwork Mon Nov 24 11:46:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4631 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:25 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pj1-f57.google.com (mail-pj1-f57.google.com [209.85.216.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlOAt030667 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:25 +0100 Received: by mail-pj1-f57.google.com with SMTP id 98e67ed59e1d1-3438b1220bcsf4514297a91.2 for ; Mon, 24 Nov 2025 03:47:25 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984838; cv=pass; d=google.com; s=arc-20240605; b=KQNz16Gsp7FOEdtnkWPFNkca6WQvL3inid9ysfgwhdfNKM5pAnLiWOSGJ4cW4fCj3T M+pz8EYrouYufzRuJnszDc6iCWY6GXCZMzZJ/VOaQNjoRAW4ISO9v8LIv/gFfTF2Odpb NdzPM/hM05akXAg6W6YRnrmp9ioeq+iIoneHfnCxq8R+W00eYVFrIAr945NQ4AdJcdmO oNK/qxLsAPR+tiq5+7pk1tAdMSN9p0KOvuQssiFvqxPl6jynUWjGGCrK7W5uoA/SD+Ab foxE5AQMclJiK817hG0to3/DEYd4idjrpP6GMd4soAZWxuT9DN/aTwlSy4PWgWL5mmuQ kEuw== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=5ysZIKbmzNUeRXovW/CckhkfSk9vxS0oIicFvqWLsS4=; fh=tpYkZamUb5ohdE8BCTgIj6hURgVOkL6E2jIyFXNu9f4=; b=L2aS1Mhd0MnbDo/MgVupa1uONW8cc1UOfJxDPbnl2E8d/Ghut9QKRRx8TI7L/aMS5i N4UxU4Y0fkts6yC7VyEH6JOW+WWuO3av7VMM9mz5XPIEghLIq5fAFRe85seSOwG23sIQ n2am4PgtQnf3fQMtub9Z/VYcTvCYauonI699DHsXIS/WMAA7FDnWx5fxi1zpgd+uVG22 mi22vLBFa9DipPp2mu/OmwoQfv80CA56cJXxW8Bi5i4fnohwpzm2rxKiAoQ2kQEDmAtL IoElDJxjuwsKiB0uLdlBIQ1vZe1j2QlV3FbbMc5E56jXk8ETWuqQJig776FMEsk9479X BT3g==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=oo3RHbee; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984838; x=1764589638; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=5ysZIKbmzNUeRXovW/CckhkfSk9vxS0oIicFvqWLsS4=; b=lzysoPQAXhiFAuYd3JspNtboIzBxm8YKZ8bj/uqEbzASp6FrS7mferhgSM227JNON8 EkWXTyEiGpHlkJKve9qNrJsQIm/GqxUxpjBBM/v5FG6ElaYz2GIx1uQ6UQziPum8CqI0 B4DP8yJZ9wd6P3A2HkeOb/FKPRqWZGufHHh0rFFfWRLCS6ul6fF70t/KfxWjYmYXY9MF 3d83SgJJmc5TJWfZSvnFjYTn19oPpmo8hXM7lLpmMj3mCiJzlgZgFqe5YLUNbS0F1/b8 lEboDyzIwMFp3qu7sBW/DY0pIqmGG2b32FmcJO/0pBds2ZaqtBpZbOZtwXrjCNFbB+n9 ZWZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984838; x=1764589638; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5ysZIKbmzNUeRXovW/CckhkfSk9vxS0oIicFvqWLsS4=; b=ApLuOG6NiIrdbsM8M1XAl9+F0mBVpBTR5TIc8D4ZLJhe9RNjyG7XFyGJHMuwBSYF+A 53BNBZHYDYzpOLcf4pkmCGDkcu+FQUKlUizh67Wf6V68/KgXXrGSFXOH4S+q9/b2j5zG UkfpQQyr41TUXhjWLbJ8xzlkAT86IjLjp6SaiuT9fdzIJr6jg7BYVzb+tYI+e8Lq4RgQ meIaf3cquLKSKKvx3UurIdkOnkNmyyJJB8H/Stg78BG/UOWxK9oYJeMIDNSap2XD6lgn 8Df/du/kFeeta1+5+ONWzhroHFYsthhTt50MsaqF3DQ7UhXeNnI0okbaFSs5iD/YPG7O yLgQ== X-Forwarded-Encrypted: i=3; AJvYcCWU7BiT+ZilDEeG7Ks/YooGVt6zuy8fQ/a3kNwBJfmlLsoQYx5tbuXWhVGrJEEW4MxGcC5USR8=@isar-build.org X-Gm-Message-State: AOJu0Yx0wRH46jDZ9TVdxGEDZ3il6lMPUICBoaZK8B4avWqinofXzbaK QSiVtqf7E7yRYPw63TOcNzsQKBpZuajkPeVeomnX9nCyxCwXwlSAvhgF X-Google-Smtp-Source: AGHT+IEXDjUuqgE0fjQYZ+uLiAUasYt3/vtNP6pBeX7ISkqo95l5V31600ZZ/+ygE8jOfiOsrKjkaQ== X-Received: by 2002:a17:90b:4c0f:b0:32e:9da9:3e60 with SMTP id 98e67ed59e1d1-34733f54393mr11342190a91.36.1763984838453; Mon, 24 Nov 2025 03:47:18 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+ZZNcVOz7xIAVCkA3I1hfkd4R8snPT1mcsnwzmLIDZvCQ==" Received: by 2002:a17:90a:e09:b0:330:4949:15b5 with SMTP id 98e67ed59e1d1-34727d77eadls3207626a91.1.-pod-prod-07-us; Mon, 24 Nov 2025 03:47:17 -0800 (PST) X-Received: by 2002:a17:902:9888:b0:294:fb47:b623 with SMTP id d9443c01a7336-29b6be8c855mr90854825ad.11.1763984836615; Mon, 24 Nov 2025 03:47:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984836; cv=pass; d=google.com; s=arc-20240605; b=Jad681ru5Lif3WIKm12bpl9h4wd9g3qhkV30Jm7QK3LjjFUQ7Pg25PzKJDjNw/CxMO BP+BWm9QVjglVzHB1DFjdEZEsQEKixDcwkuHjBoDgL9mejxZ/1gn4zLjMZK1rXN4SZ3h kgY7U+s024WXZXn3ILPE4RA7YVbmZ7ejARZ+fZtmK0MHQOrL4KlkOzQDZrkgeVtUl4ha IFeeM/s2RNqiNYHgSxl1DBAMISAsQKr74gXVosmzWuSAm//9SwJEPnWkwrjAXTpxvORF ZHfnOl44Mf/BKSZ/LLpkpSBJJejqR/7DcGX99AXjwGktZEG4lSZ8I1gXm2X65QunRq+d ujwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=n5loT2dkSThK6iMPZ25tdT1XGlyFgUezwwFcS4Ijsy0=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=fI0/jwAsXVdo/sH14n1tJOHRyNa3tTtsehUne4PoT4aou/WrJt028L/uUOWYxYgX4L byQyIjhBzuiNM9J6pouXXCODlu7AuMJYN5XZoVq3OQxhY109Oyq1nd8GpEZzWI0ranVx NFlrz9zRDuFracw4OCpCIGZ34GunaIXF0Tgm4FKQow79fKQFwtktC3YYTxT3EjuKAFO7 4J+BYEc6CetWplGbpbpb0oRLt3V1p8ZErNj3LBiWNnEohzMZw5UijuqjfHuBVWfLHZ2J 6FSHZOKrk2up7fTWYlgtwx5KtJVIi//SC6+YdTCyRydsxE5eUQTWMRLM3F00QlI8W7YC M+kA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=oo3RHbee; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from MRWPR03CU001.outbound.protection.outlook.com (mail-francesouthazlp170110003.outbound.protection.outlook.com. [2a01:111:f403:c207::3]) by gmr-mx.google.com with ESMTPS id 41be03b00d2f7-bd75fd1803csi322780a12.3.2025.11.24.03.47.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:16 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) client-ip=2a01:111:f403:c207::3; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RbAFY6YH7r1wX3ToVpl9Pbl1SJxJwjnoC7PcOmHM2Ov/Hth5YJ0CCCBRu61Iu6rqoAhMLYI6PJvqsVg1CYzffLvhIs+otT9iE8EhLZVbQcQBBxNXiiybVAsAqbRtlnL7UlJML5wVgH99gvl++1yk3XLy5V6jm4ucVi3RGDiYsv1BJ7bC98Yebn51xZy1s+7DleesVuAqMffI4l7sJshnQKOJPITuROqEmXO6iUJzh5/QplUJEZLcHB01Dhx7Y+sfNoyuX8qYnXUivEkj5v0FhpVa7f+dkGug2agbaezX5PvhWLbggEOTdyTpy3hTxIPABeAkLHIEYCGhbSzxQ3CHUg== 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=n5loT2dkSThK6iMPZ25tdT1XGlyFgUezwwFcS4Ijsy0=; b=hsWT/PcZ6KTIDyT69bgzBm6toDI7O4qCo7mftbCWwKTGiKipDj7l+uVQV6HFmm1mjkZs8+Y0iOttolvf8JGlNnnJWTIBWkdVBpIn53Q1XB+k+UDoMwA0oFTy3VvV6dlxUSMb+EBlZJnI9ifudcKKgeqVz0VKlBWx8fW6WX5782etcBfGQf67lW10ntrth5aW3UI/O/3BZOt+yrLzjuSs5jvHOe6Q6GugL2BAdrXi279sca3h1VzMUtDqMGumBorUcxnrKPk6z/b/gYolgoKC9FeJ7ZQ1SK35BwQcq1sZCTiob+xkbn+M+kyaNzdzGrBWZfb3e6OJUCXAHN/2o+x2hQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PRAPR10MB5156.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:27a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:12 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:12 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 05/10] override distro vendor in SBOM on Ubuntu Date: Mon, 24 Nov 2025 12:46:33 +0100 Message-ID: <20251124114638.2238090-6-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PRAPR10MB5156:EE_ X-MS-Office365-Filtering-Correlation-Id: 31078b9f-f1ad-42d3-6901-08de2b4f34c3 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: w5vLEwJxW4kJA62VVtDsuY39JRiNClM+JRXqFaSMZLB74uieCrt8GnUN3jfBGTW8h//kjn7ZeXwfzqMwL+mUpgVRgYWUFqThP6vNPc0j7EaE/MFT3pRgqC/jgD+Wiz6ScngxtnyfCJf3r/nNot50cHBIt08sUgo6gZPr3Ginqsi84Pua9UUeAVHYR0Ue4W8YoCoRKXpnitb2AdrFrykc0hKijRrFERX/tJGjvRlLmFTR/B2FINZdwF9ZcHE2XxX4KoQokP1WXtNmxwbUrOsZeOYK4y9ROf/TIfgfggfRNWGrzqt2x2xGBShQKZQ1Lcw5MTz2pdjXoOYuh96u50OJEHyTkW9ERI2I9tAqdGvT1wSCUqFEnBWBNxuAEBpY6/d4i0gH4/sBAL/KajCKem8RMpr9tLELAtQTNPz9WTgkP7xRvN6e4CtnsVlq/F2p3PtJQXrumUX7nwlCH/gjOz33g+yxo6afFiMaiY3/jnTawTKhvx8xKhcEwk0wHM7DKyC5c/1fKjwRLM0SQcakWEYT3zAviK9B37lUufqKox4b64L/AEj45pp0OqxBy2R8q+gGMO8DgHD5IQD+kY6iiPjUhMZEtKG1+XnQYDadDCftkOags7njPKhYAXO2ozOxPuQ58beKfu3Ubxv8J+502XiimLWD95PQCuVPu5MXD5G5Nq4tiRvrACL4p8CogzbTCnGvth/V4GyWi/OabTksxaUg+T1gNSuHNPX/7fju49aEM+d1Uuv0PPWFSfHZj4fadwMgxltdN5jgZ0FiKRDq+LLJqsP/fcrjdRIphe6Gz4whQfxa1XQ0zaVEIMBx6Y5K+uD/MSfNytQV2u1ga70om0FTgQ7y6MIo6QfqwL3lAlNp6Nu4LF6gcX57mmbxHH5TJgp3SJDZRVWV0nlSOi8H88Cz6dJhC5389HUnqpm9l+hTimFKdh0kyV/MDWz8vbGuFt9+hIqXeB2wcKd3pNidf+SBvPczPpcFENw6z9Cw1efkXV8MxPKk2xLH+ML0R9O9wgMrMVgxmIsXcZ5T+bf/09k5vXtVkcWplvMQDrRm6mioV1jMEBAKSKCByENLy74QOCcRKSBH9Ecy3VG83EkciZ/N691kqKEpC6UmRJMhIcRyev01x1Ys4y2OY3+1O+v+j4t5YZFAmYlpb5RAgMUp1AH9y4RS3XF0eGWPs+JsnNSz6yRP4Ol0i6tV86fpzVcpN4lJjqca2jXFoAMzTeoxQyJ3NTvzObHkT110xSFrFsZnJxpSIKnZrsiz5lrMtuc0ZsjyKcR3FWdQgXBj3XYNsE7duF828OXInrBEQUcuOO21oERHR/0jX7DSLQfVRIP7bQorqb0cxmoBqjz3UPsPdNNl3G+3redLVikFXlkxc4iias2vvrLXL4yKgGv5lf454hoaNEBE3umeMqSHgKbn3VDcqjwaNt1MmpDWyPfjL2q7nWfT4gUNAL0MHwayrn+LtpoL99eAVSCshUu2IGxYjaMehA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OJIy5dS6+/jtGhv29ZJPA2TnLjNJ4iBYjcHhS0782+bfPCzhD2ZP4KIbJmHd2HrCcgZlVJrVhNCRZHxL9ypizKkJHF2KXbZJiGGw/ucdsFevqY99bWhGt+BZ7nmBQZ74lxxL5K1uElgwOP3q499n7sxFneo3PZmpUYsgWdQdDG01Sz9Ioatt2tAmxjCX72odAa6WWOObjgXrx5KVlNs+FYDMD2ulA1v5td2oUxTWYmXsVU6cVRJuQsobvZLkJDkkSLBhYY3pIJ5Qgh0P+1qB6TFVta4hY0tQuORuflJA3XYjGh6paYiAM88uJKP3CL4gqajBOMmuvbTtwlExvXgagY7t6EsaNwUUsGXmOKNuJsKbgxbZT/Q09c9jIvRw+JDgLZdjuhktQ1A/dKkabxcE4kij8113fAhPwh6Vq7Qugy6pchbvAKTIk9JBcLg16kmrGWW4R4W60F6Y/mrQcv2JPdnF2LEQtMLGms3boD1Hz0I/Gq60AFVpR1S8viBaOgzU199XDEhOCUvTfdC7yCav9Wq2l+/d53n9FqceoujA95LP9fzMtX/OEqVYHWz9tQ/7pbrQ0EQ+NCRcM+8w7Qd8uuGwo3XrfMA/T6biqxwaZcyPVqGEYLxa/NF3RMujiPnaaIvr/yKxdhKBbblL+kyDRsejzDaN6FBZ94lWOOKvm9oCCOeLC7WpyrsGhyCJUoh/HZvwVB9qM/IumYnCQcIb8oiGlDe+fr6t9jzZsnJjiXEIvWTGfn1asOmmOV1CjGUfiNTpI3quzSi93bPUBT/EUEumgpi5B4Sk9kuKk5yuuGaih0wLGNDN7afVoB8YV1g5xXV4KGhhxXTE0LYO5RsqRA4PLaho51mnNWqAl5EoZzx+OMTx83g0ovpA0l8xS8xdCiunFYhla45UDo07bPoHyfJlUOz8vipRrr1bQfSbA6Yu3FHfhqbM6DjWxvlguSYEH5vclH5GNi8yvStlLt9/iLTn0uVOIL/T/Pot6qjxekQmsChYOG3b7T4x4yc954kyDsw6UPJKGOY8ozk9Evgn7PkdRKnmZfFEqhH71yfY0WQZFiaLki6xvE8OMerxUq959CWDF9TwIc8870KmI0jdXyphhwGvzJ6LQsxZgL9Q5bIF+ZJWCXS4oxAm54JFE/F2ufVCTeyX0Oe42HSm0mGUi5V6E5Q40JTsh8eHcQ0QYgFvH2bBWuNeAGzOLkF9CYZG57G/7spm1RHKGYbz7R8YlrH8LZvghUivg7fJ5hV+LnV3heDw1KlKZxarAsmjg++Y++xWtJ6YIpcYAdrE6KLN+plHNCrowSvzul2k2Kw+bhUP+X0NOVurB79QGgJDOoVOqSSfnvI008GvmmzFa+7xxsPaSUIqSFTIetnOlFIt85cJ3TXeNKtMUQSuNiZivyS8oqmIdq5pPr6j45H+xuIz+VXU1evltCwzb6o+IzWmggyJPyYw/hlZs2aBXcmvnIwc1yku+F5i4a0Kwt+hhjHuJxRIV3uEaMn2vGge5fwAYVFzQizWGGfgiuXEJuIIYdOT+a8SlVV0EaVWyiL08ZP4XBFDvgvn9fGuEc0j3NnhS5HW+FJVNEXaijk6riAMQmzjslC6XGqPB/tKCJDf5W5QKQ== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31078b9f-f1ad-42d3-6901-08de2b4f34c3 X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:12.5712 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KWn5VZ1sYI1pgTLmlbodrCgazZxeabaviWZ9JNG+xkT2Zvu70eF7PIKSvG2L4g6H2Mx5yzaZZBmCwNOA0jl3TOruo13VWF+CT9ApWvKtyD4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAPR10MB5156 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=oo3RHbee; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= When generating an SBOM for Ubuntu, the vendor component of the PURL needs to be ubuntu (instead of debian). We now set it accordingly. Signed-off-by: Felix Moessbauer --- meta-isar/conf/distro/ubuntu-common.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-isar/conf/distro/ubuntu-common.inc b/meta-isar/conf/distro/ubuntu-common.inc index f1e8a1d6..ffc41afe 100644 --- a/meta-isar/conf/distro/ubuntu-common.inc +++ b/meta-isar/conf/distro/ubuntu-common.inc @@ -45,3 +45,5 @@ SYSTEMD_BOOTLOADER_INSTALL:jammy = "systemd:${DISTRO_ARCH}" # snapshot mirror for reproducible builds DISTRO_APT_SNAPSHOT_PREMIRROR ??= "(http|https)://archive.ubuntu.com/(.*) https://snapshot.ubuntu.com/\2/${ISAR_APT_SNAPSHOT_DATE_INTERNAL}\n" + +SBOM_BASE_DISTRO_VENDOR ?= "ubuntu" From patchwork Mon Nov 24 11:46:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4632 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:27 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f187.google.com (mail-qt1-f187.google.com [209.85.160.187]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlQwi030689 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:27 +0100 Received: by mail-qt1-f187.google.com with SMTP id d75a77b69052e-4ee16731ceasf94497411cf.2 for ; Mon, 24 Nov 2025 03:47:26 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984841; cv=pass; d=google.com; s=arc-20240605; b=OJcLKjPKMwLAiQ4EpeLafgGxQmaDmkwlCItfsWrZVyEzAPdk5Ez3piMkiDWhMX2bTS 9KaF1kPImZIsc/0sa+ut7mkwjrop5TOUsf6tSJzSE6ZVKa4MTcVeRXQ4DMHNYqgDx3ol Lrl9OBlWtmIrUxYVYyWgM0Q5PdFkoBKUo6wo+POzG+KmeE/0vXR8FWCBLg+FFHtjq6pz jWjJNTYjL7oF1AmyWkqsXFfyr37FRMjlAD4jplbYVipZCDvFetmKnajPRPT6W+Wor801 p1B0OCHLNdSdHVwFJox7x9ZS6xOF2ISozqtUyrL7UbDiCJ4XJY9xkO0MSDzX3eKksHqd kYug== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=FY17omZKDCHtdtAyHl3hek/iriON/pipDX6gYIiW/qI=; fh=SV2mWXBWzWlyQKAHjTI1TXvmAXiEYHBBvNcJWktt+mU=; b=DBAJSE3cjiUIGmM3m4dqLJSVKrtQ0+ryXzGn6bcms2UgiEwSqcLha1Qrj+pjYOw3wH LHEXZYC9/DRYRpVF3ly6RL837HqCFqxnm/ufwBG3+xpxnEfflDxGIzKKzhz8JfvagGqJ Mp87AYwcOOgkVBZki7TRLfnlXf8vxgPsAKTowF5zfWfz195s48R+fQPVxK27+5+8kqnt MKHXqi53rXXhv6A4fH9WJWDx7hdRkthkQBzTlH9oJJ509Mbj1lfGjkff2Y2e2l4pu6r1 jBIGRoJO9t7ALHNDv6OfnMA0TQ1IjbLOVThfYyUSyum5UBgtqm7DXb5WEpePDWxYoRLG L3Ww==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=MM0whoa7; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c20f::7 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984841; x=1764589641; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=FY17omZKDCHtdtAyHl3hek/iriON/pipDX6gYIiW/qI=; b=b7lGBNVrW8P85ap4eLQ2+aF3h9nThu3FUimbRT2QoTUFfu3IL1/aqSn3tCKSL9kMsC cMd8defcEki3jy6lv031m6n43Y4AXm+hYmw04VUrRV0AZzuTeHXtXCkV4Q4jIDw2oXA5 Dvs9x+PoUAA7LUq+0HDi5HsOohlp5MtIF8T7RDVgv9YveBxQ5gWGTj/EXhNpWsh/Hayr +IQcMurYThzPlDKJCLD0oOsuX2V15La1gescb6lWzqvVc3mHrI+LjhhUmZXZRG5D5JEH CwfsU8jhVaAuj3Tzv6+NLagttb9PMYM5yj4TyE0Lc+syhibIoVCQP3eiaAS7HcIIxeQS Xj+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984841; x=1764589641; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FY17omZKDCHtdtAyHl3hek/iriON/pipDX6gYIiW/qI=; b=ck5A5r3J+lmEGI/4IlKJz0uXmDMWrR+mcCbHuIXRgPAELWYjpjnUbtuuUOO67MWqV5 p+Ln+gGGiXor85oxN+8BYAJoB5id8avIfCQWgIrOj7VcZISjBN1qNeVp/GB7z6Nt7eZE KXEYpyFdjCu7+9N1N10VAqySAjEDAZjgnLe5MQod0K+XOZcb/j/YpvTmCaJckLc2CBt/ /gLo3WOAzdcrd+LK1hmTLmxcXRyHoeNTyyGPhoeGWlgw/IFuhS9TNGV3FrAity75lgyU 9ZHVTeN41++NfNUPyaFMXqmrF+Jr2G8Gj08H4lOE2QKkj5N7LJ7AJn1JgLuOSQiLiL2m ScdQ== X-Forwarded-Encrypted: i=3; AJvYcCWN/IFfj+4W308EAcrann5CPYqs7XkDMGayvHYH3DFFeCz0SEgU+zYliG80VCcE85xGKpBU4qo=@isar-build.org X-Gm-Message-State: AOJu0Ywv5wFTOg+FZ6afzMWT3KAEEfvBarcfLPQ/dYxwlV/ZwcEvXsCX EA7l9UO4F7x+CMUKE4zOSPdQt5nlV9yigQAXVUVJdU2SFbTDcqRP4xuf X-Google-Smtp-Source: AGHT+IGRMN90eKP9Gp1pPHfTzOI52dhomONU0w0rdSydlzgqlJtyyj9JXDLmQcg+J0PaX4a1wJvq7A== X-Received: by 2002:ac8:7f94:0:b0:4ee:1c98:7933 with SMTP id d75a77b69052e-4ee58801da3mr149803481cf.13.1763984840838; Mon, 24 Nov 2025 03:47:20 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+a/EZz2ag8tactSnPTMueh+/uDHlFfnzdItb+ceHe1/3A==" Received: by 2002:a05:622a:45:b0:4ee:4220:d0b4 with SMTP id d75a77b69052e-4ee492484efls99407471cf.1.-pod-prod-02-us; Mon, 24 Nov 2025 03:47:19 -0800 (PST) X-Received: by 2002:a05:622a:148b:b0:4e8:a8e5:182 with SMTP id d75a77b69052e-4ee588907femr166774851cf.49.1763984839699; Mon, 24 Nov 2025 03:47:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984839; cv=pass; d=google.com; s=arc-20240605; b=hudeEyz7Xd8M4UpAYR8tAmBbyxVwH13Li1M/6rxuOdIdMbUrOJzjQzdIpGXaTrDXYX vDJsSASbLe/Ej1JPvhxXsti6z/cVqNchsZ/Ao2gUs6t69R6ibgajWQtE4zj4H80Kz6jv eGGWFPEbiqf8WKNn94qdqQfdW8MbpwAl+wZ/XSvcKB9HYlV69chUthfhTwUbLoNetTIZ Ls7zN0v92XSXutzUrOnSiqD/zoq/hvl/RQpEyx+QiKpmk4/da+9yUnhyqbvUpJehEHdH So7zpJnYmQ+dFSj48MPW8k6yEBD/c+Q8vUYbmBHeq8ICjZshQkeU5+WZ53hVZ9st7duA Gp8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=x3TtBed4YocHF0MsxEro56FCM6e0rR54wODd95N8xH8=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=Li43XJQRlpnZLFQwKGyMvIAqfMtRciyrtz8ryCFoFTJFOUC1VXJsKWIP4fIdKFqYdI 03vpvuNr3kMusdobB6yWXr7hkCsiqx8v7xabFEDSWu8Mq7eWfwNS6fTy9IM7MwIhEPsZ KIu5wE+Bk/bhG7zsSyR+zRN0OD3bGpKiLk+TcyjCDvlZ0WB7TDkr6VGHg8fyRBnc54eE MHy1DooOAkgN67zwtszBItb1R5qN/k/Y3iHZVP2KIU/mVvtHPINLH4wLAaEePicQ0Y5e xxeZ7CYyMUdSHpafPVRDwTvi4t6Zxru033JNnRqWVIMPR0+Kus5FFX/7dRowLL0+M/NT g9Og==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=MM0whoa7; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c20f::7 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazlp170130007.outbound.protection.outlook.com. [2a01:111:f403:c20f::7]) by gmr-mx.google.com with ESMTPS id d75a77b69052e-4ee48d0b40csi4780751cf.2.2025.11.24.03.47.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:19 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c20f::7 as permitted sender) client-ip=2a01:111:f403:c20f::7; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pN/Xt2tSTgE+nW5WTYayni+PHnFof4v48bULjOIeTYbeMKWOUPrveexEdqdE4WxptBJ2BYxyzAkTIhwGWcy10GuHAo1Hkgut7U8wi0mjKbWSztmsJCFRtx+XHSoHU/QEk23oYRvzcJ4gngdFrW8odAGPPqEaurJjNS93mi0aiCdoccSria6bvtmrzbKuYswiDoSBI80STJZBZ0qw7yd5rVAyJOwQrGsXfgPVwxbQVWc7FhHL9zNHXPxcsQ2ldj05ZB7ogCPfVHjyFUOOu6GKy2DW50pRWUzT51X5PhNEJML4fb+Aoe6fIhSrABcDhTXd/K9OOiI425m3JxQZYjaXFA== 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=x3TtBed4YocHF0MsxEro56FCM6e0rR54wODd95N8xH8=; b=HV4gXHCZ6xqwGxAtBRlTWjIW0aJssEwxtE32YPXlfqj5VITaLSzH6gQMmBtJEmxhlWI1+KvxW25hCIhMmr4zYimTiZbb2nKGUdvQxsiXhld8LgEasGqL2x1jud2E4pu+BnW2Na9ZUm9ukW/M06uO1UCfkfGdZhVbmKIt6GKILfzYwBC+JxtHAcF8oqV85kvKcPtTrf+ukUyvab+ZBJmmVD8r9ssPcUrHsPCcSx4o1lJ5wW/Rl4me70v49AuevLZxd8XaZFofWEA0fnnMB9wacjBCY04V0Kt27yFe8IJdqu4NjC/723mYUG31UQKzetpFkYvnCsoKjvtmCgtxHcXeaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PRAPR10MB5156.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:27a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:16 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:16 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 06/10] add support to add imager dependencies to BOM Date: Mon, 24 Nov 2025 12:46:34 +0100 Message-ID: <20251124114638.2238090-7-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PRAPR10MB5156:EE_ X-MS-Office365-Filtering-Correlation-Id: 66c74996-151d-49fb-d180-08de2b4f36f2 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: gJ6Tzvg2NdoiK6Ofo2RV8aFitffOKwvxEfFWGfrZC6hDWtydHsBkBbPdJqJS65LYZHC79tIkLtOm1CtVUBE0Fip6II8wUOgXq2vAs+ZsSVZRd8CAlo8uEwV8gc9PFBsIQZOte4vKfmfQ47cmEckSQ0G08yYZqzRkc8YL/yCLte8QME7/fkmuh57kcX0X8iW4VoamfUIVDDo0kR0WxomkYBT+XXKXS3X2jSyo2bSFROOdENujVNoOvLA3hSIIr/O2dLKTwehjn4hmUAJ/V6TsBGOoRAqfuW2+mKl4EbBoHJRcZ0YQX0CUYIjY4CxkT93yPGxVeI72DewUgz/s+mMjiBiyBY3HGbfBFTVfB4nCafGr2bl8aB1aJ9HTxmsNXVeelPxkzqGUXkRKg/ECD7+sR2Qab7RUtYPTjZGWmsmiOsBj8IuKHk3Fjoa7Cl0v0BX9hPO/5EzpwbrVK9fki76SSH3hml1SFEux/cL6Y5FiXdSxeom5clq4GhcLl3z9yow2p4qCUd/TnM5YqBSpyjzBxgCTRBvlMXzWtOw6e1LD/1P32kUUwWtm1t4KG7OidcgH/vpbL9avbnas9Io6AtWSvv8sauhAB2MsBlotkDC3NDTbwQDtPtmXRQWwCSGMLXPw2mHKnJ3kEb/f1qrSrCs2m0ZL18QP1esTvsR2K4GtBoqfoASXd5vRMqhRAAzCUf9bUSe9X/cvWOCsYPXrXdm3fikwudH35LHgvIhv0q0Zqz+Z0ffqcIHDEp2Xb1/9ZY/mpX6iB+WBQ8WJDNdn5HfyZzR1ZrnP4MjJ5zDFIf0G2+QWNxAsQ3RqV/iyW/t9e/zEMdnEl596isjhW4vUrh4y7OFnfMCW7Q+8z0/+e3cJtmvE5kZ9XtjHk7mDWFcu9GW+JkaDVYN1Y40WZt2x7DVgs/qLohH0Otwhc0ISEI+G6q8/srjyZSUxn93+ME/Z/7wkT6w31TJBvlFmNEGqkMI/5nO7hOuK+fPVUY0F8LKKYcI9At/vWX9+Qw5la9V3bnTyrYEG5Dzan9Gj5Wt8sSQdlOTceJ65uol2oCmGcFKOqB3K0Yq0VFFWchaOaY9vEzVd5vFUxrVudiMXVKe8GyH0vaDoxnTdVI6Ksuw5+h2PDM3XV2lqesdesY+4M7gmnB7Rp2vSRb1bEVIqXNj0sZ+DM7ZLsK69MuOY1pRGdl7Z7SvRRe5V36BQmksGfowHLYV+tv1NBPviM0HSDx95DGZwRP93fT7cUpldbISx3X2UFdvwpNTlP7Y2gxpq+za0E3ins/J91EegX4Rz2PpYxksiiUBf8gowPUt6Pu7Tl40SXZNu8a9aHGOWrepIZPfNSpcYe+bxRA4FM8pnoYPkC84ReFj7Tojoi7J2QQblDPFxmRWmSIUyFpr0Y5j7wnxex20Llm2DXl3fE5RxSmiDz+YIRZ9XszYCLaTqiIY4Oa/gUq7C63URs55AVYZ88wN7Xrdd X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OiOjZzzGbkrluU8O7NJHNWWjZiPwWRn023mH4ou8EdWjJntbyawKdzKoLgIdHAq+j6EQ+bxXmzQ/i1xZCIx3QjUfi5z8pOtB2sj3NS1y4ZmIQj+vTqMFJjN7Nu1/fdl97MxzTt+gJ/guwKPSl3vaQtOlDfvpkNuBPaTT+JqPa3DwFSns/YCEz4FCY2YTKVwq5UL+hA3B/fmhsOb8gxeoEYmGlEIrFaXOVc4eSfcn8fP7f0bT2bADCRmIFxHSk6BLYiHoBVQYe/7XdA3sFx7sK47TvaCGEeF36DrwzB0ICqkdc/yRAteGyJZ4ghu3pORXkeC/yCr9Ok3J3PlbnQXpMQshAThTJSNKFrWgvN4IO/lSSXJFnKZAohLrMV8zBl2aVrMPnwg+oxMmVo+s7j9RVyXN9nmu44G2gvImadGv4zhCbNUgb0z7yo05Q7tFLBg6Tv5zgPdx7L27wB+E8S167ppKNjUNCxGasYAZVSGquBhbHBn4gA0p/XJaYUyg6tTL9/FxUtk5N7kGBlmrz19NeyUGqtHZt1Io/9YwT5R7yMQYmZdnHrB+EZGEyENllB8hmLW3buNuC58+Sy9qi/65KPL8H0HdwNe0V3t/GI2SSp06VKn9IYUuSnBmFoZlV7L1rku7tqtRttkfFBkYyRrqONTZOpmC710N5O3zN1tlol10nuH5Cem9hjXvE40UM84unlqbl3muKsvZ6OuCbYtHJgOyUbSzXLYuqKcHrV5njG9sfOD2KNhsORAO2iPp+lYYqWF9elStWquo8XzSS4QqBpMoMEVJDvuqBsbLc2hFMlnDl2WI60rRhq7OnYVNs8dfOzZf9hzf3V1QeCoV3M8puDlm2MbzP+FatbwP27PdOVRggoqFr3BRoIsW5uWh6fhHpNfXSXpS98xRvLg3LGlTAZWN2z3u0oGV5GHO/7LBSaLV6n0rVXPa0i2E9uPIbpVnx1MWlpueSITUt5Ss+kGpN2/gfYyR3PRX7TlKsjEomW5N2eG9GbrDoxcDAzVFKBRsoNs89oeLM2fskQUgV9RBspZ+IkzpZb3ETrkcowrpwMhMyIRzI5E4fgF7cENn0AON6NlV9MFRGsYYi+RCNsy3VWSro8THWcpoi+KbHGqXpc8LJyU+eHvxvmFZCz0rTK0LWKaSmSI5pIhv6SHSVcxFawD7Xu71t6qzUaFtWBC143XjEcWOp/rZerlQB6ps+SgvKOtR6nxUSHQ3txRJPyHxKvKNeynFkwQt+Do4aJg6nrPMbt9ro5+9QAnLLHWD1nck432G76udgl8eApVpac2XolXk3iEIFIDEOuNGuV+h9pnyjieP1OglP/K+mx7PLA97kZsV8OKxW6SXgjxfXuumoGfUVKSSCLOg65A73tCsxXLdOzolr4RgcOhprGMzM6gI9zxVvYSHi8wHVV+DASbvDEGN7E+eQfpoodUsojpkWByqoFFJdMO6KJbRIxdt5zMZwB3uIiFsNCH5qddiZbjlJOkmMc4Oj20U5BJhmab7tnymaGKR0Ww3zbphxFGKgBLHXsXl8xyRgMCm6ZXt+0gXJ6Jq1z81QpxGgtZmCeDbw4FttgQy4MWtTuE67z43M4PpPQ5v7CvgYA4mjBdOasBdqw== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66c74996-151d-49fb-d180-08de2b4f36f2 X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:16.0839 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: p7yb5dBG92zc2N/fzqoKOlL57qX+JOFIkx8rTkNjpfobio7L4okm/HdD3gOUDCLRjH5N03qCs5yUAvKPM+2VMb9fEr2LZJyDTGIfRSWj0EM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAPR10MB5156 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=MM0whoa7; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c20f::7 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Currently the imager dependencies which end up in the image are not tracked in any BOM (e.g. the manifest file). As these cannot be automatically derived from the IMAGER_INSTALL packages, we add a new variable IMAGER_BOM that takes a list of binary packages which are looked-up using dpkg-query during imaging and added to a local manifest. Signed-off-by: Felix Moessbauer --- doc/user_manual.md | 1 + meta/classes/image-tools-extension.bbclass | 7 +++++++ meta/classes/image.bbclass | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/doc/user_manual.md b/doc/user_manual.md index efe65a51..46c15b21 100644 --- a/doc/user_manual.md +++ b/doc/user_manual.md @@ -455,6 +455,7 @@ Some other variables include: - `FILESEXTRAPATHS` - The default directories BitBake uses when it processes recipes are initially defined by the FILESPATH variable. You can extend FILESPATH variable by using FILESEXTRAPATHS. - `FILESOVERRIDES` - A subset of OVERRIDES used by the build system for creating FILESPATH. The FILESOVERRIDES variable uses overrides to automatically extend the FILESPATH variable. - `IMAGER_INSTALL` - The list of package dependencies for an imager like wic. + - `IMAGER_BOM` - The list of packages that should be added to the image BOM (e.g. the bootloader). These packages must also be available in the imager rootfs. --- diff --git a/meta/classes/image-tools-extension.bbclass b/meta/classes/image-tools-extension.bbclass index 3f284b39..2027effb 100644 --- a/meta/classes/image-tools-extension.bbclass +++ b/meta/classes/image-tools-extension.bbclass @@ -18,6 +18,7 @@ SCHROOT_MOUNTS += "${REPO_ISAR_DIR}/${DISTRO}:/isar-apt" imager_run() { local_install="${@(d.getVar("INSTALL_%s" % d.getVar("BB_CURRENTTASK")) or '').strip()}" + local_bom="${@(d.getVar("BOM_%s" % d.getVar("BB_CURRENTTASK")) or '').strip()}" schroot_create_configs insert_mounts @@ -68,6 +69,12 @@ EOAPT schroot -r -c ${session_id} "$@" + if [ -n "${local_bom}" ]; then + schroot -r -c ${session_id} -d / -- \ + dpkg-query -W -f='${source:Package}|${source:Version}|${Package}:${Architecture}|${Version}\n' ${local_bom} > \ + ${WORKDIR}/imager.manifest + fi + schroot -e -c ${session_id} remove_mounts diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 29324920..f3c3ed98 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -216,6 +216,7 @@ python() { imager_install = set() imager_build_deps = set() + imager_bom = set() conversion_install = set() for bt in basetypes: local_imager_install = set() @@ -246,6 +247,8 @@ python() { local_imager_install.add(dep) for dep in (d.getVar('IMAGER_BUILD_DEPS:' + bt_clean) or '').split(): imager_build_deps.add(dep) + for dep in (d.getVar('IMAGER_BOM:' + bt_clean) or '').split(): + imager_bom.add(dep) # construct image command image_cmd = localdata.getVar('IMAGE_CMD:' + bt_clean) @@ -320,11 +323,14 @@ python() { bb.build.addtask(task, 'do_image', after, d) # set per type imager dependencies + d.setVar('BOM_image_%s' % bt_clean, d.getVar('IMAGER_BOM')) + d.appendVar('BOM_image_%s' % bt_clean, ' ' + ' '.join(sorted(imager_bom))) d.setVar('INSTALL_image_%s' % bt_clean, d.getVar('IMAGER_INSTALL')) d.appendVar('INSTALL_image_%s' % bt_clean, ' ' + ' '.join(sorted(local_imager_install | local_conversion_install))) d.appendVarFlag(task, 'vardeps', ' INSTALL_image_%s' % bt_clean) d.appendVar('IMAGER_INSTALL', ' ' + ' '.join(sorted(imager_install | conversion_install))) + d.appendVar('IMAGER_BOM', ' ' + ' '.join(sorted(imager_bom))) d.appendVar('IMAGER_BUILD_DEPS', ' ' + ' '.join(sorted(imager_build_deps))) } From patchwork Mon Nov 24 11:46:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4633 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:30 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ot1-f57.google.com (mail-ot1-f57.google.com [209.85.210.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlS3l030763 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:29 +0100 Received: by mail-ot1-f57.google.com with SMTP id 46e09a7af769-7c79200d1a4sf6260671a34.0 for ; Mon, 24 Nov 2025 03:47:29 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984843; cv=pass; d=google.com; s=arc-20240605; b=Aa4BWjiIvOan8CvvAluX5qqXCVpK+8/g49euZEjMMbD/tMnl5jFn9cDsYw3WK0Lkj/ pGwaRnH3rnEewm33Cvkr6LAEieNjfpwN2QbV1DVWJ+wOkCiPteswooYd57usVsMZBJO6 +PMNxIZi5qwZYEo0LSwrj3DIyNXAqRrtkBPV3UIJv6df5N7tOzwQ45QASWL8jlr1/b7n zoHyyNYNi7l9ojhxqjrftC0w2RXw1vOTUdac/gZJlGX2hVLe4oOjjZEfSuwdR7gIlf8J UTUg+tHebe/l8Qmn16eR7SpP45DUUuzhvMoODFkE8U71SpPPSPTpsRTMuYoT5ulIBad7 mVXQ== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=h99VAv2t5Ig7tlf/pHSlmUK/gAoRpW3WQAOj6hm7X8U=; fh=wesWpTll+ivUzsAEdjCFe2bxeJhtspd7Hsi9Ugc65RM=; b=AmGX7My/gI4GgNGnX29XsNJtCC119mGIv0XkDdsRNlIOTeF482Oc+IEyU/gtN4Hq2x 5jf3yUUVExbts1/KeotQhkqLnWKrxlwk5G2pdDovuewoF2lu9JoozXnw6eYEt9nDsCEi AMQsUW816ldWmNTfVz/Z3l1dpBozUbO1MMhtOOWmA/TGudUCexfF+nl9XE7Y03MhrBN2 77hvmx96EPffjTjiq5urA5fVcTNiFYsE1VHthI3G/9a97hJnK5PyC4IJcMVUmJsw/6m0 2Opo9fNIegoYZDoeK+RWcYzlXyxVwv8eHbZ8E2gEDogU60jXcB+/iIqk1VZZ+C4AxpUW XKtg==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=O3Yb1p1A; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984843; x=1764589643; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=h99VAv2t5Ig7tlf/pHSlmUK/gAoRpW3WQAOj6hm7X8U=; b=KsiCfmzrj0B+5zeF98MrGF0DiD7cjclVLVgo7WTrnbMvu+K8iAY9anzGA+ebrA0lsN R7hL9AMt90b0WezNEV+bFYMi/d+RliO+Dsx+2YYEBuG/HFuo5XzLteON7Rrz+hM74O4W 2EKUrEhefswFCk8EHAhl38FYbYZ/ubvlINFdzJeAcNn/U0lt+zbBpuUVaJ0khcgszoBY XeGjnrRGmtPMLVNgegJuDigIGksuIvPwFonxPmBcv9prk0c1xIUeII96MvfVRXT2cisw mxPgTTSzm4fnfSFQ4zFdJOzFpuGbNYpaDNdYxvqwzbXGVarfmLjynskgfkd+rQksIal6 LxMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984843; x=1764589643; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h99VAv2t5Ig7tlf/pHSlmUK/gAoRpW3WQAOj6hm7X8U=; b=aV5SngG+smX0ZqR683moQbzaZh8OPJT5Z1D+8ekwvznoIFWYugynLn2Mi9hvhoby0e 5+hma+eCzVolmB2CSrbQOObijT2i3sirVKoBdX6afRi/huJneSm9Ih8POOtXA+en419d iwjMqUldELrkw166uUUYef0PN6Uqo2KvQdZfF/wA/vMtrB0alilLK3HegPOzzgy314ph FRviMdj2nUg9BjqMahHQMEiy8qolGz7MWhBEPFau2kTdsUpwoCrLhEme49TPywY4Y4qO 0EZSMu2JkfAjRfkYgzxDDwqzgfuhgQj+drTmXJ7wVguWlWkGp7K9Ruvi4xLKVUDzhXqg +fHA== X-Forwarded-Encrypted: i=3; AJvYcCVugqg5sv17pLOgVtCS6E77KNcSOjZxgTGNT66ibhzxYBHjjWPKnHZ4l1pfUDB5spvWggW/GPM=@isar-build.org X-Gm-Message-State: AOJu0YxWpUqSrviXbPh8UPWKlCivsb2XRbGZBtFqZ00wtehhmzF1PiHb AZwPEMgX3jMppYK7Fg3S2Y39eNh2exfb2+0AOggzEmWHgmH2+nM7lrjL X-Google-Smtp-Source: AGHT+IFAqIvnbJ1/zyJdTqGOCioxXmHTELLcFzmN4GiG4gMtzi1/bwBLIf6iCd+xzKcPXCI1AVk3Zw== X-Received: by 2002:a05:6808:4fd4:b0:450:5e3a:6f16 with SMTP id 5614622812f47-45112b5d99fmr4945641b6e.27.1763984843280; Mon, 24 Nov 2025 03:47:23 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+bjDLOHgcltyryNX+K5N/4D6Y62jFJshrfOFj9s88TZaw==" Received: by 2002:a4a:d850:0:b0:654:d94c:3d25 with SMTP id 006d021491bc7-657712cd526ls560049eaf.2.-pod-prod-00-us-canary; Mon, 24 Nov 2025 03:47:22 -0800 (PST) X-Received: by 2002:a05:6830:6e9f:b0:7c7:7f85:d19 with SMTP id 46e09a7af769-7c798abffa9mr5938825a34.8.1763984842148; Mon, 24 Nov 2025 03:47:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984842; cv=pass; d=google.com; s=arc-20240605; b=SgH7RFljFIQaPqDGL2mdLKZYiO68/95llaKGEkb6rdBQSGPegvldXErfEvFGZ+kl/x sHCCR0EFchgQobws59ClB9plsx17KBwxvn/Qh+/zhsps6+wRoHTCpG5h78eHpNnMqs4+ 0FFjoIFQxioTtnThLiEO+XJNJkcgLPvmwcnpndipU184pg0Cz0QHXWSMevMZdTnHYRnR FA9WvrBOV0a4vCX7+8Ines8RBbHqgBgTMXtcYC1/hA5MlxOE9uXTDJyeUhk9WewFEjUN rZt+SVxrjT3XrkVqnkN3S4IxzhuZSIU3vfPuuxvOL7+9Edw6kM89aL2QGSMMhbBCHsB5 1JhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Yxkqh8i9LEe0l2qnR8dYbd09bkH90Oe0PfCFx7qrwjc=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=Ln01MLTSCl/JqZsUjKv9v6V4BOwKo9BKt3kQqwTGVuRJa6t1DJ79kF9OSCiIkDP3sq nGj4CbO1PdLnWlQIP3hclSC7q60GYFzlp+NxPc32fOaDwjbp8T0vcN6v35ytgkM7Nvvm r4gcQTFs8EA/N+wg4NIDvQcSZ1XcG1OsyPLCeiAMIWalEmPT2FAwzmDyelsiO0CQoj/S y4UA1dku+37YH16nDBoSftbFjNI1uwiMQr9BYaQPG2w5vmrkUUY52dvvDtoerNybVSkS nneVOvw5ETCMoYXO0cByTY8e9TkzKp2eBsRBtSH8j8dsRj/XAPZquqPKHI1iXMJrOkAq ir9A==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=O3Yb1p1A; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazlp170110003.outbound.protection.outlook.com. [2a01:111:f403:c201::3]) by gmr-mx.google.com with ESMTPS id 46e09a7af769-7c78d3bdb89si451775a34.6.2025.11.24.03.47.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:22 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) client-ip=2a01:111:f403:c201::3; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rVamOqzIjfW9bKX9oY8AZApk9tWODYqrVwb+y7amFfxkv07h0adqAmmQIIIVCiorhFhWhep6I6qqUCO60tBXsWPd1SxXXuSqL5+G/9P0em/5IX0EO2hc2QGE4KMFQpDMdkplcoY4L6Hv3jMfs9X8AaI3CAdq3ewT1fRs0MhwRBdCzZHH4i8YK207akVzBI+BmQYrTY5JyoNc1XI78mcTXi9Tg1dj8uL134uKPsfqJAAxvZzxY0woHFESBwMuNwFPeBVuk1U9ZICd7jDzAQdqT+W5aQv4E7Fh5MV3Hmmj1rc0sp6mI15rK0F2gllKhvws/Vb72LVHv8WqJotxzv5aKA== 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=Yxkqh8i9LEe0l2qnR8dYbd09bkH90Oe0PfCFx7qrwjc=; b=EgCigkZQKnOg/DgRpU83jc5TSokqGQGr5DBNaB+K/TjOKRVhAlN/guT49ZfZZY9S4A0jzcuvXleOd6VL4IkGZZSv2IEC8m1HjhW8vanSk8+qWIPTZe5LcduRU+oMjHghHQz5tKRwjMQJBADbY9Jgei1H95czXlP+CLiNwNbyiCzHqHC4Yd7xdhCaOLvuSGh1j5BXqFWlz6EZDgcdJEaBkNNfKO8U605gHdvIrP5MJCwCpPUHeO4oFGfnLhbkUmJy2LPdWHYjoysXF3Z8AU6jypxubcxivRy9HNaZQc27ltmEF7gsv6NEFiQq6fTiqo/i5AU11S2k6iLbyx5r7IgF7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PRAPR10MB5156.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:27a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:19 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:19 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 07/10] wic: create uniform manifest describing all image components Date: Mon, 24 Nov 2025 12:46:35 +0100 Message-ID: <20251124114638.2238090-8-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PRAPR10MB5156:EE_ X-MS-Office365-Filtering-Correlation-Id: 32432e7f-b6de-442e-874e-08de2b4f38fe X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: uXrg/RfVLMNEfaLtsn1fM+6/OsJBjL/MRoWhsq8hs0hxBdcSODsTvwNfsTL7fvvJMgjO/P0dc8kjfJaxOVJXBKcBb8R9HF/WkYDpUGQbZuaDmJihb/qgJ0KFy1y14w6xt+q1zuJTwgo8Xx0oq0et0PUCVRak23S0FyYJzJNz+oB2+GT7pAlSHF85wjbnw/ZwPq6OoGgQWaX0WwHQ1a1KCyDS7hfqjy2WzJQLLdzAeKeEk378xZIzS/1JCKVvrBZuiSPGuRhCsVpatN4Fu8DM5bvvhBnztvSK8aaJeH3gRT5ZecjExmtehpqptmMYdmksmEg7S1HVUdnrgkLR3P/I3NJD7HmR+66ruQaTI832Q8MFScsd3RAYjWWf63wGpxpErXRguq66+DBtpHKOAE/McMvsi02L0mCUJuNtjHF2OE31CufvmO60JI5c/ZO39Bmqgg1yPNEeO0qtfap4LblExWlunFu+mEo2BAIY0f93TolAWQoh5C6rH7a4sC3y9V0Bv7DwWpl8efHFRYIBYotxuawqYTQbfPzq8pr5B8Z6QJxNbzazFmCWyAzNSbG5ORq7AcL+mlw0ZivBcGf1QY0PVnCUHetdMR/AmUHAS6VTEWkkZoHR2j7ME05q3YKlAnjjIf3BL2pAmwmRoCM2lnfqNO+u4ySEoqzc+PhcYi7sWtGQ9AYsuUMQGJU9ba8r8NFjJpL//Ad4U9hYfVSZwX6tyGgW24kOv+kT3emGkkQ5+QfimkFn535htCXK63WtPN1i4xkikUZ7Xk0W4bpMq5II/Gg/oECDP0eyXDXyX688nDxqOwidXt7QQaj6TVyU3PgVDzSvV/hRjjli2eNWW/uS3yatLl+xrnyw+dJHfpuYzoE4WWnonFN8xuUE1cMJuqluCUF0z/aOClTL9QVsVeD/iocsS78X38KG0rOR34814ucDIO9toRaFc5Xcz8Y74gNY1tPGkFgksNdTx45i51ymhsb8ukpyKk7YAxmg5UhxjOkUds231ujSol5FpjKLruULFAFjeeyGwy1Alv6726IIfFMvzBHgRHz5JHuSxGJp4Miy0OhIxKGyQSqLZFwg2ncIonyqZZ0gQtSjQZZwOBSVkJFNh2drmU2YDhPIt6Y/obozQvCzvlxCm3LRMVRjmiF6HHl6bHGD9KlW9aUkbj/C0CoKT42U6CxlFGKJ3Vy+pkMs27RYJrjGMGMQ3cumN8/gf8A3TzXLKPYEkuvjYxoLtz1CstMJTopnVHISEFtFxY1mG8BbAWWbZ/pIBVYSHwvHEP13bHj4TTAfReDO5QLqkMFaU0fSkpoDH4Zkp2jrf1uINiLcLQwSQ1Mg47HPkrYlgMz2Cv0rJmtWYIyTcY8p9fZA1Tg24YQ5dyhC7AVP4yQA060AkMTmEpuVPkn5YmYQcrG4kHh4CP6kZzYm+frTu5sMKzdM56N1mdW8nWteJiq8imkfsMfGucoK5C5IF98U X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tiWbVKDCDatSm7aTTBYKhgYPRxxcUlM4nhyOVWa51mSmDeQakCydF4h9cppeI1n94hUQ4ljinMMsfPJLAcMwlruCnbJIuGf496ejfjHGRnZMeqYpxjAJmSxZb+mfO3wJlfh10XVSn98i0dUwB/D30SNrz+0t5JdLu78aPDj6yqRkbbceqnAALkARvzldvWyEPu7qN3b7qicm7YH5sIYm13PaGRNXto7wy7vqb8sIQX3/5YKlb8CSYQk7Q36Wapa4NYwBdjULVK9AY1xUEERsrNNwTPMPR3VCem6VL11BzPdfBzIa0NyIEtJfkFsu9DXR202chN7Yh/jsZneAHjxkL3F5OdR0gQa9kFQ5/FXFRdnT9EO39F0CN1qnVGU+z8y/I2n9nV29pLDpLKt33PmI8Texupe0Pmw3wa2YBkUl/43lLchPn3b9rzJIGgPecXpk1fW/gVz74lnA/eQYQUkVeG2qNiERAw7j+iiUoODLDs3DyQkipJ5UOPkDOM5k34GHudoUb8j3y4RHW+uuENXTKVxoymnfvV1Z4n0rQUzOOdGgbW+KmAciiaLbqJoBOerBjHw+DJbaZJLnb8zP6eDBT/fGOHI8PYtd9BHsbWrZDElhEh1tIAdorgz4CE/CUJfvgqumTQGkI8Cr3rNAMW4zq0dESGk/Hw6+RB9O0jtFkJFe25yE6cr5qsJ0tiAina6FXhR/L1PMiUFMbNJNRot9gkofL9krRuNN2kfMp72Su9dueEJE3H+npLndHqX3+/BGGW7IwSdqb5EE+79DsDa0r7wPzZfsoLJ5jJp3guacyy6TbRl8HJEliyH0IZpwna0cOgzrAijU0Ltz4bYyGr+e0Jmz8izj0oxyd64qRjltoFMW5Q7DD2C52VfSQYyddm+j4peb5x2WYUVYG/GxupoKNbLV/FSRGzr3fwG3OPNkSJ3wQnyjYtQuB2pjcaa6OYzA8uj0647YoYA3FZlgG/bOL0QmKiRoA4ItaauqTXnbSvblL3i+a8V3yDJ4+w+IO9BGEjHRkqb6Pz7wVhNlyJOSiOLnrKU1t8QimRYdhgJzzuntizKS6hXAQATXnxj58Xy4IDRnH6xwKPbpzLd3yV8mQDXFCTmsutHsuXAfxg139Kg+cstdBnb1m3dAKL2bzmOEg4NHPv8JGGI7rPZpAz6tfTRAcq+s/5mljCwEVWivN9t3RavzDGlgO+Gt9DVP7FDBYMAUMPmtwvGC/ZhYHVBL1RhAbmYwaWoX+so4EYYsiUC9CFhEGQ2G3FDxoghtKoJFURKo/rp47QYmprS6nGKp3Td2STzhGibgzpO8C79g4zYFPAbR1HOWQ8JSoyT4TuvHqH0EtKny6nk/BnE8drpU5Xujx4wOeJ12Plyv8BtOsrzkad2HSSs0c6lpFmhZXkzgB9DJTy6616nnjKPdFyCOO4e42/7HHpTxQgVBcXVdfEgwzRfaHRywbhEMcf/Q8yq20W4iGfd23KIpvEEk8SWBrJyLc+jPbM7PGfuFLaDyj8xoHSx7NPUGXX/1rcDss5JYBIQDmiJjYto7bmuWzpiXZIMuumWGpCkrQcyY+3WAxi5WJ5sLW+0TLH9XzApE/JxuMISMkQiOjckDL/vrYC1MbQ== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32432e7f-b6de-442e-874e-08de2b4f38fe X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:19.5745 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LU/dYFo5BlvL4QjGOuTzWYEEWBh6qkzlvNMUZa6Bf4ee8rojW23zm9Y2eYb4oqmCSSLAbCSbtyUzCvLtbRXELlufMCC0rfz2fjUeoT3LOr8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAPR10MB5156 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=O3Yb1p1A; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= A wic image consists of potentially many different components. All these should be covered by a single BOM. After creating the wic image, we collect the individual manifest files (rootfs, initrd, imaging), deduplicate it and deploy it into the image deploy dir (as .wic.manifest). Signed-off-by: Felix Moessbauer --- meta/classes/imagetypes_wic.bbclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/classes/imagetypes_wic.bbclass b/meta/classes/imagetypes_wic.bbclass index fb0b81a9..c75d481d 100644 --- a/meta/classes/imagetypes_wic.bbclass +++ b/meta/classes/imagetypes_wic.bbclass @@ -196,4 +196,9 @@ EOIMAGER sudo chown -R $(stat -c "%U" ${LAYERDIR_core}) ${LAYERDIR_core} ${LAYERDIR_isar} ${SCRIPTSDIR} || true sudo chown -R $(id -u):$(id -g) "${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.wic"* rm -rf ${IMAGE_ROOTFS}/../pseudo + + cat ${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.manifest \ + ${DEPLOY_DIR_IMAGE}/${INITRD_DEPLOY_FILE}.manifest \ + ${WORKDIR}/imager.manifest 2>/dev/null \ + | sort | uniq > "${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.wic.manifest" } From patchwork Mon Nov 24 11:46:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4634 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:36 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pj1-f61.google.com (mail-pj1-f61.google.com [209.85.216.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlYFF030907 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:35 +0100 Received: by mail-pj1-f61.google.com with SMTP id 98e67ed59e1d1-342701608e2sf4436947a91.1 for ; Mon, 24 Nov 2025 03:47:35 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984849; cv=pass; d=google.com; s=arc-20240605; b=QRtkHEVmjcoqVnfQXzSAD8mGnfVaiYEFN4YXYxY4hYkEQzao6DHjs5Uwl1AUPLcUFi CgDrSbDzmvFucdbdk8eEB+qZWzt1rvcOqJXYpivwsCpjGHYQIMvD9uKMv3Vm4NuteOze 3ke63l13REf4K7fsGZDcZYXGd27aMiNv/24HC9sCUJ1gNjnVtdWSpZJwLQR8U+kJJREZ Q5x9z4uM4sNhz5iQ77ocIUxjz8lTs8SXX0bL1L5p07hngdw3RD6L3He6gBpGdFhSk1s6 rUr+N4R631Sp20e6/NjJM6Kb1iBKFruPIGqLZpRwIVxgDbJ99VnRTughkyuBgFjuMtCT CbIg== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=eyJcwJQ/8d/JXEw72Big9MI5Gf2mMtQf1OjYPwWi3L8=; fh=axAnQZeto6vajZyDBu9GFwt145IqJxLJL5ZVR6xCkw0=; b=YDTv40gbx/P7vP6OHHalBixHR15f1wy967+MsxQu9GFhQGAjvJkt9ml7RnBIGQea4z 7D4Id1O8gQ9ybyQ7y/GmoozdZIM751JGEA1xwGGlAaNb33jv8DuqMIhdEgIKBXWNu0aT fg645AmQkR4kJsJxWWpOuoTrQvDQ1xQy/fNoTJVxjUk2902hhlDfTQSXmJMFr7NqXDQN 5IbWWcTk74wVwRYNZpOIigNBVhDLtnkK0jJMAWNHxrGhC1UXoDqj8ZwNjWGjuwfIV9fR ByyoC6ubPqRja1/4p0IDiA7Qn9WuLqICGFaYpTyTQJu4ZDXzr6GrYgFI3ZU5A7NfbCeQ dh2w==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=wwWVJnQF; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984849; x=1764589649; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=eyJcwJQ/8d/JXEw72Big9MI5Gf2mMtQf1OjYPwWi3L8=; b=grSpmzWFC7NUmIXSsZrVOBM7WqYNuNWKPohQQNG1M6Yp7QcuOcuMbMdGWbta7LG34X YmIW0qagxlaSDsG31tdLtSpiSYDH+WPa8HrWyzIsbY8nnxEGdBwD10bhwUJotYxLIJg1 rqUicTUpyzxCPoCDiOa4g+tSJ/3iLokctOQVwRb885Jaa4432TUqHi2xBLA3vv+Mczc+ QquIGHBoDriGqGYy4eY1bnKO6qZ3AqH57fNxubRiCz3Sc7t7O4NwMRAmX0dtAtsk5StS 4U+tNzH9AfSNWHjZqUPYw4HOlK/QtUP2K6FNI10DLnXWS+K4igmivP9fKGeym9GO7Wmq ILAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984849; x=1764589649; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eyJcwJQ/8d/JXEw72Big9MI5Gf2mMtQf1OjYPwWi3L8=; b=T9QAir+V3bInvHHh3NiA3k1NUxM4HXGPhemjR51CNN5sgDUYRaqFPWC4aHUWXP+Dh/ n6Ni9r6QfLCbxUl4S/htf1CY411zBrTwLjyY9o78MWQR2A+/6XxUuo1qU70Gmr0gVFY+ ExT5lCmd54ATR8ubgplJMyCOohvJ6M+i+0MSiMJKVU35HbqSfWndLiJTGhn5eceWOp+3 upHNozFsuJqBAlEIKTLkjG+W6Vn3tJEvlR/G2eGnKP4tU8SWCLRQauzHHgfduV32RJln ETpZ7BMJzwqFOGmw/curC7/OMEKAAsVPf8emAV7DjSB7eRGIb40R8R51qC6RS7aZVsYL Uojg== X-Forwarded-Encrypted: i=3; AJvYcCXDx5PDqe6jQBz3S8dhyQxcycWU1J/NiP3hZAyPBdUyPsyFrvkXe19VJO/bmFgWLY1pvC+k3aY=@isar-build.org X-Gm-Message-State: AOJu0YxJPhBAzSGXCWKEH3nwd3x539XSa2i64+cAeCA5UpkgKUOn1g/M esThTqHjC/PURJU6GdbHdXcssABjsGOS5Hpxk78ez/Png3L1R3UQjeup X-Google-Smtp-Source: AGHT+IGUWiIA2i969F7RcMEZch7mfCqupLhLaKdS2pSdwMLxTwsZZk5K6/Rmq6FXzjohB+8RFcZ3iA== X-Received: by 2002:a17:90b:1b07:b0:343:edb0:1012 with SMTP id 98e67ed59e1d1-34733f004d2mr10846237a91.21.1763984848553; Mon, 24 Nov 2025 03:47:28 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+YzN9VlPwCW62yyMPaMLxzox8krSegyjKYywSciIXZ09Q==" Received: by 2002:a17:90b:916:b0:341:8ac7:48b8 with SMTP id 98e67ed59e1d1-34727bce478ls2905984a91.0.-pod-prod-09-us; Mon, 24 Nov 2025 03:47:26 -0800 (PST) X-Received: by 2002:a17:90b:2587:b0:343:87b1:285 with SMTP id 98e67ed59e1d1-34733effe64mr11123425a91.18.1763984846446; Mon, 24 Nov 2025 03:47:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984846; cv=pass; d=google.com; s=arc-20240605; b=Zx7kiMcMsZYJYpPLb21ZbHniqyRDWLBb6y7OjKPFPQQzFFL9Nmt1KBZa/wpzZ6vqPE 9bGpuYGccabYnkEGgkhDufD+mCqYeCY/E7RykfkH59Vb8/Z+pLgKUncEL8Wr+pGx0djg Ppifrw3xW4dQ2r3AGjQRimcdGfZlxlJUCKpzl2S//AsUWaoVzOauVMqqlD2G+82ivM5N wnTjbUVw4dKwZaXVQaW4fX5pUf52mLF1Z9JDMs1LQ1cxNxVBO0GXzZgYb7dmwaJrrky+ viZ+tQCZxTsUkChtBulA5VeZHtaM+2T0IvEKkHfoStwzXt2iKGjR1lL8l3NtOiNIIYlp rOHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=A8wvQBuqXafcGdr+lkliZsWcksv+Aku5x8XppBuJ5vo=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=cEnZIshjGX33H3cLxH6EMSeGjgDiliwZjxRnvr9tmDCJuKgNxc0EC2VyBrccXf1QON veoK/+300b5Vpy38MntNCau2nEI2oJ4BR7vZF8ms1fYf4Qazhf0IevEBwul+7w7P2+7K 3Pgl1kLEqgisoyDh2acItIDTnQQmlacKnNtQyXL2izcXjLAeWsf+m5gc1KhoyuRjTw+p K42G0JSxeH7jG8UwljAqKzB1bUIF63vfPM6kS9DHVo1OXmjkBfHFUVY/LUXG6nhlrib0 w+zOUVhaGJ/H5oUR9P38Yxz7gH4LKUoF3DD28FWK3zfoEoR73SIKINhfb9mAO3GOZQLL appA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=wwWVJnQF; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazlp170110003.outbound.protection.outlook.com. [2a01:111:f403:c201::3]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-345b01e2581si302688a91.2.2025.11.24.03.47.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:26 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) client-ip=2a01:111:f403:c201::3; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NK+cURyoy4ylnnu12IdLekF9n7bT5DT9Kw4Otiyz9MqsXzWg1jLRrVXOm0/qM5mhohvODxFM368T2P7FmnsGHymMD1WBQ++e0vpOm6qGy3n2R6MuXUvK6MJPDdLtPCHVlay/g2qYVefACxM7w8xjUQWEdrSS75Ubf2tLjIz0cekbxu82HjWxcomox6q4I6zIIkFOilTKMTi4LCoqTWV3I2CCoygjycSWQexRT7k0kh91TGeOg5mbv8D7jBJG9DBXOBZ0UOAds/XYdauNhgaJXDWAOnZg+Q62VFZKPxGX/CoCTbIaXUqUc+FlRx9UNA5xwXQOFgtFYLhCdyJcNo/8xg== 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=A8wvQBuqXafcGdr+lkliZsWcksv+Aku5x8XppBuJ5vo=; b=Vue7eqElKPIyEwm7af8JrdP9P4sqWcJmrljUZ7BdhUM2KVIe2y+rudu4Kazcm1u0yeA7kA16Rs0sqZhu4927vlRAdxMsrqEzHXCaYttZhxKdcgSVTjvZmnk+dbdhwb0FIBO98j6Nhp+mv4DGONFEtTFOJOibIeeZnMRQSRDhJThZU3Fv5zr/cjvsJdvRRR8RM6bIHTwU7dN2ImD/SNvaMst/WLj6jJW65Q4KYodwQshKpPIdIRLPDxA4YcKNMm4JIHqito6LofXl/pVd11DS7DFvwsLjyQCRQyh5wzYPiUqqI0BJsY1qKqDEzlKVX7rgyuw0znwcTH1xprwKGuys9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PRAPR10MB5156.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:27a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:23 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:23 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 08/10] qemuamd64: add IMAGER_BOM entries Date: Mon, 24 Nov 2025 12:46:36 +0100 Message-ID: <20251124114638.2238090-9-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PRAPR10MB5156:EE_ X-MS-Office365-Filtering-Correlation-Id: e1d46d6c-8590-40d4-16ba-08de2b4f3b13 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: kbGkZbiIktXmQDq9Fo0v8lcr6VlKDDeWdyPtB7O/zUGkjPCDd4aMqbyMPyVMGQhaiMW7QC93clR6Ws/uuhO9nOOI1iKLpJ6N8P+OxfGIAfEZkSpPyZ9qvqeMUodSBC+mri72PO5NuatcOS+/gQmCpFOnT1e2cqBRW6hI9Mnq5K1JV3S1wyufEO7cMJoV+OGAbX5QIFrhs2T3En0HMAunQ3jpMryGT/8XJz9KdtoHSPwcsj8qKNKWIQV0I9oSYTczBTwkddMLzX1r8kVUPUETuEEp4j3vmLbwI6fRdZ4A8FamJTs8MM0Xh05l15sm/xcE5Xq/mqFOeX6DFmjtuvSOBrqt2j7U3kJEw9+1CN+bFI951sgbvVh0Rtx7qqeD8A4CDE9o7CCtrtiDlp0vHN0p36boWt8bh1Ew3QL+LQ3Y565BJid2/K2Mc8GBIPjCK2SxaSML71jNqHK8XkLv7fwOM5fClQHhtQMPiKh2sYzUcB795B8VnSnzhU4Iiob+BMlvyhoWFL8y7cfJ/v+2PJsj8DP8X9bA/5apbVQp34vYd30JIrHk2BYx2eHNPY4960C6CF5vHcMCOhEY5gS2NzX+Lh8pihSCfdGlyV4qS4DQn61+85S1p3TPkzc9URuDdAKflodm5nDLKLxQmAKr85EVOAM+AbDUZoMPnc2dxrdv0QOzyo8/X3uEpaN8tXEs3RfNFC6W0IB+Psg8VwBaB8AufMxtN3xtA4RlB3lbaII6plamIT8vpoFTL4nG5QqxkjJOYXpmVtvie3RhUQoTdT/GbBRnn12T6fOljR2MNl3nuLbIASp3177OsWeGYQSz4Bx3w6P/i+jy3PyVCQB3uW1yz2+jhGaE0r/mvUKMoE7Cw0Niuei3ITHBKAmneZt95xE+sjoixpFZoLlR9fZBxWCVUF4ewifSzgA3woaMlaoKySNbs8xT3/fbiMtIAgxA+5TCHSA/xmvy9scJ0dog8byQmSku8HTAFCZge0g24HYWI9bl8RIcPdUJjvFuwikyXc9tlDL/7Vo9y4q0B3GLU9bHJB0x0q1B1ep1t0W5O3jvQVBbkyeJds1fN1tAzCiIl6OIBkA8xprawK4g1Fowf8SEIy7pKCGBkIzzpH6VMpWtUZnXv9PI2LDsHKApRoWZxfsCAf3CVNrnTtxd9ObVSQC6Ka+0YtcURWn6Zcl4vt0oLTMLmKLgdtDp94WqndU/U70PRR6GswALE/WaaFRwWzUdDIdUrY3xXJoREj0nbk69/MSKoNAMqY2C8N2LdKCjqBsMkjKw0AhR3lrvKsDb6zzIeAk0GnwOcTLwFuJlF0ditDLUhwztE39PxXAtRS/dvEEYheKRUMExik/k1xT1eY8dAeQGXx1rmPvjwaFDi3GfY7cmulFZ39gOsy52l8e+FGurGzT+W70cFt8AOkmIwMiklGuErmToBfKsuquS1gjFCxXgUqeY5OOk8MkjsTdCjzoF X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hhAyDRB01Fvt7ewC4vK3Wq4FNvr4BGnDG45EWtMbveMx/FmZJFsSr79elJvVZHdt8MRMRkWo0BVT4H/0yR+0YbwM2dqrC9z2ynIKx0mjfa1l58aHlcDUyhySKym0Jci+AWL5UXXqT0Gx1Gm12YrUaelxJZQMi34XShlnjYGyMWwtaY/WxzeYOjRl0Nf2ao+Ah3mL1r2HNM6z0DvKv94M0kadsbDbFw4UutRvvV8BK9VJfM2rPw6ws2uFIUk/x7hFDUss0sMgcdQGGQ7rufERx2AKvoiQdy1L7D+2Gp4ShEMCMXcJ8RgHcy0ooekDkqDBXQ22/k205ZRE6ea+4Xh8PoCvttkevddMVYB5wBF1TymgSBKnensrSalZ0nnIiVu+M9f1ySjsfu+YYJjiRk02ydFA12PxPZEne0bK7Cdv9viARFwW1RKjw1oR5uNizB9wU7//zdJ8DcbLLqGUrV3SNbH/CKShg0IkFi40JTG47WDFi6omM4tJ9n8V9BEEQuwwBZvdDIhp83OQkfm1ECKOEY3i6wCDWBFxZH7bo7HOiaZWVYfLQDkoiIwuLtP+J3CHr1kgnGpKSV9ny/yKG+2RUhrmO9mlnLIsYcyyUXuuxZ2rHm1HpyTwhGHLCwJ9DS0Cerg91IElZ0JfJMZ1PbxSs9PLnPtKdEjtJZ4gT3y61TRfEi+F/ZfxftmkyPcjrzcwnusOMrzxoHyV0uoSTkj9mEtFACYEjkOCO+7yclDMq0aj6Ioz/msGMyPVVHqFQwAAM3BTQ+7/WHuF4BA+vvGjH4DCLKj9SRbMsv/It5zC5C1C1E8mhzpTL7oy3XKSzKnvDmZ1al3XGxg3oYjTUpdXs5IkepkJ9g/Lb9m5ARTIEvxm3KlcKL6Mit8Hu7NIjklCCig2m2tVqCj86HMDA5H1p3BC8MWcSssbdqOsHW/CIXNq3a19dnavEro920h9g+NFuucizwweR74atxboCYCMt5bW/g1y6Wv48LXo05INF87vDWZSvE33UJX6GfXkXkCVpk5sf2ZMenm89tsj1djlg0JRKhWim2/HNP0f5RXwPer7e8LzkGmoz6YK3BuxwcY6UmgUQaxyr2uEHkokCrmPzQFPwqer4gptoGW+qJYc0gbERbbcV9fGLmJu/hlbY2tbv/Q2ohUK06wSM4jX7j/s8hC7j+slRoyVNX1EiKTfUApFuGNsvnpTIYcELhp/hNvBGIhneg/pPZ3+pUvjtO/CrVGGT1b9cl1eVU0nKAYf54rTCF9RbcNWOKw1adxQmTZ2+FZJ9GdhX3i1jIAMEUDdFNnxdh75mE5hm8T+j2IpK776Y4liT5MhdkyuGceOw/ygrIKj4HGqCX4lUEdHAKbs8roYpSdBMTKizJ3GKO2BsP58Y3bcl+uPmGBrB5Wz8UsGQtdhNfxOtzICAFQN8cpEDJP/Tqcy6ya+yAF28taBvcpzKyxtNFgqivEibqYJ670sdMAXHl9bzAdtTLhirT7V24KZ1V9JyserEXtjbYupr0HHNbLAiYuoaduDhsvh0Sm35AIbwmiAqQsafWVxsXHiMzWRJfzkRa3iNb9Er9wh76rVeULjHvYIlypVuPyt0qv00JNmqrbRkewtg0YtYi+UlQ== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1d46d6c-8590-40d4-16ba-08de2b4f3b13 X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:22.9953 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0mWUPQP6yMd4e8JmYOWvcl4QDmM+AthEBQPmNB1hOpTxkllfP68Jf4xFe6qs7IRP4OkV+anCOfdsRZUGgV9nfa9bz0OcikADJHQecV+cgtM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAPR10MB5156 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=wwWVJnQF; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= To give an example how to add components to the imager BOM, we set the corresponding variable for the qemuamd64 target. Signed-off-by: Felix Moessbauer --- meta-isar/conf/machine/qemuamd64.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-isar/conf/machine/qemuamd64.conf b/meta-isar/conf/machine/qemuamd64.conf index 7d5987c6..8d0753a8 100644 --- a/meta-isar/conf/machine/qemuamd64.conf +++ b/meta-isar/conf/machine/qemuamd64.conf @@ -7,6 +7,7 @@ KERNEL_NAME ?= "amd64" IMAGE_FSTYPES ?= "wic" WKS_FILE ?= "sdimage-efi" +IMAGER_BOM:wic += "${GRUB_BOOTLOADER_INSTALL}" IMAGER_INSTALL:wic += "${GRUB_BOOTLOADER_INSTALL}" QEMU_ARCH ?= "x86_64" From patchwork Mon Nov 24 11:46:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4635 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:39 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-yx1-f56.google.com (mail-yx1-f56.google.com [74.125.224.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBlb01030970 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:38 +0100 Received: by mail-yx1-f56.google.com with SMTP id 956f58d0204a3-6421389b8b7sf5835328d50.2 for ; Mon, 24 Nov 2025 03:47:38 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984852; cv=pass; d=google.com; s=arc-20240605; b=eKB7Rw7bR5RQdzfvklUewohrqX8wS8C9Wv/E+vCOoEbIMYBi+BTF8dqGpI//4asjdi 4sUFKch+AcYkGoYqUSvxNDbmaDUUzEuYQ/lrgYa6y7BgpGboeIdG+1hnQRZZLkIfxlb0 3U7loeFEhfpNCgopFN+WP2lncigVO/uNDjq61OeCp9NU5qfkuz7UmsxqLjozI/sFwgul OMw8XKknFBfub/ebzICwd3MK2yaZdctgEiiDQCzPh6X6YqOBIwRuUqVjzb9AvUHQ6lds 91F5T1xODlAjYi2FdMqkcyIuSWWysB1j4A2Key375niroMrkE0YmsuYjORufRVJe6l1r Un7A== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=W5c4CepbLLA6z/6HpLfEwAP35PGKmOO0UMSjlBcsU44=; fh=mTIpY1uVgHBeQGivNbxTI0ykyRgcBgsBjFN/o6EFGNQ=; b=i4y9AAXoJh18J4oRcGU1tJbFBhNT91TQUfq96U0mxqPsdkYZHg+LHKDYCbSPXXoLA+ jcmzp1nvsNyyFjdv6qyJ2HURZuDCEm7mIlcKPWBIctAzaj0fe6FnYfay1ZdWTzCW2ziQ p6b13Wm6p2V5QXLjTRXBJABlSDNgKaP4nsuinI8td4RFQJyxEalkQxtim+hvkvqolsWt SzqER8B0/U5/dfI+8XFP0DqHHFDTykiz1bMJTwMoD8qo4XBUPW3THTPAYDOheUUIfJ0P oM0MlihmBvxgM0xno52cMyCZnVdvIfRhST3XvtQko2jyaLkoUicBmt4nbjbZ/HLOlGFq hROw==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RogAhB9d; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984852; x=1764589652; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=W5c4CepbLLA6z/6HpLfEwAP35PGKmOO0UMSjlBcsU44=; b=VwjrL5lgF+4M+difXyXN/WA1JTXvaAMsT0bhCh9fDtpIt9P1nH7SHPnC/0zsJBpZYB YY5XHX2awTJZyTafecKy9Z5lLmevLYiC4vMzxlQjfSw7W6w9HPWzB055dICVJKEw8les j4pzUncVnZyy0Rh3s/eYKtsqGjLaRNRSKdbDTLuj1TkOHcWWwMc2QVUQauTsgiDOnrKM i3K4TNJ/KCTUbraGDlJTPaSTpltYI7EkNvrZ03ssEGiRNe8Rkj6BtPQwzP+APb4/upVu 3npj1ZFTP3sV6E1Rpc+WgLBFHBbBuJRb9e8vfGjRBSjzULBK0ATW4ORxM72Ims9IxMQq eUpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984852; x=1764589652; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=W5c4CepbLLA6z/6HpLfEwAP35PGKmOO0UMSjlBcsU44=; b=irw4+Vr/qTM46KlbrOiN4Xfq7iHi6J8f4kFASDwi53CqFiZ8IuoljSbUaxYL9HKawD R6zqQnPHApsKCqK1tQiIOBhHgyex9FQlsGJTKsNkmcJb0gIU40tvLh4Ovh4v2y5zq9la eEKOqSDgpEW5m3XvNVioTRirZa2cdPc/EY/zJI4L13GN7NZdSi8xmVpztzeCdugxvQs4 dJzFM3d3ZeACJKV9oKWPtAzzopj2DXB73d6JBFcavt1XqCSjsiCHdqILAYsfUqQ3w4ya Sjr2OL86zU3jTUSVTX/MgjTtmiOztcmcDTr/5+DJHGPpQP7w2rVP06U6f8QAFhuOWv5c Cr9w== X-Forwarded-Encrypted: i=3; AJvYcCUXmTksnb4I4XYMGygnZa6ulLH2VJBhhioglQPptt6Rr6/urJgDaJ4L5QaVCOYdvfM+dMARLV0=@isar-build.org X-Gm-Message-State: AOJu0YwdLleKLMjpRkvSubnuLRNy6Sbpxpd+zxNExsbc1UZ42seh+PYQ AEuTjk3IcK/WBu0mMYj9I19SqUdIk9yQeG/VH1CUdoy5GSe0UcRvRWri X-Google-Smtp-Source: AGHT+IFF93ByewykAtzDdLHaHueCbZclHDhgKnHo+SErny8qYi+XX2LBmst8Zkh3Tr+hht93k7zVVQ== X-Received: by 2002:a05:690e:1555:20b0:63f:cdd3:11f3 with SMTP id 956f58d0204a3-64302a75173mr7019467d50.37.1763984851998; Mon, 24 Nov 2025 03:47:31 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+a0NNhvAf+VT8poJdlCb3FEYishgk/9FXPnjUj/Ds8BaA==" Received: by 2002:a05:690e:2494:b0:5f3:b863:1e52 with SMTP id 956f58d0204a3-642f7680765ls2836026d50.0.-pod-prod-03-us; Mon, 24 Nov 2025 03:47:29 -0800 (PST) X-Received: by 2002:a05:690c:744a:b0:787:e10e:3e51 with SMTP id 00721157ae682-78a8b47a509mr86769247b3.6.1763984849054; Mon, 24 Nov 2025 03:47:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984849; cv=pass; d=google.com; s=arc-20240605; b=W2Do6T/tkbQRBic+sc24OJ4r5hTZ0uvJXPOKzMFzNEwnqBAxoPZKIcgYc5ZomGFe41 SgfJJc/WpLEnb30ZarOTf4JTTuZ23IMQ9po+KlPylc8nvC3/NLu8X6PRk7niT2GNFv8n bhSvobCll/cCeXmcmlrETg6t+jDp47NAtFpgWFm4QQnPrZQ89yCsCXJDzpz9gJtX+mjP FK95pcAX1ov+YdWfv5Ij+veNMKnVLOnA1liA2wb/UAMpLfO1LtQ0uutaWEKEUC/PUO49 nvw+aThN66xCojWjHO5g4PqAIKcT5tEsJIhgmM7WLbic4iw/8pmZrksG6Tz/N94IWqgV bXNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=eELwxLZ8Ccv1VNPXZgZh33ZMUcEizbdWouahKyXZrNg=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=YB/v5rqC+vpcEAhQ5pdub91jOmcLsW8UtilIbgJ2w/QTlo2+o3WSGoiQL0rBoXOmOb 8/mvmh2Tdt2aYZz47CFAldh/gCUYk5Oxy77hDzsaDLFeiXdT0EnV0eRgmi3RjfiipeGw bQUHJDS/fgJv1zocuIdrP7G/t75IdGVb5Y3T+x0dlz/ixoA2R7nSdBfYy/H6FZ/NRuBG 6l/96Su66O8lsFk6XIfjPowJZzvnpgnLBdaxWMbsR76BGIn4OXYL4HizV/biBiz0IXE7 6CRP9a0uHwikFoV4XdP/EfW2SpbP4fegk9MZawvsKZceWFX5PKm/GPUH57bRZKZcvsqN QMnA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RogAhB9d; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazlp170110003.outbound.protection.outlook.com. [2a01:111:f403:c201::3]) by gmr-mx.google.com with ESMTPS id 00721157ae682-78a7988fc70si3176087b3.1.2025.11.24.03.47.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:29 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) client-ip=2a01:111:f403:c201::3; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jb1cvGpyG8VY7P/mfYp2YywOXWFUjoOP+71L/vj6g2z+iMvuU/mbxYjANtBH2agy/8nN+1pA1TzwtQG+wO6Q405kUYVOmhVDs6hkYx+YPeCavEg4Ksfg5W4GJWsBJtxXF4rjNvM5PZgpZALZAqwEjqY0fuQwPfjNv/Vit9ALS0jZbhHZBLFUKsVz8loqfdudsLh8nv9s9yhou4rOLnJoW1Wl9F0185KHLAuKCMMpGRKbdI/pU9++kqEl+FjG3Hyw02pRXZ4skOSVETFSI1szJvGBIeg1MDeED8L17gzzqNaVZWzyJTcFsovQm8ONdqwS81vnSToD9G2gI+21xs7T8A== 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=eELwxLZ8Ccv1VNPXZgZh33ZMUcEizbdWouahKyXZrNg=; b=KAAvf8Nk+9aRfPUO/RqZxnoeVck/BHyTClEWdOEdx8Kmg/IiLh6hjS56zs83BCRij19GPpyWPVGf3jhz6cBrYsjn9g9GzPKyKiSCKVMrFERcOcfkFC8ipd4+GoK5IcTQSiAnHyMtUEHwUV1hKq8mGmHURhpZ/GsuCpNefHwdUleJx4PKnEzzH1+XpbaWUVBH4CrOuJQuqcB1p+o0mPC89ogp5DP6LT8bL1NBMzGaDCOVv6nyvN00d/B7pTgmNAmOsxBuM+L+sH4sdvsUj4PrCYAHtsuMUpCpPWA7E5wxGjz1FCPIOtcZzCdGfosU1E6DbItM03H34CXsMWDfxfQb6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PRAPR10MB5156.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:27a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:26 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:26 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 09/10] imager: create SBOM of IMAGER_BOM packages Date: Mon, 24 Nov 2025 12:46:37 +0100 Message-ID: <20251124114638.2238090-10-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PRAPR10MB5156:EE_ X-MS-Office365-Filtering-Correlation-Id: ef42b090-1c8c-41d6-ff83-08de2b4f3d1c X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: Lnji2mqoqcnzaODzW0Al2W5v53QeihpYvI/1P5XypcMtDbD1kJ4CjI/1bOasVdte95QzH/zSTHqJ9DWd/MhDLiwP7LfwLAgi8tJXcoj9tCNW58GTVkZiHHjru3ST9QiDrrRroYjIjrlxaTxUk8sUCTNW8FtTJ5+wEaZeJ6vpMSXlyQSmwBRH2r1CHcuiibchf8qY39MnnACGHiRUzOB5x0gzJfkyHyzjAhBQhpAR/OP6V+DtIBY6+sRLSX6CGesS8dHwfxsOPhsFDw6nT2SC1slXIjxL+GW7W+OFXpGiEu6ffJPZJnJxjEqL937ZeNL6G7zweKTiQcFdmRloz8wTXaV/rjjlM9kmD2KGN5YEgzTvHJxQg/ap840HZ95hqEwwqsSgs1qUEL+dK/ZwTDyDtpmNqmKoB2jRm4CZ6xPmEMcCm0D5nbuA/ODSWJrfZKkhVuVAEUqFOIVzR1BhzSJRUfbFYyQvuVI8YeoDtU31AsgIbD2ISxI+iHvlDhU//FKjzXDdJgrp3wW04xLjEL0EB54iDqGSgZKvL03IueftsAjnrYi1y5uXO8ZjziIAf0EpQ9/w/N4b4ZnJrxDM+7otczj2dk4GKiEvxdSxZtEA4i0phJbXL0cTy6fa8JuFfHUdGI2yjq65QHKXBelv6Q8AO8f3MMCVq+puItqg6prZQnIG5gHDWEipGIzwnX+pb8ymxYgBvl946fs/S4SmACFrOgklSg2UwZhH13/Hp0dT7jIw5rD3KkOxaPLsrkK2qssed+oHye7yEcUeru63R4MJyAE1yvPxaP/Fcp6OsR6kWL8LLczgbOSNpWtYJZzKKDacbcC0ED5h1Y/3BQFI8gLcvbkrcdFbS/7yLKMksBEn8E6Ox9ryu8F+94MEjSWjUrtoHpdkOHbuqew6GsP6SUH5dPiM3CAtpxDd8xYI48CnK8KgW5BS/qfcoI9oXNbsqJ9OkY9K2LmCYhQIvBKsU016v5uTelSqwwWxSgUGOlBcm1U3GTEGff4eIPP/v3BOu/uTj8Ct9f4g2HXLTzqFF8a2IwS5vs8oAIWsATQ+9QRwuu5B/HTDeS8umFw3Hv0IVnr28LZmJAdBu1kqh693CgZ3d2S0VJzsjkX8SRUbyx2QlV9I1S9AksBeIYXGZrH9wVfF8ei6cY5N1i9ZttrrERK24HHdIqdxg3q+lpO90AHJU6nJSivCEePEXWTDFjS4+2ahVdpnCgweF7Z6YK4HZ8yzaHmglV+s3iK45ATLfWFlHxlp2QIrlKq18BVoeFwbYWQ2LBiod6kd05AXKLzHk/KRhYrz0vxIuJkV4oSU9FD27vdgt4TAmc/hsYzduZYGDuJyGTl1oaCeKzXiP9z7AAkB6o9YqR2OYnlm3ul+tCsjBDCjGNe6cWHBBIlzUk+ADY+ucr1id6tfiBEg37x4BQr0dF02/CijPhwrLl9ftIAfrPX4zDsfj+PQO3VGnEyc5heF X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zGe2Lgl+xsEN1ZJbAfxiAUsZsBYrjoLluyP2sRdigIYPT1x3n0EN7m8UfvoEnNo2qx5p7UsZRE/ljSryfk8zIgk9YjzGxko8zoNUlHEZHgJBUEOxnB1L0P9KETLhT4DmFPBsqp/Qxl2Y5DVG9/ezUz2ZblwPZlXhM77r/GgNwBNrx3dCitWtJpGSnSq4CP51Sj8n2YNyU0Rt10zh6UBQfZKTpq03QVjZ4vvayDVInhYFlVqWEdx17YxxCHWnPxyDZnfsMFeco0ZsA61DYswsiFHa/7A9Pecqf92aXS2zYFmXfLpPLFZI5YRF0k5WKWs+6574IpND5W/eih6rTAIzyL9SfQziBXOmEBR917YDQgqci0RO52TspiPHZpU0JAzrT/O85w1ipugN1f4idBFe5sFjlw5FznLAuqoMw0WcIz2BBHxZvaHuBidOrk4HSd/yaYFtkA9J2FyiC9MwCFJ4Kk70/ZPdD+FuQx8evTBiD+nK7JjxUCsWmfUofF9Oak6nMel4nkfKaJ7XryYeh9StQiBiFTX/YCcTDswzl39nW39mZpQJyfq8qAAG6MF+dADGhf2x1gyaHQA4J1UVWlq71OkidP6uNFhApGHVmfT3rk3wVtI3YxyYBKufMkwk70ofHHwmFm9TTJHEVNL8dbJsz6y0g5HgjVH20Mx23PnNcTGZKMJ3NG516fpcYgFnV8FXLbBAL6x171ys+MSwaOLa41MX84t9MtKXwOsLaO65h+BU3dk+IOHuCkojDxHKFw+Nc6J4QNImdE32E1v8bV+QXDngYfvvPOtRTOVMTU3KtVIgxrkRV4Z7ZqNDu/MMP2JxcjFt0PLOC476Vif2QHdXRLmQ54RlTaf6usgBabrTaz/SCP9THjs7jBwXMIprW9WSPc3Q7WCXUIW08iec/Z/Z6Hxg6gqgHPpWNPhw+XpNdtUYam2iprJo/WWInE1AzXgzoqXCt3GV/eg6kNibzeg1zkBDaZEresShzM6iSXuvfXzJ49AJCtTq6oaAKbscz+7ndMUB+itrxN3THeXITzT5jWS43WzBTB7ZVAS9w5pyNdIc0rDIBb0Lu1qLqsAPj6rQX0U8Pf7KQ9voyIZCcJu1hTBpX+uprA6N/hgEvdQ08ZTS3aLn7uDeoJUV4c4OjgMs/zqR7dIiEGG07RzGaCFmbKbNBERW3/brb/Ae7//Anh9w0Z6Dp60VfW94ebgj9KAFVbYLBgN/jGMcQrSgeFbZHVFkZRk8Klb2dm7gbwYmRRkpIf6Gv7l0O37jbh39GgigYDin3XYNMzh53KVtcyfIwpskpQDSDjv2Oe5etI2wP1jSJNxnF9v5o4OAAS9PaOdeWyXfEUB9iLJ35CfVF1ctWP1xcKFBKfMNLgr+oWUf/mVSDsR2onA6jpS13CB3Gx+Rv7Xi1DjdDZMNHRutMYJbxceXDuWan8R+d42U0bEUEhRHwjg+m68dtY/+i3VOPjV2TxYCxNHgVNz33XblObmBr8IJRnF1+q3M/enTdlpcSVg+f7uzmMSa66sGm9nIbvRgoI1ir3HUSpiCrbvBtAauf0uGn+exziqPs/vNdL8NxN4D8bpQsURQXDU3mdKowO06RkIHE4EJNkOevvWJHFulQg== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef42b090-1c8c-41d6-ff83-08de2b4f3d1c X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:26.4050 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uX09xfTQb6jzF0CAEnIg8rZr5MWE+v2euqZUeAM6s/4LSXwUImwErfQjRPIHIEhJ7IskaqKYxZzsmxwwYA9h90r/uQnclpcwXbEep5ujkTs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAPR10MB5156 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RogAhB9d; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c201::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= This uses the same interface as the .manifest file, but adds the packagse to an SBOM. Signed-off-by: Felix Moessbauer --- meta/classes/image-tools-extension.bbclass | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/meta/classes/image-tools-extension.bbclass b/meta/classes/image-tools-extension.bbclass index 2027effb..95f003d0 100644 --- a/meta/classes/image-tools-extension.bbclass +++ b/meta/classes/image-tools-extension.bbclass @@ -73,6 +73,8 @@ EOAPT schroot -r -c ${session_id} -d / -- \ dpkg-query -W -f='${source:Package}|${source:Version}|${Package}:${Architecture}|${Version}\n' ${local_bom} > \ ${WORKDIR}/imager.manifest + + ${@bb.utils.contains('ROOTFS_FEATURES', 'generate-sbom', 'generate_imager_sbom', '', d)} fi schroot -e -c ${session_id} @@ -80,3 +82,23 @@ EOAPT remove_mounts schroot_delete_configs } + +generate_imager_sbom() { + TIMESTAMP=$(date --iso-8601=s -d @${SOURCE_DATE_EPOCH}) + sbom_document_uuid="${@d.getVar('SBOM_DOCUMENT_UUID') or generate_document_uuid(d, False)}" + bwrap \ + --unshare-user \ + --unshare-pid \ + --bind ${SBOM_CHROOT} / \ + --bind $schroot_dir /mnt/rootfs \ + --bind ${WORKDIR} /mnt/deploy-dir \ + -- debsbom -vv generate ${SBOM_DEBSBOM_TYPE_ARGS} \ + --from-pkglist -r /mnt/rootfs -o /mnt/deploy-dir/imager \ + --distro-name '${SBOM_DISTRO_NAME}-Imager' --distro-supplier '${SBOM_DISTRO_SUPPLIER}' \ + --distro-version '${SBOM_DISTRO_VERSION}' --distro-arch '${DISTRO_ARCH}' \ + --base-distro-vendor '${SBOM_BASE_DISTRO_VENDOR}' \ + --cdx-serialnumber $sbom_document_uuid \ + --spdx-namespace '${SBOM_SPDX_NAMESPACE_PREFIX}'-$sbom_document_uuid \ + --timestamp $TIMESTAMP \ + < ${WORKDIR}/imager.manifest +} From patchwork Mon Nov 24 11:46:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "MOESSBAUER, Felix" X-Patchwork-Id: 4636 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 24 Nov 2025 12:47:41 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oa1-f56.google.com (mail-oa1-f56.google.com [209.85.160.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AOBleuw030982 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Nov 2025 12:47:40 +0100 Received: by mail-oa1-f56.google.com with SMTP id 586e51a60fabf-3ec7afb4b7asf1191917fac.0 for ; Mon, 24 Nov 2025 03:47:40 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1763984854; cv=pass; d=google.com; s=arc-20240605; b=DTqEFAMVnILgEjLsdjoHwz6ROCmm41aVvrRA08h93g/ErMZGxpR5Yn4v3ipcdaLTGd JA2rF7hHrvirsEQZ3VCowKjltxbp1OhMGYojwxOzBLcupOREHY6JUJlfyyL6V8+WT6Ho heLEmaRK1ozdnlbYaIspl3grGBhvWBb/NKM5501jUkZfo4R3SC9OQQi0bJ0lSDtdbfJX SEHhWvLcGqwud3NXGg7kcbV8jp4xFETToRFVdAyvsfGP+VG7BoN/k9nSHfu7eZQ9njiJ Ye0RWAUvbwpQcIkt1MsXQjdJ8RHqg/eZLz30m1wytWJJDsABfGAxrlD+dDfyJxlYthuI wf3w== ARC-Message-Signature: i=3; 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:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=hMPe4E9CHKYQYBX4hSbwepGI7IinqNnl5UV6Kt7lb6Y=; fh=S0SLRzHSb/x1xj4MB5ESMrrpi0Q3gqQIdsw5QpDZqic=; b=f9Bc8HRKS9vby1H5kRHckZexpwgVtmTUlllgrDYwiIiGopV8cY0IzjTxsp33m97/pC 44xM3Atr4vDjEmzP8H7W1Rvss6qHd7u8AVYtObUKGiTbv6pcPF2Don7LsxUk14mkbusJ tD6iFclUNyNGj/1UTheDsket7pN5r7hDpwMi5br0bf9sG+eDQ3I5AheeXIdPCzzq6BKD 8tyVMeLCWVKqtdW9123TBd5Kiq6I3IjIkc01eAkgIS3m4XYuU9fS9HwA6ZW482rW1Lv3 irznrakS8zZW2YyBza3eq1GEH6lnLzePVDhyg97rLHa97PCS7nQmvrM0LRxxRvars73/ vcWQ==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=u5o6inc+; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1763984854; x=1764589654; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=hMPe4E9CHKYQYBX4hSbwepGI7IinqNnl5UV6Kt7lb6Y=; b=LRfGmp7Ymo+gLT1l6cMMeipPm5Z9lqn8TaHIzJXhkMCOxYYKSU3iPVJO5kLvHDU39r PyBc+5E0KJJdZf3kirzzHTaGoM5tCAdjsH7fhT0rKCuHYxFrlXegJ5ktNv7o4/bbVZ30 3SZiKtAcmEWVLSXGZf9UzB8VaQ4rBEBsS/l8ub5DaNnFqq9f6dZDVlJZpWsYbRHB4WeU wEgmlphU7VB0LFbwJr+vVrr82cNxgbaU0Dpl4bNyXTuVRDziepID59lO8HfdeGKipdtW SHyV2Ogo8y53JmxUKbd77goc7SmhVeE0X+P26Hj9GVbbPhAdngkosIF4c36wWSHN3pxT sN+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763984854; x=1764589654; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hMPe4E9CHKYQYBX4hSbwepGI7IinqNnl5UV6Kt7lb6Y=; b=iHXT0wSYoZPb+4oNJjZ4zek1hp1HZjHSKvOJH+2R8ZVsBDjUYXYrZsX6yOMTnTuw6J Y0ZXfngO0fZvzDsdH+YfpCwQC9zWl4HUkmX10usaVlWCygToToabzL3TfQ4mdwjXbgC3 vGQ1zZAX8hSE2B9S0p8mkFaZel3gx88zaESNSuS1fwTsfrrpH1Cez88yEULDNpTXujTB avuycTNOvoetmIuLSUXM1CoQzUAI1GaibbfaxmBc60PLm8O40RyM7Zl8vhcakWftpMYN cp43O1jJDtLe5d15zTeM8l3+Iq7Lji6EhBF5tCDedsnICvDVZ8UNDw8xmUHpNRpS17Cl y/Xw== X-Forwarded-Encrypted: i=3; AJvYcCU3Jrq+zyh7Vt6ingyJiDpMMJ9w7KGBCS6bS+NjmtPaWPUbb24nJ8AJ5XppPPkDQ3msOKH71HE=@isar-build.org X-Gm-Message-State: AOJu0Yxbs3HbAg+5av3RSiYMJkGpMHztJ8xPaOeavF99ZYbjY9Q0LMnT Xy8r5nFOk5lQ4JxaVxBQ66eiMG0Aizs9nwZgZkfRRgYOMABFsfxn37aL X-Google-Smtp-Source: AGHT+IE4G6Y6CmaXxfkBIgFzjLTpqWFpjw1GnX4zBi2PfMYIXz7mVSEMpT/c2RjcatNDpZ3oml/LJw== X-Received: by 2002:a05:6871:2306:b0:374:bdaa:47f9 with SMTP id 586e51a60fabf-3ecbe558132mr4627786fac.34.1763984854628; Mon, 24 Nov 2025 03:47:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+bsAIHp+zrq1Fegg5JWjerhOJuTEX4W1eAxoL2yuo3H+g==" Received: by 2002:a05:6871:4147:b0:3e2:d619:f0df with SMTP id 586e51a60fabf-3ec9afdf4b5ls1760713fac.0.-pod-prod-04-us; Mon, 24 Nov 2025 03:47:33 -0800 (PST) X-Received: by 2002:a05:6870:4596:b0:3ec:50d6:4461 with SMTP id 586e51a60fabf-3ecbe5c9d11mr4826815fac.39.1763984853756; Mon, 24 Nov 2025 03:47:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1763984853; cv=pass; d=google.com; s=arc-20240605; b=bOCzy+SH2PgD+cKetPGTYQodZqqLiBbyM5eve5tgXU6KLc/KlL1FJl1wybEzpTHX2H cjjM9/iuWzuWCtd3q2OQSqDVVXTKVoV4gq59xGBtIWZGmXosf/saCm2Y3U9cHnNT9ubO nkv7IRABo/zEFK6X/OrilyZsaIPQeCJui95L6xME2jOeiZf4njrr+Bg9qWGe64WFtfid TeeJ/AbcienswCM71kiDHjkV2amFxIR9d/BU5C8M7vDxpZKbeQZkMXDNBsXqrBAKRSW9 JQG9HDjSrOVp4CtpirLWsGF/vumt0rx8XoQeJKwN6APhPucvJ01H2MPscNbnOjvm42Mt TPLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=SmU/8gC5EUv1uyFYD1v8Hu71ZaXjyH3m2mqru/SUfuI=; fh=YgHcU2amhotomeH1Rv2VyUlgPjm8wpulXwrBvcHF4rI=; b=ht+EjYw5Q9NNdsY7RAWkQpOgivTHmtUMm7Cjiw/Iy5qOhBTctGybxRxUoADt7U3dkv Ns4LwSgbHz8EEFavXbYGeYP44efcfYXfOT03fojLh8+E5BPlQQv/0x4hle+5Qwb0zGdb 6TZrM6MI22t0Y7zWAFH4SeyQrF2NBSqLxrrSB4DvlzBbIBa9pt/iJt/HjlcW4ujIwyPA fv/W19naK9riEHSGpE0Xt5RxpU/GDfp8WefGGR3eFmc7l8SP8gdoJ7rQOz8FM7C8h0I2 KxmMoluRzmsf+W8U9bWn1kp+HoJZIooHD26qFML2uDmj1XsknHTL7bpN960KZlFrhGIQ miYA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=u5o6inc+; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from MRWPR03CU001.outbound.protection.outlook.com (mail-francesouthazlp170110003.outbound.protection.outlook.com. [2a01:111:f403:c207::3]) by gmr-mx.google.com with ESMTPS id 586e51a60fabf-3ec9dc74ea5si392003fac.6.2025.11.24.03.47.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 03:47:33 -0800 (PST) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) client-ip=2a01:111:f403:c207::3; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zXA3eb2aXgmX7YWw3JENkrYO8j/0QJ7UloDQmr65O/BxLnjefeMtlPqPQunA2wL+3DRfaiu63U1F0Y+87TI07g5xBLRAaW/67wy9HgvjqWNrFs22CGfbB0cKFZf/uE7Y48xZU8Z1wZlUYN1tqR8g6Ah4LmexQW6LS9AcvCgMpY80KRClx6vsXq5qlR6ipuMHWdcb8nKIxzN9qbdndN8e4S9VDt76ElZnZUHVoJFbk9zzDoZ8iWJDuX3Q4TTdcD1OscNKahVqMYPXbqN8TElmRB3ZsW0NAWvJsnCEz89RS2sU9Sc5oCqYsUauL+TSIHWUCq8c+kJ1rfo43isLL0wKaQ== 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=SmU/8gC5EUv1uyFYD1v8Hu71ZaXjyH3m2mqru/SUfuI=; b=lW/UvBlFxNtnA6Hy6uKAuwpWnS6q13Or89IGa1fUH3/UnsLafxU52DKCQ/NojL/SrsSUQgzdQU2OUQs4f3iGWKHOTO7QBF8437vFJ3oSFuFYXSqvcW7EpHjfvFmb/h3iB62N8vjiPGg4fSp31QTZQpBghfkP9XBrD2vhdLtQBWgkQo3i7SIo2/1aOAnE/sRq7Y5elVT9/8DrCV7CaRT++ufjcKTOncx236z2Gf097khmubEvoFkR3Lfn2uChHllHjjcBXLx5OFiGk0CcsrkND3gAgmlPhg12ecxFmXYe57wwi1q9NtCeDjm/B8L2FF2yXbrWm00nSFvTBoHRktLTew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) by PRAPR10MB5156.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:27a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9343.17; Mon, 24 Nov 2025 11:47:30 +0000 Received: from DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe]) by DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM ([fe80::8198:b4e0:8d12:3dfe%4]) with mapi id 15.20.9343.016; Mon, 24 Nov 2025 11:47:30 +0000 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: "MOESSBAUER, Felix" To: isar-users@googlegroups.com Cc: christoph.steiger@siemens.com, cedric.hombourger@siemens.com, jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Felix Moessbauer Subject: [PATCH v5 10/10] wic: create uniform SBOM describing all image components Date: Mon, 24 Nov 2025 12:46:38 +0100 Message-ID: <20251124114638.2238090-11-felix.moessbauer@siemens.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124114638.2238090-1-felix.moessbauer@siemens.com> References: <20251124114638.2238090-1-felix.moessbauer@siemens.com> X-ClientProxiedBy: SG2PR04CA0182.apcprd04.prod.outlook.com (2603:1096:4:14::20) To DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:47f::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR10MB6828:EE_|PRAPR10MB5156:EE_ X-MS-Office365-Filtering-Correlation-Id: 38121036-9ee5-4988-265e-08de2b4f3f47 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: gJ0PCU73OY6sqMJdB5yrvVPjMxWlxdxZOJQIKLDo9afY+XXTnCA/JAZ9hA+204ShsbtEJ2tpweIu1O00QzJ36dIKEoxWaVkWR8UAhY8vBVMU2bcGbHZcU8xYCFPS+59CFqFoRPc74uIj50OKHdhB1pD3lzbKz2ymBkISpbFSuY1Zu1xgMBHPhC67di41Yfa5kAKDINpcscg3PV3y/N/eto1I7+RxWp9Hj7JaRO8Rm6wKxwOW4x51MDdK1OHj2P2XdVoNOnzmMzKItuHwA/etyVXV3VPUXrfIVfpe8v98ZsSyCV2H55ULGlqLo2PolcNOulHnploNEpd0Lrp7mfGv6L9k9NVOTyYv8XCzAZ8j1aQCa69qtgKRv0egOwvEf3e+BP3JeJg3OHvfBm5NbuG4gFjhzh9n5CEQFQe6palYTRdzmNnHrgYO/2P4BHibJLNdvw9Qwzy4XBZR6S9T8Djvc3tEMyXPa71sH358G5j5vek/duOYWKtFSqNEzDqLza+zHsKw0ZGwPij5Nt0oln2zy8zg1Nt4WbhJ7m82jvSCoYJzL8bNkr622JyZ6mmZi17mdLa2JUjSg+TBdhpKLh7DwLlo6ovP2KFi/umRLhhBTUO0+vZFoOYAMmigugl1OZ00bMSw+WcO8uU5gT9gNpxUAFXLWvF6Wh7GSAQ9LitxJlJDTstgv1SXCLHmdXgVy7OaNeYlqzArrOh0qzekxYPXWOwMyzygBihT8GMlDjTVuwyTdO3UjYqHrOe/vQdDxKejLSQbqwWVOjZ4lB9WRzTIItdVdrvH/bzF1kWn8h0KOXlOWv5gpugBF111aD7GwVORgsRnKxKWYAxR7ceah5e0geosB3IjV3GCX70zqx4Mx1wDuPpM7kNxuSLH56chkMbedjI0mF6ijoU1ML9Fj1Ar+advAjT1TxLf2j/5mFxIZwYAaqgzfPpsYRb5DGUSGM/iywgmKkbbxi47rcPcETBKADF6I+uMAYb4yeL07+sGjj8Sf1hC8l9nNbKSokL0KxhxghKkzLx6baTQ71doDcORPgYp7kldkgkL40dAWIhzxpvuOC9kGpRd2rj3Cmsmxe55VSrrFGTc9j4WFPAIBu7mblFGGuiRellvB2JWPG5BAjybxWItnfzX/2bwZf3U3dMTHV4QgiCDgZvWcujS3L5oS+MaideMNxxfbOzl+9tE/qcln/0OWKq3VIDXCwAX/I7pVl+VnEy3C5eLYsD2IknrZWxx3OSYxn5tCIrw5vEinkKRjc871CFim/ltOsAGZ4UpkDTgbR/VW0o8zMtuvbSrt59mMHhsM4N1rYHcehhQ63bu5g+gQum++spcRBUD2Ts/XtTwE50Rf4Vy3YZd1kTw8l0nMS65Q5GT9jOPWe+5Od7ObjaHhFCHTpi+rLffvbAEQuuHFngSqfIqog8uViB74BiiwslmFiKirh6fKw1DWSHLGX6zmgm6dAD0xbAXiTGW X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hIZfnEF9288oJmGu2e2RSfKRgKNqMAI1HbBz7SjOCTuMAm9e3LmDJb33DEgBm0dHopLqrA1/FlUx8mTyY1lKw0aeOIUe0EPij5rVg887ecq2DldjLctQlGv674NFDqlk+8+OQQKpjF02KsFjFfpIMDFZ2RvcipgOtkjz6fuq5W95tZODrwBAAV1ft6jjglHKlziccA9xD7xCeWn2Ar6sKOtYTwqUKVLSfQIGnKEOR02ffpnFjNnNsPj+mv9vatFrxqoqAdHVl2X4L6MCl2gPAC0s7Eq5Nrz9nfjcLp6InmbATAZuLEnYpXIUonGgw81DTIy/Ba+BU2fWxduGVhVQcaaJXsG5faNhuMIDSZAQNRCmy4QuwsDMdVE4n+3T2iJY87RRvP72MlyhatEEbu/GAl+PxkqCPSNpJhxnbe1BFaGfQLxiWnerWifwRsex0rtIGTf72XPZbZ1NIm2uHKR/xwxDbuqtNwUOUoWxqE15/bfT5qKRmj+uVNf7qXOlH6qQtZuL+HjAfLiMznhQtKmUimpNwtGjXpxsITrJpAMozPaZu0fia/t15O+48fzgPzBm4a6cg077yYyezlmZQm3EFXj3nDyiV9byMhg2F8YAqdtJ+PCGR99u9ZDv2Gsthm06m8C7Vs0EksXOuft5hZNSfv0AxvwsSihDkOqJzWhwEWsUGsVMejwNFEPM0QVMoh1gWDwD0OfDyWAu6EE+Nip6FuiDwxsqlcnsG/oZ/P2YsUK6ylfShzYDt1uHHe3e3fzqnO3tVIMsjks07G7RnuQgM72np9tYtxDQdh/DCcYrkj3Lfc3TKqG5sfJXydItZaPade4kAxU5gAF909TOl2jrljvxPejq84Yf6+cKxQLErg2rfK8hBK65XiEz7U5SnQ1q6EgT8qIngDCKKZBNfAZa/B6XeHVL5pYuV7ulg2uas3YzHYSt4czrGiSUwEsCVKZdb9uSN0Si2vDj+aESdipu8tSs7rpAzRrpbj/feoWmCwDpLOx2LFL5CGP3Z2tbviqAcO146Y7HMahBrWm8Fpi/Mf3nUJpw/XJrA9z4EUldjVTUvSj7Y4jVUtl4Jsz4u/+BbSnoOwFcQqJJScDX62T41eo4dXZO1qMUpFWA/bhHWMxHSWHz9mPsMW4MlkbFJMheJzXwN4Uu6WzIlFphR0SZ2pgGv8/SCxvgV4/+xecoVf5KmI/gtpdeQhrNx7R22/e/Sb4jQHCntaLKoOlIpkgl3lgvAOg6pqL9APO5HW0QoBZnhsiCcOexp3exAct1RK6UiDdwxee3z+BP/FHL8KAxnHOP0P8K8A32bbI7M4/2N1+BTQYaWKI72FKcvYdsMOTLZOrcLPSlzy7Qf8Y4E2M0DjRIAGBx4vSr8YZGHHWyGR9rVBy++PTh07nwq/rR2XnaVisj9MoABmya4FsHTsT1+w0te3WZxO4fNWfeepZvACWp4011fIiHPlOm9KqXPQQXGVYB9rEfIAsOsdCKUidAjmNN1OPdqBbWOvIKRMLxWeBkVZvRPMh118VQZxJNqTzODT/c8Eo8yLG84Rdg91NGqfI4m2FowPYsqHUpzb7uFnwqY4Ww1jJcFWEjIx4wuGP05E9oGpcAIz8MC9D2b3oe8Q== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38121036-9ee5-4988-265e-08de2b4f3f47 X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6828.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 11:47:30.0586 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Gmilrf6mjuAYE4cBN/aYJemqHHFG90hhMZCXBOZgs1KnwV8/mSSfFpBG//zJu0/mmY1nGd9CKeDo4wFlSSbv6h04aPl9Y3ecg193DZAsutk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAPR10MB5156 X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=u5o6inc+; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f403:c207::3 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= A wic image consists of potentially many different components. All these should be covered by a single SBOM. After creating the wic image, we collect the individual sbom files (rootfs, initrd, imaging) and semantically merge it with the debsbom tool. The merge SBOM is then deployed as .wic.(spdx|cdx).json next to the wic image. Signed-off-by: Felix Moessbauer --- meta/classes/imagetypes_wic.bbclass | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/meta/classes/imagetypes_wic.bbclass b/meta/classes/imagetypes_wic.bbclass index c75d481d..fe31e4e6 100644 --- a/meta/classes/imagetypes_wic.bbclass +++ b/meta/classes/imagetypes_wic.bbclass @@ -201,4 +201,29 @@ EOIMAGER ${DEPLOY_DIR_IMAGE}/${INITRD_DEPLOY_FILE}.manifest \ ${WORKDIR}/imager.manifest 2>/dev/null \ | sort | uniq > "${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.wic.manifest" + + for bomtype in ${SBOM_TYPES}; do + merge_wic_sbom $bomtype + done +} + +merge_wic_sbom() { + BOMTYPE="$1" + TIMESTAMP=$(date --iso-8601=s -d @${SOURCE_DATE_EPOCH}) + sbom_document_uuid="${@d.getVar('SBOM_DOCUMENT_UUID') or generate_document_uuid(d, False)}" + + cat ${IMAGE_FULLNAME}.${bomtype}.json \ + ${INITRD_DEPLOY_FILE}.${bomtype}.json \ + ${WORKDIR}/imager.${bomtype}.json 2>/dev/null | \ + bwrap \ + --unshare-user \ + --unshare-pid \ + --bind ${SBOM_CHROOT} / \ + -- debsbom -v merge -t $BOMTYPE \ + --distro-name '${SBOM_DISTRO_NAME}-Image' --distro-supplier '${SBOM_DISTRO_SUPPLIER}' \ + --distro-version '${SBOM_DISTRO_VERSION}' --base-distro-vendor '${SBOM_BASE_DISTRO_VENDOR}' \ + --cdx-serialnumber $sbom_document_uuid \ + --spdx-namespace '${SBOM_SPDX_NAMESPACE_PREFIX}'-$sbom_document_uuid \ + --timestamp $TIMESTAMP - -o - \ + > ${DEPLOY_DIR_IMAGE}/${IMAGE_FULLNAME}.wic.$bomtype.json }