From patchwork Fri Oct 4 13:11:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "cedric.hombourger@siemens.com" X-Patchwork-Id: 3848 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 04 Oct 2024 15:12:01 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-pg1-f183.google.com (mail-pg1-f183.google.com [209.85.215.183]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 494DBw3M032116 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 15:11:59 +0200 Received: by mail-pg1-f183.google.com with SMTP id 41be03b00d2f7-6507e2f0615sf1678680a12.1 for ; Fri, 04 Oct 2024 06:11:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728047512; cv=pass; d=google.com; s=arc-20240605; b=dZ9ZnHYqbgU0+RZtAq8VEgv5m6tbUKuuKdZ8XbRwkRINhyiLhm0ib4f/nfjuHkxOBo DZPrBOzcVADpwmuO0IBdI1F09LWRsTrQ/JgCNuHsguHy6SmwTxdZGJZF9t3j1lG2XkFL BDHRo25Alw7u4tI4yPkUHI3W3Xta7eVt7Z35lUiDocTAxCuubVGIwstx3/koa/xTrWPm bSLWaY8g/k6BV87zk46RpovxXsIruqh0lw1lMmZNNnxpJRXNPX/JVxutP0PVaXq3pbvI kFOy4+ZlQCme7ODRxqlKDmh7lyRKWZtew9yh+LD/qB1jnDGjPZP1BtsG7m5qVavtZRI/ 0a5g== ARC-Message-Signature: i=2; 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:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bfVNut4D1faue2mVkbhoy96Io8ASQdIs1xPwSnjdI80=; fh=TIAxIwz6XlA1pexBTyvDahoQqI2K3ohCMkXtrETNUMc=; b=TZjtgthdkGi9G7mVIt1jYDx9Qrzj1l+TTVHsguW+hDNpx5VhWz+UVBzixuy1bBW2bY zQ8kMHjBoJWZjBWw/azgeL2AdqN5AxbCQttBExJWySdUQAbf2uL1G3CE1j7jmu2+95WN sDWf+DFjaVwvSwGetFzUx8ESz6Eqf6xpyNhgRgZNd1oksfewZsbbJT2BJPUQM5eQZmhq H6CaRomoB2vufZmibKlcBntA52Xu+SNM+wDvjPvzYCGzl0yhXwI5T2dNaY6/Ews5tkvz jayVeK8cpBxpUM11D/oZEj/FbtizkDmhXe+Ud3lA5G4or31eFUM70efFv/hsk7lskPDa xVNA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=oHwv1MhP; spf=pass (google.com: domain of fm-1212295-20241004131148f4d0e61de51af20fd8-xxropk@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-1212295-20241004131148f4d0e61de51af20fd8-XxrOpk@rts-flowmailer.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=1728047512; x=1728652312; 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:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=bfVNut4D1faue2mVkbhoy96Io8ASQdIs1xPwSnjdI80=; b=L/9FXC40A9+egM8LekSpgOb7Ycx40qvVkMeqs+WlLqAXzXByZUMhMyIk8pJxiW8ZTu hn7rlmPKnYv54a/mVAoJMsn9y85o8WujWoflTfPTrAuHzxCEchdOjauY3x/j469DVGsG Qkp6pRuqFIpDR5HJXofMLXnkwqTOSqOgOOs9hjmHjhg1F956szHrSsxWwQyJFRZex35L VISnSSZnzgqc+IS1fyXWyNlIpHOzIhntKafozMonSlkBHD2Y2HubYAoZ6UEuvBrWHv3n gakhYI3Ag6O/aHvupcuKKrAfnMgXjobo4JdhCpRnJ+dhHkmkbBbTlFjFlYnaLBVWiGAJ tdZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728047512; x=1728652312; 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:feedback-id :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=bfVNut4D1faue2mVkbhoy96Io8ASQdIs1xPwSnjdI80=; b=GRCYfL1TnjVfbdYS0aaVyD9aBcFH5H5T9ylNJQ8yvYdQGAfVbx9yuOXODwVCLYHxgE Acztq5cO4sI20wp6BDuKEAb5a3P1lZ7b+n4ujHLpDNIyU/7W7233ae6OoNa8FbAs6o3b xhZVUnqpkESIHEWZRGwvIKIOskIH1EWgSalb6rBjlSVlRq4mTWUqGHfaRGVfYfkYm3jG CsVYq7qro6ASW4jPqL0P1GtK3UIgkrRoOLJCfFpT8B+ydFfuICXjZGKSMMJD4fyl926u VMKaxFmhKsa2SdeA1d0P8THFi90SGkfRSKsTxMVrllrsWX9boa9P3U93kpFJNJkfFz1Z AVRA== X-Forwarded-Encrypted: i=2; AJvYcCVLjozE8agzchhw79/+jDkNGz99o12YRJtv5SC5s/QXb99ke/A7e99EtPYMR/kcVdRpWpBVRls=@isar-build.org X-Gm-Message-State: AOJu0YyAJe7gIc6TfidsYBLwYhchesKMcxrNc98E+bT3xHL/6SdShzCO KufYaiPkbpXCu039aWf4hcAWDtj3HOdgHmRWkVj9wuo6NmwikkRO X-Google-Smtp-Source: AGHT+IHUOmDSlY1vMRYDJSpYlikGWTdFAkJLy7jQ7xJohFG1oPXA0rwYs7bYi67Dy1CO0yA6DON4+Q== X-Received: by 2002:a05:6a20:bb0f:b0:1d2:e90a:f4ae with SMTP id adf61e73a8af0-1d6dfabae0cmr3219256637.33.1728047512107; Fri, 04 Oct 2024 06:11:52 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6a00:a8f:b0:714:3a05:75cc with SMTP id d2e1a72fcca58-71dd5d61ce0ls1793543b3a.2.-pod-prod-09-us; Fri, 04 Oct 2024 06:11:51 -0700 (PDT) X-Received: by 2002:a17:902:ecd0:b0:20b:7e0d:8f with SMTP id d9443c01a7336-20bfde57b6dmr38878935ad.3.1728047511073; Fri, 04 Oct 2024 06:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728047511; cv=none; d=google.com; s=arc-20240605; b=Gj6SaeN1IDkoSM37bTCwPLDGHfe26BfPjc58n6Ef3zhr3Ugi26412eTMITddozmaqJ 4w4MkS16BnL7Lbem7YJs79WS5gQYcIAitQRBfeSLZBAj60fsaE6f6ePVwL534T9I4yum y9Ejtupkbzg87L3QnVl1E22Asl2Q2axd5uabYBq0xLJiEZFG6RraIYm8n7n1ZAqbxCA1 aZt8sRtuaJc/45VOID59Pur5WYPeTqe0nMJ02RYHz2vVRNMRjxw0WutmUCEOzK8RRm+8 tWGZwqBwCeyCRy1ymco+mv2Qi0DdaoLgsvcEceo0SR7KAVaVXwuOI2G7jWR4xYd0wJFZ 2sBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=N6Sa7Y+h1OPqrkXL4X5wyxFXlbfoWIto0V4cv7wn0JI=; fh=1z37pEVhqwMLlkT4FDzOga7XBsM6Rzv6sXOq0pipxqo=; b=GwWxr2A23h9bSUpvbddpXhpI/vUmH19kqfCF+QMbMgupma7CH8FLwmgi4ngmDKx/3m erdyd0rJC3e7YVYv/NO+9nIo9U46UhL/f1BmNnmpEd2uRQ3GLN64DSvrGHuwiazbnO0C HTUthd3Pm+GDC0UwuervfPH/PqheHuJEFGa6xM9qR5AkUdjOx6xmwBuiEw5u0K0loJSe AvZVhnHMZP3cF0KjQ1uS4NICMMYX1TzFzV1RHk3+JmJsysGgAiDxz9+WiUSS0d13/EoX JuyWYBoZukbiqiKvmXSRQmLXkjEY9GF8wADha8BrMLx7D7u6IGNf6qovDLlAdQ6fWE0h jCUg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=oHwv1MhP; spf=pass (google.com: domain of fm-1212295-20241004131148f4d0e61de51af20fd8-xxropk@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-1212295-20241004131148f4d0e61de51af20fd8-XxrOpk@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net. [185.136.64.227]) by gmr-mx.google.com with ESMTPS id d9443c01a7336-20be9cb4b70si1482625ad.12.2024.10.04.06.11.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2024 06:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1212295-20241004131148f4d0e61de51af20fd8-xxropk@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) client-ip=185.136.64.227; Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 20241004131148f4d0e61de51af20fd8 for ; Fri, 04 Oct 2024 15:11:48 +0200 X-Patchwork-Original-From: "'Cedric Hombourger' via isar-users" From: "cedric.hombourger@siemens.com" To: isar-users@googlegroups.com Cc: Cedric Hombourger Subject: [PATCH 1/3] dpkg-raw: use weak assignments for DPKG_ARCH and DEBIAN_MULTI_ARCH Date: Fri, 4 Oct 2024 15:11:21 +0200 Message-Id: <20241004131124.163444-1-cedric.hombourger@siemens.com> In-Reply-To: <1ecf87ea-beb3-4e5c-bc1e-3f4b404b5421@siemens.com> References: <1ecf87ea-beb3-4e5c-bc1e-3f4b404b5421@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1212295:519-21489:flowmailer X-Original-Sender: cedric.hombourger@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=oHwv1MhP; spf=pass (google.com: domain of fm-1212295-20241004131148f4d0e61de51af20fd8-xxropk@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-1212295-20241004131148f4d0e61de51af20fd8-XxrOpk@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Cedric Hombourger Reply-To: Cedric Hombourger 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?= Fixes: 0816ae6e Signed-off-by: Cedric Hombourger --- meta/classes/dpkg-raw.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/dpkg-raw.bbclass b/meta/classes/dpkg-raw.bbclass index ac70d5cc..a7bf204a 100644 --- a/meta/classes/dpkg-raw.bbclass +++ b/meta/classes/dpkg-raw.bbclass @@ -7,9 +7,9 @@ inherit dpkg D = "${WORKDIR}/image" -# Create a binary-indep package -DPKG_ARCH = "all" -DEBIAN_MULTI_ARCH = "${@ 'foreign' if '${DPKG_ARCH}' == 'all' else 'no' }" +# Default to creating a binary-indep package +DPKG_ARCH ??= "all" +DEBIAN_MULTI_ARCH ??= "${@ 'foreign' if '${DPKG_ARCH}' == 'all' else 'no' }" # Populate folder that will be picked up as package do_install() {