From patchwork Mon Jan 6 15:41:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 3995 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 06 Jan 2025 16:42:07 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pl1-f184.google.com (mail-pl1-f184.google.com [209.85.214.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 506Fg51R010112 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 6 Jan 2025 16:42:06 +0100 Received: by mail-pl1-f184.google.com with SMTP id d9443c01a7336-21661949f23sf345499715ad.3 for ; Mon, 06 Jan 2025 07:42:06 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1736178120; cv=pass; d=google.com; s=arc-20240605; b=kDVB+nYwsy7ZDgjYTLx1zYyxA/wrk0NwHmOpi5f6bBUI8Cj496wq05GL8duO9BS/EE afMHU1Z6Lwe5pLjd6HxHmwUv9T3BZrbGjfPeXlL46jNqswAokKhekOypOKfIWzR+HH0t pDEmnp0C76hhxOglA5os7MNYZYf9QNrR5qzKyiy4ChKwFNuO+1qcCeTv5iywsyq5qeTQ FPn93N0bnvs6b1c8ow7Gz/EoA3bKlBhOkWNWDjMVNBM73DPEEYVt+vlo2t0NZIxrmyef bEobtSt+6cvcGKEwkuuRPHEjk8UETVhSp+NUonJqIoOvTYo8+GqtIxnlW+KLIrtPTfmg M2vQ== 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:autocrypt:cc :content-language:subject:to:from:user-agent:date:message-id :dkim-signature; bh=hPUIr9c8xF8isrorcREcGebz1ilPrbHiC20eZhyByPo=; fh=iGf5jseyvLq+DiHi/c0p8ScAxOWTAso5PgzrS/J4nXI=; b=I61N4Qsmdyxy/xb9DTPkUp17lT/UskvfD6WQgnsQxXDP6MnBg2BCtKPhZxYJ888L2f FV9Ea0itu//2tI5+jp8wUq4y1PzYIgxrIMZWlJGpGKhpCm0sl1bQ9bckZOmQyZ0T1kVs 8JNV2OzIddxlsIp8qni2OtBKBRB6lwjgbREVibefREvKWzEQ6L/Xvg8kem3cnjLSQW9S i184hbiaGsDD9E0EtcNHXZ5YfxWSWgFIrs6/SJQOtYHx2mD1YPT4XxASquc1pW2lFZVe EWIZ23Li8oJo+muXT2PZ06A9As5eY/g+bQQU/MZ/GvI8CUi3Pm4fW3+03Dc1TCw8j40q VxjQ==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=rxZwtN4i; 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 jan.kiszka@siemens.com designates 2a01:111:f403:260e::62d as permitted sender) smtp.mailfrom=jan.kiszka@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=1736178120; x=1736782920; 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 :autocrypt:cc:content-language:subject:to:from:user-agent:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=hPUIr9c8xF8isrorcREcGebz1ilPrbHiC20eZhyByPo=; b=se/VHKhyncVqSNFC12Xt03E5qLDRRl2WNnQBF/W9CaoaoRZ3XZ+Ff2Rnp0U7lTgIkP q/nQL0jORRN6LZcOr3FvKv0lnrGSEW7KHN1bc7VAQ/swF7rdflH+z/WECK+Q8zdC7GA6 Is56gQLfnyAj0PkH9t2O8yiG/BTfExyWW4hHlVP3MCZZhXD6xtaKqYUVHMgqQ7aVWFQp cod5oc9o3yTOxEDiATW+JJrFbow6uhdyb5srchdeGceEe5bDuFfySIub1kR8xXm6GYsF gH5OyDgPXWx0b6/gK8PSry4yAC0VtaiSRCASVsyXAog8+ltazvyxBdw/s5zdQV3NFJuA 5Qyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736178120; x=1736782920; 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 :autocrypt:cc:content-language:subject:to:from:user-agent:date :message-id:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hPUIr9c8xF8isrorcREcGebz1ilPrbHiC20eZhyByPo=; b=NedEsdt1tDSIfTpKDEpsmf9F3I9xokZ7MPO1C+nnXoROUC+sbbZYRsc1FDi5ZN00ub pOg8FoghqTJpV3P7h+HQFKVnDhRMEVFj7mvoENrbaDY0b3s9NX1J9OnYWf+3HSMq3ToJ ebniyDjXntPK7D5D7q40JXARQwE1gm9tB8SExeFAvfVPrLBTK/NkJtPKhotv1WwlUlQW BEe4tWCwd7fdV6kdsuPThdyopwI6kaj9Z/5pjN3DncT2tc4OcfA19bZsZVQZWw0cIBpt MtOl8pZeH77VhkeSlnIi+M8qwSz8mrPddri3UjkfgDYi+ItQf98FfFoznvE7m8tBCbNN H1DQ== X-Forwarded-Encrypted: i=3; AJvYcCVzMkA501vwegbv8ECgXoFCqN81MfTwtU/z+1Pi/Q0vUJhovU6QssGss21LzUQnHslJ6/LAH14=@isar-build.org X-Gm-Message-State: AOJu0YwQbNV8nJR1/t8JPe/IdoQz0HO7J5fcZSPCvhlyvVv4lIUgWIRI AXlyuiHdAFSh2hezhQR0TiSRHF9o+RV+KV/2ltYoSG6MC1cgVd2x X-Google-Smtp-Source: AGHT+IHd1twrEWyKUm6vbb1k3VxzZKEF8md9F3XXEAXz/VrvH/B/lPfQGYcF3YcF7JPzMwkozpjPDg== X-Received: by 2002:a05:6a21:7896:b0:1e0:cf39:846a with SMTP id adf61e73a8af0-1e5e07e79aamr93067752637.29.1736178119886; Mon, 06 Jan 2025 07:41:59 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6a00:35cd:b0:725:ef94:738a with SMTP id d2e1a72fcca58-72aa9919751ls776406b3a.1.-pod-prod-03-us; Mon, 06 Jan 2025 07:41:57 -0800 (PST) X-Received: by 2002:a05:6a21:3998:b0:1dc:2a02:913b with SMTP id adf61e73a8af0-1e5e0459dbemr92089555637.15.1736178116754; Mon, 06 Jan 2025 07:41:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1736178116; cv=pass; d=google.com; s=arc-20240605; b=beccUlIQDIM3Pj0WkXMqi6lIIrQ9t8dk1Edgwv+/oCZ5whQW65ZHlfUOJ59ksGHdHT C8ODeCClVrDMpuiDmx5RmOm8FvSfvd8ziHiAzWfwIyO9gzx4bnOYFh47g6hxbu7Z8/wl dIImiGdxKfDjykmEvqj6A2SALgO7yn+l5rbw857AhgeVHGhGB8GBmalnyNxnmgQMDFSc n/c+SicQVuqZXWYvl/Ca9PvxBSLrXV7eAQ6BPbe+orX1mJbfPu2YwCg7tyxziJJdwr18 ng+JKbaQAl52E28oowr/Db0uGCDdPZ/LOHtbERT02JKSKg6ONgcrk99ng5gJiPXMWZp4 gmtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:autocrypt:cc :content-language:subject:to:from:user-agent:date:message-id :dkim-signature; bh=LcYdYh7ZXBCaXL9nCh+UEy69uE57YnsuYIErWkC/sRA=; fh=pYCfP7XljePg7c70qM4qoLndSVEVyT02GCH7Liwtkgc=; b=WTb9ZwExQjBRJb91nUvBQ/9gVDLbeRJbP6jiuTUTIMgKxzWKSOtFVZ8B+JQmhA7Kzs xYkxUh23mSJNDZ9vGORYBccGrovaBV1z2iumdVPI8GBHb7LzsXhzODVOaiJADaOJsCIK NUIPOnpkPQvDWnQ6hltH+imcCQyL9H2KLHzE++c0k80h5HrUa5P84Hktr801v3in4Tzs m+U+LSvpiZ6dPQATZdlVtVmyzlNBoCBSMTqlbAE9e2eFJUtB1N+k54u/qthKCm6LAxJm 3IPKnseRuz+7ec4ht34ojiMSzWtqy1KLH2Qg+IENSw745oOezC7ljSN1wNr2EYaNkmKN 00zw==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=rxZwtN4i; 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 jan.kiszka@siemens.com designates 2a01:111:f403:260e::62d as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2062d.outbound.protection.outlook.com. [2a01:111:f403:260e::62d]) by gmr-mx.google.com with ESMTPS id 41be03b00d2f7-842eb1228f8si1424902a12.3.2025.01.06.07.41.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 07:41:56 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f403:260e::62d as permitted sender) client-ip=2a01:111:f403:260e::62d; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UEBAXKNQSrcHjJDSDdAWvQaIKeb4bmJjHAT7pe0vF93DOPxZtgcAZu7Ns/bjs+GeKWblX2OXS3MuRtIS6sO2yrNyQtJe4xFyJYtI2Clblkijv4PAN1GyS0GtD7gSFM8eE9MNHB+2QpxjqBgpnTqVH92a4qNT4caij2mr8ECCvz5ojMcKDP7nbs/qTbsSX1qZP0kyZM6dWi3FNo9EzihXGu2RDdwC5rcYwiWhJJ6WyG14NopQ50JeTITQGI+6YJDBQSJDSpf53k0RTPH7IrcJAuJnatPi8mVojtA18LepwSh3gSxzUMH4OOx3EuXJupoGIBu8hU7z4iGnTJjJHsjN3g== 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=LcYdYh7ZXBCaXL9nCh+UEy69uE57YnsuYIErWkC/sRA=; b=rHV4Rrr+1mr6+kIQU/eVs7bnaBtXD4bsvKw56kpRMB/EmJLrwFIoxLzosvywQ0laOhW4nt1gqkbXpWwLQxsKrmojW+08On61IPuSe7UhNu+0pyfLPuZQGXWimm903p+DAeXeZrR/Ao6CBrrmJhsu1eAWGUXk/UCM9X9Q0d9uzYskIu5euydEYrVkwU14SgCokJyfccjtqAMhPZe1gJcS+JqymNV/qzVLAspWfNaPt5GbWirJWdNd9kIIAcsltQlGbyBiJXl4MkQQEc5oQ1bUElLreDBOO0Ra0LcW5f94h89ZJBB+FCHRNeSw/A8ULIgoDt3zL6Xo9GP7e1xrDR368w== 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 AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by GV2PR10MB6696.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:b9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.9; Mon, 6 Jan 2025 15:41:50 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408%4]) with mapi id 15.20.8335.007; Mon, 6 Jan 2025 15:41:49 +0000 Message-ID: <9c383301-0a7c-471a-9d6d-454fe3a0be16@siemens.com> Date: Mon, 6 Jan 2025 16:41:48 +0100 User-Agent: Mozilla Thunderbird X-Patchwork-Original-From: "'Jan Kiszka' via isar-users" From: Jan Kiszka To: isar-users Subject: [PATCH] imagetypes_container: Enable customization of CMD and ENTRYPOINT Content-Language: en-US Cc: "Cirujano-Cuesta, Silvano" Autocrypt: addr=jan.kiszka@siemens.com; keydata= xsFNBGZY+hkBEACkdtFD81AUVtTVX+UEiUFs7ZQPQsdFpzVmr6R3D059f+lzr4Mlg6KKAcNZ uNUqthIkgLGWzKugodvkcCK8Wbyw+1vxcl4Lw56WezLsOTfu7oi7Z0vp1XkrLcM0tofTbClW xMA964mgUlBT2m/J/ybZd945D0wU57k/smGzDAxkpJgHBrYE/iJWcu46jkGZaLjK4xcMoBWB I6hW9Njxx3Ek0fpLO3876bszc8KjcHOulKreK+ezyJ01Hvbx85s68XWN6N2ulLGtk7E/sXlb 79hylHy5QuU9mZdsRjjRGJb0H9Buzfuz0XrcwOTMJq7e7fbN0QakjivAXsmXim+s5dlKlZjr L3ILWte4ah7cGgqc06nFb5jOhnGnZwnKJlpuod3pc/BFaFGtVHvyoRgxJ9tmDZnjzMfu8YrA +MVv6muwbHnEAeh/f8e9O+oeouqTBzgcaWTq81IyS56/UD6U5GHet9Pz1MB15nnzVcyZXIoC roIhgCUkcl+5m2Z9G56bkiUcFq0IcACzjcRPWvwA09ZbRHXAK/ao/+vPAIMnU6OTx3ejsbHn oh6VpHD3tucIt+xA4/l3LlkZMt5FZjFdkZUuAVU6kBAwElNBCYcrrLYZBRkSGPGDGYZmXAW/ VkNUVTJkRg6MGIeqZmpeoaV2xaIGHBSTDX8+b0c0hT/Bgzjv8QARAQABzSNKYW4gS2lzemth IDxqYW4ua2lzemthQHNpZW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aYtbXG2wTrqJ 8WpkWIE8STUhQa9AkezgucXN7r6uSrzW8IQXxBInZwFIyBgM0f/fzyNqzThFT15QMrYUqhhW ZffO4PeNJOUYfXdH13A6rbU0y6xE7Okuoa01EqNi9yqyLA8gPgg/DhOpGtK8KokCsdYsTbk= X-ClientProxiedBy: AS4P189CA0036.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::7) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|GV2PR10MB6696:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b520334-5ffc-4488-6cea-08dd2e68a2b2 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: =?utf-8?q?J4DTBs6plhf4mqee9rs7GFfsYUnpiPn?= =?utf-8?q?f2VG1CjLlo4QYMR5Ln7pxyVOJ/hEgrIh4oUadGhJuBnd5BowufNO75AyHIJwpzkjT?= =?utf-8?q?Zu2fccGf91n9tYgj6BhPs95Cl/nFB+mCl+m0a1JJYbCy3l7kPA/kXIiZuy16yhNsb?= =?utf-8?q?tjmG3/OCGUTJiXzDjTBEFoWf2OQhspRptv+pAhYGdG8AjcT+b0TqcyXajvgEvaUi3?= =?utf-8?q?uUROF3gdYd9iq4+1nDddU79EKwHuRLbr2EYsTKBCC5cNwyLNuvoKNhO3G4wITXeJL?= =?utf-8?q?HVwiacb7QzABahfSsCaxN2C8NEHP9eiU0My3u5NnRCYUv2vLEQonohVC6X5XCHlsW?= =?utf-8?q?gOKutf85UxsYDmUfPjUME9bwcuiZ8srQycCphgpJVxDAUIp/dh05QTWTSIZbqUk0n?= =?utf-8?q?7icyMptmkXJ4FhBXyjM4ZHEPdQNdmG52WNuK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4Oc7PX6ZWV7neBMwd1yXepF1uP1k9mqC?= =?utf-8?q?4Gy5/N4R7ODJ?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.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: =?utf-8?q?tZU0XjexhKmkvxigr81dz9p2FSk3?= =?utf-8?q?9AVsBGuVXhawF606HhGO4YOI/pDhHENxGJjn6w377Gd4abq5H9en9XRcJ+yUH6qcB?= =?utf-8?q?alasbolBND66WI45fO0YynT4NwO/8V1aHm52CX+s8iVF9QL7O/zG84JG88753xktd?= =?utf-8?q?gUscAsY3F3v+VxCZl+28sph5DtrxNuEH4u3pgY0DxQp0fo8qp1B5nY8NVvq0Ap2G4?= =?utf-8?q?EY60/06XjKDOI7fht+y9HgxBxCsfY0gkjUFJ5iKBUXzKaz1resJYlfoCWLgQ7tHyZ?= =?utf-8?q?2vZpZERgqt/Oq9DLabxDfRR4ItvrNXIuJLLJ3lTOk96kh9xxdjcBgm3DPgiGJMcan?= =?utf-8?q?goOTeS5qo2tnaoqbhbbAHRhoHGNuNLKjATThgUqJd4rGpRulF+zbhQPMT7idSsfrk?= =?utf-8?q?bhgeY9I+M7sePs0oUQI1MseCgpcfV1vVv5ecJC8edzv6Sx6YgNeiH3/BiZqWj7YXv?= =?utf-8?q?lSP1DQI4RHT7ftXYlWMy3vg1QFrK9tecFb9DOwtb1CB/9288YxXO6Njnac1+kfdKO?= =?utf-8?q?jdg5qL/oVMbzfLjk1UatoiLx2r/pyU/O46fsx/mM9FfUu7BbNv6ZnMxX1mzT0zdeK?= =?utf-8?q?Kl4LIS/qYKQDQFWVSMLKt5JG89c/hDQ8uRnHqqKLzH4h7klSxwKI36JAkrNQrPP9G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?= =?utf-8?q?L6KqJzGnWGRm?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b520334-5ffc-4488-6cea-08dd2e68a2b2 X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2025 15:41:49.9014 (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: 0uH4GcwYiYUGGYvKskgQZIj5OGSm5CexpxYU0D+XUWVxDgFt35qYzqOKCAJBxoH4NWtyjPaQYQsSOOA1Ji/WhA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR10MB6696 X-Original-Sender: jan.kiszka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=rxZwtN4i; 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 jan.kiszka@siemens.com designates 2a01:111:f403:260e::62d as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Jan Kiszka Reply-To: Jan Kiszka 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: Jan Kiszka Enable recipes to define their own CMD value and also ENTRYPOINT. This permits to build more commonly useful containers. Signed-off-by: Jan Kiszka --- meta/classes/imagetypes_container.bbclass | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/classes/imagetypes_container.bbclass b/meta/classes/imagetypes_container.bbclass index 862ce197..1a6f3669 100644 --- a/meta/classes/imagetypes_container.bbclass +++ b/meta/classes/imagetypes_container.bbclass @@ -1,5 +1,5 @@ # This software is a part of ISAR. -# Copyright (C) Siemens AG, 2021 +# Copyright (C) Siemens AG, 2021-2025 # # SPDX-License-Identifier: MIT # @@ -11,6 +11,8 @@ USING_CONTAINER = "${@bb.utils.contains_any('IMAGE_BASETYPES', d.getVar('CONTAIN CONTAINER_IMAGE_NAME ?= "${PN}-${DISTRO}-${DISTRO_ARCH}" CONTAINER_IMAGE_TAG ?= "${PV}-${PR}" +CONTAINER_IMAGE_CMD ?= "/bin/dash" +CONTAINER_IMAGE_ENTRYPOINT ?= "" python() { if not bb.utils.to_boolean(d.getVar('USING_CONTAINER')): @@ -24,7 +26,8 @@ python() { } do_containerize() { - local cmd="/bin/dash" + local cmd="${CONTAINER_IMAGE_CMD}" + local entrypoint="${CONTAINER_IMAGE_ENTRYPOINT}" local empty_tag="empty" local tag="${CONTAINER_IMAGE_TAG}" local oci_img_dir="${WORKDIR}/oci-image" @@ -35,8 +38,14 @@ do_containerize() { sudo rm -rf "${oci_img_dir}" "${oci_img_dir}_unpacked" sudo umoci init --layout "${oci_img_dir}" sudo umoci new --image "${oci_img_dir}:${empty_tag}" - sudo umoci config --image "${oci_img_dir}:${empty_tag}" \ - --config.cmd="${cmd}" + if [ -n "${cmd}" ]; then + sudo umoci config --image "${oci_img_dir}:${empty_tag}" \ + --config.cmd="${cmd}" + fi + if [ -n "${entrypoint}" ]; then + sudo umoci config --image "${oci_img_dir}:${empty_tag}" \ + --config.entrypoint="${entrypoint}" + fi sudo umoci unpack --image "${oci_img_dir}:${empty_tag}" \ "${oci_img_dir}_unpacked"