From patchwork Tue Dec 20 17:09:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Koch, Stefan" X-Patchwork-Id: 2343 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 20 Dec 2022 18:09:38 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f188.google.com (mail-lj1-f188.google.com [209.85.208.188]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 2BKH9bTo002094 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Dec 2022 18:09:37 +0100 Received: by mail-lj1-f188.google.com with SMTP id bx14-20020a05651c198e00b0027b58179b0asf3351606ljb.5; Tue, 20 Dec 2022 09:09:37 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1671556172; cv=pass; d=google.com; s=arc-20160816; b=XdEOCu46jKxSFhcr1hgOTIFKpO2CRk9V4usXRdsftmSZvsI68inyUZhVBDLCwtZilg 4SEriJnSUZgRcme76WyXc+EU9moLR6JHiuK0i3Dx1rGO01Ntf5wX0ZkybNKc9t/LxnYw LW3oM93GcZaWqJ8ABXvTe9WgMRa3xMDHzsLcnYOeiqyoDwA555Uju4laDUBU+KtUh+0V FTaPAMwfOgXZY1wUQmev/CBv2vyfG2T82qxAqUTy72cYfOuqho6oy6tMelCiG2I3pmQg wUWj3fTImXic3vPtvUy65xuKsq7Boufcp9Fs0aOJ87Gte1UfCEWH22u0wS7gKpiIbMe1 nU6g== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:sender:dkim-signature; bh=qhG3zWIfPe+JaBAjDqslchkL1ys4UBElmdrouil8W/A=; b=v9p7e4b/uOUmvEz6UAO2LFoEgNmgwi2X0hjLb+YG9hYuMyK/9evy1GgdHg24fBdqf0 cuB0UWyQKOjpmg330Y66HbsZJtjUbP2QnOv/oHX6eDEOctyS7m4jhDODkzAJEh6PCl4G bDO/MMtjANNvTDxQdbH/T2nhVJSEXaTBzlKYddo9G5C6txxlOPiQrP2McMZOoY2rViZy Y6XqB1+Qr1GycTeYk2l9MDHosO7au9wyLwFXGVWiQbiLL0CukXYENznEiL0fCeYFF8Yz fsUj73hkXHy2FduSpzCWTx86XYD1nW0SPKH0PYjhIKqRO/zJBuPZiYoWZ0OJb6IOdyCA pyAg== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=V5UqciaB; 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 stefan-koch@siemens.com designates 40.107.21.55 as permitted sender) smtp.mailfrom=stefan-koch@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=qhG3zWIfPe+JaBAjDqslchkL1ys4UBElmdrouil8W/A=; b=SQMHk7ak4xQAff8wAr9IrldxF1kJGbEhyehJBvF+asp2XfLBARl7ZVNuKzGF8T54Zh 7hSYIT1f+m4PVJjXdyd+Cy0FYwjKtcv4lTZgF5PKKEShdwUn0Wz/CH/IQ9cZ5p8d17iA QiDfW+iSR2PEYyXTtjDST1Y4vfWGAYtSjMDzlvzEW7TWyiv/azICMdabSwCilNQqrNv2 mplsj4/ZXFPhtsb20qbm3KMi9rlN/r80rYvgHageFDIr4odqMczyE2zLodu1BjfH49kp QYlXQV2A6XoVBtNjJe7NqEp+D3gLu3S0/M2wT5Kkiu5mzx4k28qEbYUoL14KX+9bWtFw LcXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=qhG3zWIfPe+JaBAjDqslchkL1ys4UBElmdrouil8W/A=; b=UAijxOCWEukiBvuoF90GuwIEG43o/PJLDqtiiw1TsE8rFVGzto25Trer2nZUbShJIH HvitLD8CzsV+5LrLFvMMoM5HALhPfBzN8q86qgrtrOTEeh4qywZU24vICyxDqDjAzGUF IqX4upis4irZMR92kciUJyVYriMDGQepLoZTC8eHceB/TgFDDO+N2UzORgmILZqDjZtL 7P5uHAmD+JFR7eebY/O3EMLT28oQN9igQhY/shixQXLfCOg6ADwkYOV08YqXquAC0zXx 2PaqJkWPtRsNHfQYfT7xBKo4r2Gv9fhaLzoYrA3dr+bZfiG4WaAQwuqjlh0zTYc5hTVb dyMA== Sender: isar-users@googlegroups.com X-Gm-Message-State: ANoB5pnGUQkC/lqiglkvfERIysGoOZL1o+76luu9S8Wp6TBeuMQ5kiQs MzlEqt/hyvS5NLlrxfU42a0= X-Google-Smtp-Source: AA0mqf5VMG5yBe7rc2voiZ58N/GBZFwT0mGeP4dmoGuCZzrQy8/zNU5wuGyiEvZWEPsCg+/Z/wzItw== X-Received: by 2002:a05:651c:2115:b0:27b:52e5:e577 with SMTP id a21-20020a05651c211500b0027b52e5e577mr2396608ljq.315.1671556172234; Tue, 20 Dec 2022 09:09:32 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3242:b0:4b5:3cdf:5a65 with SMTP id c2-20020a056512324200b004b53cdf5a65ls1737299lfr.2.-pod-prod-gmail; Tue, 20 Dec 2022 09:09:31 -0800 (PST) X-Received: by 2002:a05:6512:31d2:b0:4b6:e64c:aebf with SMTP id j18-20020a05651231d200b004b6e64caebfmr13829191lfe.51.1671556171238; Tue, 20 Dec 2022 09:09:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671556171; cv=pass; d=google.com; s=arc-20160816; b=NHuxIblvR72/eND+6EzX7VQHVs5Lggcw79Cb1jq6HWZ3ZaChJHLDrx/rrkdnwJ10kV xNR+E5wJcaBUxd7nWfmo+XjL4fTHLKvmVUsc/0iizBPL+j1j4nGynSKQujyXTIOGh5Qx HbEXkF++oqWyW9Xva1i7wWi0ORRZLS7VNPZ8jJbHNLr3eYOnRI8GnGUOOJUiQ2bioN8u Ji6VtiBbNfJtsbMgclQFdY+B3SxdfjeMCEAjtQpR8vbJEWcwhUrs/gj0vNBOiJ1VrEDS Q1WLAHRyo2IZLy3TDaj6wMGRgfvphGzSzlVtui+IOWCaTu8aWK8aGftlXX+b0J+BrW5/ XAvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=hfOJIhEziI29rwzqvXNemQQzq5/KIbxXIqvJtbg8Peo=; b=cth9TOyEGQ0ga3oX01hhnLDN1b8zM1KSIi7X6cmPPKbiHT2A6LM/OCqSUWMllcCZ4X cwV/JdbPySMNK6RpthmbqJ0BDxYJoXL9kVE+H8WGBWdY/BPkcbfhOvPfLRl60L7bJqpx +1f2jNci20DONyPuZ3LbekP86smHR6ckpUIaRq5q2BHpoYA7WRD4GisSkI7udftGaYvQ RDnhFwvbvwo7Xfgbse3NVWoch547M9vA7qz3xMwHK1U8JfeBUYf3fowp/CYxFbY56gQ3 /hbvyjJq4Fpmj4M2O/FtaPG/2xmEZC0Th6mBTq54nBPBhVFUselCOEzXz7U//gaEwzqw B+1g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=V5UqciaB; 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 stefan-koch@siemens.com designates 40.107.21.55 as permitted sender) smtp.mailfrom=stefan-koch@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com. [40.107.21.55]) by gmr-mx.google.com with ESMTPS id v19-20020ac258f3000000b004b4b3e2e283si544138lfo.13.2022.12.20.09.09.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Dec 2022 09:09:31 -0800 (PST) Received-SPF: pass (google.com: domain of stefan-koch@siemens.com designates 40.107.21.55 as permitted sender) client-ip=40.107.21.55; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=htBXrNue+9SzEv7wECF74+H9pMDD/ro7NGCtkNmXxdGK6imOBW4pCeydE5diUiYIq7Zi1XifTiF4pbc0Ej2O09+TlDDi24rOlNIoA09zsaqpCXA3bKbFOlII0jQteZvVCwUJN7YYZRonHb0UCVSQg6k+F/pH/rzQ/7IDWIziij9Cgd7r/kT7V9GJBQXJw+NYUqmFZIX2VMwMSM+rmGstWFpZEf1HTWCw0pMtTTZ5BSuJAmuIIi7NxKuriG28e+2FT0hHjep5z7419WywnK4bS5uYq1ZA4gNcs4ziKGYDZQbnDAPjsd/K4QHwVdpjCW/WMAyROZrjRsNbSmE1IHM6Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=hfOJIhEziI29rwzqvXNemQQzq5/KIbxXIqvJtbg8Peo=; b=TVLAzpOEvSVb5tOUo1uFTrpuz6U23RekGLTOzBeDaDkIgUEN2xHqj6PmxqgKV3B4jYW+xhqttst2OXS6HzE/6LxMj29Tim97J/wWZbbv6JszTU95FBX5Tc0imUndHLgvRs46j7ka+lHKie0uKZgEe3fsukxVNq3/8bII8lFW8M9oukhwxnEGhaMlGMGX+8H3Wb6Ft2+opgWGXFjUJeEsiq/vfxVGQ1t83Q6NzbYZlL0sEVY+SHQSWdOqRPFHbM54rjaDxHOX2zNLEtGbPlviT0eUIZIO40ycQCp3L3oU3VLqRoDxnkieQd7wp9eIIjouW/DVcjBZlnf2Id9tAhdtug== 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 AM9PR10MB4959.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:41e::11) by GV1PR10MB6146.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:99::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Tue, 20 Dec 2022 17:09:29 +0000 Received: from AM9PR10MB4959.EURPRD10.PROD.OUTLOOK.COM ([fe80::3be:f097:9bbc:68f3]) by AM9PR10MB4959.EURPRD10.PROD.OUTLOOK.COM ([fe80::3be:f097:9bbc:68f3%3]) with mapi id 15.20.5924.016; Tue, 20 Dec 2022 17:09:29 +0000 From: "Koch, Stefan" To: "isar-users@googlegroups.com" CC: "Kiszka, Jan" , "ubely@ilbers.de" , "Storm, Christian" , "Adler, Michael" , "Sudler, Simon" , "Koch, Stefan" Subject: [PATCH v2 3/5] dpkg: Add support for additional target and host builds Thread-Topic: [PATCH v2 3/5] dpkg: Add support for additional target and host builds Thread-Index: AQHZFJXR6gNPhZ8IDUiND7i3TCsGrw== Date: Tue, 20 Dec 2022 17:09:28 +0000 Message-ID: <20221220170921.1718503-4-stefan-koch@siemens.com> References: <20221220170921.1718503-1-stefan-koch@siemens.com> In-Reply-To: <20221220170921.1718503-1-stefan-koch@siemens.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.30.2 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM9PR10MB4959:EE_|GV1PR10MB6146:EE_ x-ms-office365-filtering-correlation-id: 7ea22463-75dc-4798-a07c-08dae2acf4d5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YkqDHllSSskpaxZS0WA7TdrHyPxuS0499/1RlDsTc1Dy0rzVsUBqfIiHAm4f0xg60sTg/IJIWWcjTqTKPyxSOskqaH5fH/f9QyHzptpVy4S1uzpb/gWFkBhPlJPTW4PstJCGkhPh+UqRVS/r6TvyFU1/NI11ttqQ9oVM/M/KT81e4sZtq1PMzhdASagNYPpY8m6Nx3o4yv4XP/jB4iu9lsAwYaJyoi/nur6HN/ZS3y8St4zbM6p870V9Njl1OfsyUW9vBnA4l+wqiaOBJ+f5jIRnYFFTF2M41n+HwcsPyj4SV/sJa4qP3Uds4Bc8Jw8P2qehTNOLVpH1Wda/AUzOP9z0UD4R02zXZBAFYxYOs/eU3QH3oST0HvZ1TYQbXCoOKbpvMUbUR018tW6cmj15r1xzGXL+s5ly4RAxPszB2rYrPuK+58fuBXPRhMHIhLTYnpcbyUgTVtrZzdr1N1YD45KqsWqKXKEjFFHU0BiEw3GTUNHjU+WPykNWDM4FuvOXBNyQZWNVgk7qB5Fb6NpEH8e/g/Yxl1zeOEpEJp37bj9YeW6Wd1QBR8OKlkGrDiI+nJ/QxU5bn+VzimQvbbbT1kHQTA0w3xHxl3mW/B+ZI5cStgbtqVYtM+rmu8TPBVjrfHjbwiDAVJ0y2b+rxfMsp40JXn3282/zaErZyXIduQlyEOsvP3RNjQaSnYO4DdYylrwBZlZOX/Bf2PvLL7H/ag== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR10MB4959.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(396003)(39860400002)(346002)(136003)(376002)(451199015)(1076003)(6512007)(186003)(26005)(478600001)(6506007)(8936002)(38070700005)(2616005)(2906002)(107886003)(71200400001)(38100700002)(82960400001)(122000001)(6486002)(36756003)(5660300002)(83380400001)(316002)(54906003)(6916009)(66476007)(66446008)(66946007)(66556008)(41300700001)(4326008)(76116006)(91956017)(64756008)(8676002)(86362001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?VT6rOzJ1ezCEA1+0/usvyCf?= =?iso-8859-1?q?d3UmYHwDeihVpdBHbioxQ/gaPyiMiX0l4u/WQtWNqkOlTJu5XQJ09wnc4TMn?= =?iso-8859-1?q?kjaHUwSXKdWktkCqyTnL06CLYt81RjNW5HA0vrCj35N7/zpZLQYbJkHbhK0C?= =?iso-8859-1?q?C+WKh+iyAH2WT6BVU8/eJnpibDmtt9aV32T7G5j4ijUnxaFhvdcDiMl5HeEM?= =?iso-8859-1?q?3ZCxyX0bf0IHUlSS01BJN6kqZw39FOIOw2vijtIrat6oEnzFTxU5/nz9w5Nc?= =?iso-8859-1?q?5slDiWLdAJAj9lcQFGEFXU98AWZPuHfdLk20P9AKjcidjbstxY6Ex+4p0Lcf?= =?iso-8859-1?q?jiI1pBgT6DVhtg78sxy+s7tf48U1AZJ9Adz3jsblfsz0almXBEHKZoh3iV3K?= =?iso-8859-1?q?0BpL+zBezMt9kPofSX6r4GIhHldq2gy7Aix4BKx6J6Gn9Y9yKFbcFgzto55D?= =?iso-8859-1?q?1IEukrEpL/927WOKj+tINmw6h1tz2QU228D9XhYQ08bFQmgc1SC/4HQ43cTz?= =?iso-8859-1?q?6L9OvdzOTMFWvFAHmRVAWc1GWM3kj7rsBg0bIG18WARq8ZaFGtqI2Zxpb2mu?= =?iso-8859-1?q?DNTpjTLoK8m+W9qQQaDCvmoloB/KWmNdEfqfzMfdPyjxrdOPAGylBtHSZHmb?= =?iso-8859-1?q?snh0JAs2RXaHqz6xQxhGI2HaKTjbtDznm7DBzhUDNlyXxJf328LclDhJA8j9?= =?iso-8859-1?q?VE5zjOAs24FJoRi2FXoH1jdV7dfuL80ZmS236hGzMvHRWBbfq244AMMBRTwk?= =?iso-8859-1?q?gW6GprvmSn0V0hgujqmbvcizSz9FCAY5EmuQV4Z+TOrXNYYuuPGzL9Yorupg?= =?iso-8859-1?q?b2xeLj3yPmszmP/+E0O/mb67iBsK6andyGUn/gRbrO7y8xZpy4M1jP01qySq?= =?iso-8859-1?q?4lNNg0EKhtW+rRC8upPPPpSQEO5b+lqjp37k5YpA6q5h5alecBUyzADNVQtg?= =?iso-8859-1?q?mvPuz9Q9utLMIbhrQUlKn9+YsgnrRvPcrDRKgH5GM3C8vw6g7REzChaI5GqF?= =?iso-8859-1?q?pKWW41Uv6rFkPRdT95np4RwkYf6wB/kr0ZhkINVdowbSQ98IYW+RvRzHvTWH?= =?iso-8859-1?q?8o2mCCqeyqWLPq885s1Ojw9s7IGMKKtlD0cQJEWX1Z1md7dqYeCTkUC731xS?= =?iso-8859-1?q?P2Ig8m9EklN236WCEaN/1c4UeEztMVBZQ+BFcnM/FatMFV1OmZG5Mbvh+J8n?= =?iso-8859-1?q?bXJtWXcoKPV+BL84aMzST91/yu7W9tW0GtXcT6nyGhWN4i5WJ0IVoxQIEPS8?= =?iso-8859-1?q?JYQ0PLTmxUrezpHx3Sjv65H8ABCgXRAhXqJmjAtOa5u5ZxrC+JD1MCWR5ZKz?= =?iso-8859-1?q?lsTWIigOAdW9JJi76lKXLiPA6m6Z8vrVHo2lv7+iQszQ7N9SI1tWO4a9XkY7?= =?iso-8859-1?q?Zt4BTKH+gHP11yrfMrN4gGg0SMC3p+v8LdJ5SoEhQKu6a1IF5zoJOiL+XsXq?= =?iso-8859-1?q?OilFd1i6MhgaxWdjaHCZT+DPIQXnmOY+0I3n/X5fd3eZtsooICbs+L3OS6WW?= =?iso-8859-1?q?DFpWIdOM/ESdscnKa3CXm4wmR8cMKWeO619xTKN/z6uW7Fy3QzMnv0eWouuJ?= =?iso-8859-1?q?exPk0dH4ZICFs6qL3VIl0PQtRRhBbWXpf8vgMbgjwBF49hRvbP3gbnWf9bKm?= =?iso-8859-1?q?Ngwfb9V6Mdt9WQzKOv3hgGHJ9WITnjkszzxdv8A=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM9PR10MB4959.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 7ea22463-75dc-4798-a07c-08dae2acf4d5 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2022 17:09:29.1084 (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: yoeanM2jgMqurLBbs2f0P8qTYX/AyjIr7jV85hIClHWnmhnkRwpxcE+pbN3sfSUuNZrpWkiTdhzMxDholR9jxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR10MB6146 X-Original-Sender: stefan-koch@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=V5UqciaB; 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 stefan-koch@siemens.com designates 40.107.21.55 as permitted sender) smtp.mailfrom=stefan-koch@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com 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=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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?= By appending ISAR_BUILDS with "target" or "host" it's possible to run additional target or host builds. There are no "target" and "host" builds enabled by default. When both build modes are enabled then for a cross build a kbuild package for the target and a kbuild package for the host will be created. When "host" build is not enabled instead of the kbuild a kbuild-cross package for the host is generated. Supported modes for ISAR_BUILDS: default: default build (e.g. generic ISAR non-cross or cross build) target: run target architecture build (non-cross, using QEMU) host: run host architecture build Signed-off-by: Stefan Koch --- meta/classes/dpkg-base.bbclass | 51 ++++++++++++++++++++++++++++++---- meta/classes/dpkg.bbclass | 2 +- 2 files changed, 46 insertions(+), 7 deletions(-) diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass index 260aa73..3108fee 100644 --- a/meta/classes/dpkg-base.bbclass +++ b/meta/classes/dpkg-base.bbclass @@ -228,7 +228,7 @@ dpkg_runbuild() { def isar_deb_build_profiles(d): deb_build_profiles = d.getVar('DEB_BUILD_PROFILES', True) - if d.getVar('ISAR_CROSS_COMPILE', True) == "1": + if d.getVar('ISAR_CROSS_COMPILE', True) == "1" and not "targetbuild" in d.getVar('DEB_BUILD_PROFILES', True): deb_build_profiles += ' cross' return deb_build_profiles.strip() @@ -242,12 +242,51 @@ def isar_export_build_settings(d): os.environ['DEB_BUILD_OPTIONS'] = isar_deb_build_options(d) os.environ['DEB_BUILD_PROFILES'] = isar_deb_build_profiles(d) +# By default only one dpkg build is executed +# With enabled ISAR_CROSS_COMPILE and different HOST_ARCH from DISTRO_ARCH +# it's possible to run additional target or host builds. +# These can requested by appending the following strings (seperated by space): +# target: run target architecture build (non-cross, using QEMU) +# host: run host architecture build +# Supported build modes for ISAR_BUILDS: default target host +ISAR_BUILDS ?= "default" + python do_dpkg_build() { - bb.build.exec_func('schroot_create_configs', d) - try: - bb.build.exec_func("dpkg_runbuild", d) - finally: - bb.build.exec_func('schroot_delete_configs', d) + # store default build values for restoring + deb_profiles = d.getVar('DEB_BUILD_PROFILES', True) + schroot_dir = d.getVar('SCHROOT_DIR', True) + + for build in d.getVar('ISAR_BUILDS', True).split(" "): + runbuild = False + + # set default build values + d.setVar('DEB_BUILD_PROFILES', deb_profiles) + d.setVar('SCHROOT_DIR', schroot_dir) + d.setVar('SBUILD_BUILD', d.getVar('SBUILD_HOST_ARCH', True)) + d.setVar('SBUILD_HOST', d.getVar('PACKAGE_ARCH', True)) + + if build == "default": + runbuild = True + elif d.getVar('ISAR_CROSS_COMPILE', True) == "1" and d.getVar('HOST_ARCH', True) != d.getVar('DISTRO_ARCH', True): + if build == "target": + d.appendVar('DEB_BUILD_PROFILES', ' targetbuild') + d.setVar('SCHROOT_DIR', d.getVar('SCHROOT_TARGET_DIR', True)) + d.setVar('SBUILD_BUILD', d.getVar('PACKAGE_ARCH', True)) + runbuild = True + elif build == "host": + d.appendVar('DEB_BUILD_PROFILES', ' hostbuild') + d.setVar('SCHROOT_DIR', d.getVar('SCHROOT_HOST_DIR', True)) + d.setVar('SBUILD_BUILD', d.getVar('HOST_ARCH', True)) + d.setVar('SBUILD_HOST', d.getVar('HOST_ARCH', True)) + runbuild = True + + # execute build + if runbuild: + bb.build.exec_func('schroot_create_configs', d) + try: + bb.build.exec_func("dpkg_runbuild", d) + finally: + bb.build.exec_func('schroot_delete_configs', d) } addtask dpkg_build diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass index 7822b14..70a1c6a 100644 --- a/meta/classes/dpkg.bbclass +++ b/meta/classes/dpkg.bbclass @@ -102,7 +102,7 @@ dpkg_runbuild() { DSC_FILE=$(find ${WORKDIR} -name "${DEB_SOURCE_NAME}*.dsc" -print) sbuild -A -n -c ${SBUILD_CHROOT} --extra-repository="${ISAR_APT_REPO}" \ - --host=${PACKAGE_ARCH} --build=${SBUILD_HOST_ARCH} ${profiles} \ + --host=${SBUILD_HOST} --build=${SBUILD_BUILD} ${profiles} \ --no-run-lintian --no-run-piuparts --no-run-autopkgtest --resolve-alternatives \ --no-apt-update \ --chroot-setup-commands="echo \"Package: *\nPin: release n=${DEBDISTRONAME}\nPin-Priority: 1000\" > /etc/apt/preferences.d/isar-apt" \