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() { From patchwork Fri Oct 4 13:11:22 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: 3846 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:11:59 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-il1-f188.google.com (mail-il1-f188.google.com [209.85.166.188]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 494DBvJ6032115 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 15:11:58 +0200 Received: by mail-il1-f188.google.com with SMTP id e9e14a558f8ab-3a098400cdbsf1005945ab.3 for ; Fri, 04 Oct 2024 06:11:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728047512; cv=pass; d=google.com; s=arc-20240605; b=MnJ+G31dDDs68pX/EEgEC9kDHOz/ATKFfSR+yRzW5qR67SenSTcs6Xe3se55ADlCwQ FY3V+NjcRNUOobGFFYRyuUm7iGlrnE/curNw43R5qpQbLv7Qs9cc0Epk2nc7K3KPaiEA 4jw40SaOGHZOw2eUjYhfBhIpIh9l/o+rtHF4iYrBxjfKEMMmfpS60En9FtAXRtTYrDx1 7qVEzg+ZGIQSjfsw3w+Re6su8BMwYhY+HSFxx9Qn459//za9D6W2V9nALjjFI7sBa17V Wk9UEeqIyEe6Q1z5UQizBPt27acwmwXka2RgOQVbBSKQPX+64bUvUcGw9UdsiRPjH9hr 8iEg== 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=1U3hdJhy+6bfcIndpIiSqneL5zk2kOqFWUFjqYndY4Q=; fh=N32/p8nMmhhZ0QFFJpqqwvoEb2UbBwM3jaKXksWIcj0=; b=JsfGxkz4iMUFWJ73CJ9Znf+Y0qZQ845PcAGFQ/Y34tlgYrTcSuuJgDFsdF8bD2Pkz+ 9elCFOKpppvBURQsd42RbzYAqUBUp5Rw2/eegDIXetfILKWZsLS5FH9WMUZnY2SMKQMS 1ZySanl+4oJ09wKQiGv6B07KXP9E7opERM92KIgIexqww9AuZ3gP+zxWuc9NsvFgzhjL oi0bxcegfXqu7kgr9Rr2k9NjBIf5XqCatSTR47HNvReIGRLmrq4zhhpRlwbKtgYFP07b sHZ45VE51xm+pIQskFrDRnoxxvdYoycJvSWWo35sqSEZqvaPPAyD6ccqE9nZFE+KXkD0 2TyA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=nGNodC6N; spf=pass (google.com: domain of fm-1212295-202410041311484fae3f3f2d88d50fc0-z73hhl@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1212295-202410041311484fae3f3f2d88d50fc0-Z73hHL@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=1U3hdJhy+6bfcIndpIiSqneL5zk2kOqFWUFjqYndY4Q=; b=IwYJlf5s4dr9ElHD6vRieGBlnpeKXIJPjNviPTOjSS8KXXp/jB/EuotKqcnxuJCOdO X2IlDqywNsCixtpPb8hij1IEgbVxbD22AyaDsG7FZi09M5xsDkhxsniq72w7qt2PewqK 3r4Wv2vxSzHfG9Zi6epQBefZQluJzKTDFUxBS+cwcrIpGLo1LdSsxjasFOUBkQr9rc0f zw9KFXOtGlEB59MkLyNGYQqykDJGjZtUld2qmKiViIEoLi0Z9mSx5STnAnZqRrs87R2W swXKAoWsiMTWCNSyAjiOx1Ey16Y5eJXlc/KKQFzZaLXD0/trVRlGt6OCQqyGt+BF3HZ6 JGCg== 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=1U3hdJhy+6bfcIndpIiSqneL5zk2kOqFWUFjqYndY4Q=; b=l6/X/QUhcqvsudIVk2byaNSDF3ZLHuo+yULzjFqFnxI+BK4ER+8gvzo5Jo8bCro5V5 fOeB6DsjbPZ/hZMa7NWniimbp5pNBlHmNzYFCqJnNCAz1ouoNghAHznx/0NMRV1k0/Lw 55/eao5X10DjoV6XYeFEZptx6vdkEajICczJ1abSJhCgauWoM2szHpIU2fe+gAocvNau fAu/eJszgxI5twjhyc3AcwUq2+EW8PzAvPi6dtraGuKtbWDHvuOMmJXml8yQhMjSb64d weUwsCoPONmXL3m1Z8gblk6WyC60GwYRrNpNnunWJ/gUiYSf9Rp5ulsZKG087/aNVSE4 IbPg== X-Forwarded-Encrypted: i=2; AJvYcCUizZRWIMJZXtDa0bJQvZ2aXC0QNkIpdvF2sXPciBZacgI4+iMnsngK9HBI2M02XkS6FImw7N4=@isar-build.org X-Gm-Message-State: AOJu0YzA3hQPl3hcJeOOErE+veNUjCG65dQZPbMtJVCGxS6UPpRqPSdA o3G5bHACnZS7Njx7dNRxNIiOxOPrImIPuwUGNNqAgtlGeZFkiRHc X-Google-Smtp-Source: AGHT+IGaBgSfJ5Pss07TU3uU0M6q5ffc87jG1F2noyuv5YBFqitpdYItHZ2lpGshRXk2vabtr5pwXw== X-Received: by 2002:a05:6e02:1c23:b0:3a0:8ddb:45da with SMTP id e9e14a558f8ab-3a375986d33mr7401995ab.1.1728047511732; Fri, 04 Oct 2024 06:11:51 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a92:c54d:0:b0:39d:50e8:d14 with SMTP id e9e14a558f8ab-3a36e49dc41ls11297215ab.2.-pod-prod-06-us; Fri, 04 Oct 2024 06:11:51 -0700 (PDT) X-Received: by 2002:a05:6e02:1d0a:b0:3a0:90c7:f1b with SMTP id e9e14a558f8ab-3a375a9dea0mr22803625ab.12.1728047510805; Fri, 04 Oct 2024 06:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728047510; cv=none; d=google.com; s=arc-20240605; b=Ae9/Ok5SznJ0v5qE2yCOzAZ0H3to0sl15YBY3tUjdnW6ntBxCifV8tmF8K+2Dd8tx/ qMhP+ZFRGsOWlXUzQytHy1LPfXSCDsSVSp7eFvkIjqPuNg7zASfxCuRuKZ04De18ixal jZeVhHxTfpciZkolAI7M8u+a+UyofA0G9JHBLZk+3zSx2+KDfs/SmQyJ3GpKLl23/AtE d1pq7av8NPUAe4bScEBM1tmpBY5S/aV88iRdyD+9XHoNxNq55Yf3oMAe+AefIpTwalIK KUSoJxmXLg/fu036PVC1OJdPzKBcrcdyO1L/S/4a9dU/TyiSd2RyN1mMMcxd5Nf9Reih I69w== 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=QGPUGcu8U/U3EyYdA/N/iRMpJ4NdDQtVQS+hUGD0BTY=; fh=1z37pEVhqwMLlkT4FDzOga7XBsM6Rzv6sXOq0pipxqo=; b=CpUeJxy+qmBGzaIQdr2bFpHIoN+5Bgl94jAmthZThTLkKp+YtH3BpHSiPhgQE0Rm41 H4iyHkR/M9hyJvyl6uY54ev6rKVUEECf/J7TR1lAz4+oodn7PUtaD6itZcNVGpn22ELd c7RK0Pd2UytKRqPuPlH6PzlsYMs/xzjPwFtyZqsX1VLrh0D9NvfhgMQOaiUKURbHaeNR aHkzCOOpvhHtYOWJM+UF0lB3kGN7nixtRnx7Lf+rWx5gCDT76gMfg+oYb/oAk4hbIX95 DsDS5Sm0v65IQ41/aGSve2WrKaPHs1xMir7S59A175MpCnSnrcztknn/T9ealqgM3xre ykvw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=nGNodC6N; spf=pass (google.com: domain of fm-1212295-202410041311484fae3f3f2d88d50fc0-z73hhl@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1212295-202410041311484fae3f3f2d88d50fc0-Z73hHL@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net. [185.136.65.225]) by gmr-mx.google.com with ESMTPS id e9e14a558f8ab-3a370892f67si1460145ab.4.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-202410041311484fae3f3f2d88d50fc0-z73hhl@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) client-ip=185.136.65.225; Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 202410041311484fae3f3f2d88d50fc0 for ; Fri, 04 Oct 2024 15:11:49 +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 2/3] multiarch: use "if not" vs "if cond is False" for consistency Date: Fri, 4 Oct 2024 15:11:22 +0200 Message-Id: <20241004131124.163444-2-cedric.hombourger@siemens.com> In-Reply-To: <20241004131124.163444-1-cedric.hombourger@siemens.com> References: <1ecf87ea-beb3-4e5c-bc1e-3f4b404b5421@siemens.com> <20241004131124.163444-1-cedric.hombourger@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=nGNodC6N; spf=pass (google.com: domain of fm-1212295-202410041311484fae3f3f2d88d50fc0-z73hhl@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1212295-202410041311484fae3f3f2d88d50fc0-Z73hHL@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_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?= Fixes: 13ef1d48 Signed-off-by: Cedric Hombourger --- meta/classes/multiarch.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/multiarch.bbclass b/meta/classes/multiarch.bbclass index 9df8eefd..babdfbd4 100644 --- a/meta/classes/multiarch.bbclass +++ b/meta/classes/multiarch.bbclass @@ -29,7 +29,7 @@ python() { d.appendVar('BBCLASSEXTEND', ' compat') # build native separately only when it differs from the target variant - if archIsAll is False and archDiffers: + if not archIsAll and archDiffers: d.appendVar('BBCLASSEXTEND', ' native') else: extend_provides(pn, 'native', d) From patchwork Fri Oct 4 13:11:23 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: 3847 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:00 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-pg1-f187.google.com (mail-pg1-f187.google.com [209.85.215.187]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 494DBwGO032126 (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-f187.google.com with SMTP id 41be03b00d2f7-7d4f9974c64sf1554065a12.1 for ; Fri, 04 Oct 2024 06:11:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728047513; cv=pass; d=google.com; s=arc-20240605; b=e3XqitwLMHghVYoi6ElgBy5E5xgxFE094rWib1kdnbSqfCsOO9Pjh1SlO0rf5hL2Dt vJQA4bDuzz4hwXymFvcFN6wZkeEgtsJnG97AXP74ecIMSid5/STMJyX15VDsSbAYVwE/ 4TDvYkRXX9EHJhoAewVewOPmqkKcjtMRh4qkFwaGWXAA7H5nJkaz+W+6C5/PkWn29+IT 2BoDGtxELZJUNAglgbO/VsUN2z7RqtHTW+v2IZ5OVRiJQS9BE92e56HgMBsYaI7zahlZ 5XCLxG7TvhyyIQQ8mjbq0HSGvuktr5VeRInlNl4PoE16iJRnjxOFOWk2M/Ngk8WmYNjR OhQA== 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=1ElBE3WifWggmGPCB2flPZarcTt+YEZeSGGVa4a78SY=; fh=4zH9kFf32Fl2mHQtCOKeOXaiavORkzM8xDuXnf3rVxM=; b=F/Sml8lianG1LI8X2e8mQ1fB+MzWupGLG8Ad3ZVlvwL/eek2jFkU0Q9s6ohoBzwmRa L81DNGK8fxzOmDS3Pf6UIu6upWTL81jlAKyCfUTIi4y7EMbxAPtmTa9a9Qxo4rbPh12E L19QNQjtwllPURqXzvWW+WxWBxsOvdl1zEJBxtVTRmmzP2xUJPcjblJ25ba/OUnO92Z6 LvAhniCp9qMSTgy3dVtfI7aqXV3OfEkFQy8RFHP8plW4up3pDuv1Czt8YqOZ4rDceptI AG9g/ul1FztGWQVkqy510OO+9k+C1VzUd5MgdyhOdiFToDk1oWffFpVYr56hW5vk1Ivi a+Iw==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=RfMv6IXl; spf=pass (google.com: domain of fm-1212295-20241004131149cae6a1e207e45cc332-1aowek@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-1212295-20241004131149cae6a1e207e45cc332-1AOweK@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=1728047513; x=1728652313; 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=1ElBE3WifWggmGPCB2flPZarcTt+YEZeSGGVa4a78SY=; b=vBWJq9B4x+Tait2AB68m1b2I3Y/l7iaxIXtURVBFHKTwiZ1qw6dMFpkoxdtgmjwkMS aXpM/e+/7KlI6O2I3VdVAo9D60pgavT1xhQ29ijZma3n0ig4sYOzz6qVu4V0CEKB5n8f zVpT1JF8+NSW5P0mYGLtiUUFce7FpbldrInHq9KJ7VvR8En8LVYpQlj2etZVzVAStZXO swzl6DIzc5Wp1qzYfQR4voP2gNGnrf2iWhST03ueNZrzVsmonqOvO+CsuSqPn/x9nUBy lXtf78/KhqlYC9nNcXD6ABpkFcTS1Dedq7QEvwKQmwAUvYQCtKGVULyanbZCPFjtXPyb JxVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728047513; x=1728652313; 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=1ElBE3WifWggmGPCB2flPZarcTt+YEZeSGGVa4a78SY=; b=JDXzgHc1acas9TxhuBtfdczr1aQqr8Jc0lHGjAe7uaYyVIVMJExZpfVfPP0BVc/2AR TC2iNzAWPW/1wTidIEN5cYiqIn4RN1NSHLIK1t1hkha15lpIAKj7Uf80HWKafUt+gadA 6tpoy1CXSEU2dp6q0R+sW57hMVj1E1CL0vMSqRyholt+v7Khd0JbjwdZsn1JAz9BLQOj 73Jm8kAwgjLPgK++hpglXDVfauzqHoAFAy1ak9S38iTkIZmAkYBigCjME+Zm4OAZ8BKp PU9k/KMGOwZ6biXZowqegK0HD6ulwMFAqtNDpkOXN4V+pnuUhqcHDACVUzKzJO+Q3ain F6WA== X-Forwarded-Encrypted: i=2; AJvYcCWKTORFYowPJSXwFQdEqBE2GDze+aFpNRtieTlP1vToXwVzG2flYmhkHvTQEn2+Czea9tZBld8=@isar-build.org X-Gm-Message-State: AOJu0Yycemu0fsQzzR82PX8w3yvB8OtGH+ZhU6K6CkhTYp4UDM04qZWo ZPA7AkoisBfT9p90DA6k6Ddzw73B3vzg7NHk0lueV9r10pUlboad X-Google-Smtp-Source: AGHT+IHKG42Rw4dON2Uh9GlIhI62KBNSGay6F9EROMMfoAPbFyYPFpGzZA66StJ+jOYhK2jNVUP0Cg== X-Received: by 2002:a17:90a:458b:b0:2d3:d09a:630e with SMTP id 98e67ed59e1d1-2e1e6212e23mr3550547a91.1.1728047512969; Fri, 04 Oct 2024 06:11:52 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90a:70ce:b0:2e1:a4a3:bf89 with SMTP id 98e67ed59e1d1-2e1b35ec741ls1454296a91.0.-pod-prod-07-us; Fri, 04 Oct 2024 06:11:52 -0700 (PDT) X-Received: by 2002:a17:90b:1185:b0:2d3:d066:f58b with SMTP id 98e67ed59e1d1-2e1e62259c0mr3278953a91.12.1728047511781; 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=fP1vjgh6boJHusbMKdbfzi1cg5XUlKjVu1pxG5GRvYSZAJsxarrIfeTYrpR55QUadn oIkoqt09SQeoihVSFva7eTHuTkWX26Wt4uRqEKuGXSuyWBXw4iwD0ugCdtYQQr5lIhi8 xAsGGp+WZL42afnkzL3RHeY+3PVgUwXxXwhNrzAkokJjgIvDkt7HVhhoHssjiTgIMepb ZuvIpWbEsiff8TZ4qKntbNqPPeZbO5pBMjN5603h+i4nJEAlVgjUSDXFNpqhk/HIqsrJ e7KktHsaYGBRM9rxT2aWM8rdEQsGriF5HFTOUNt3VAgewpz84GZ2Bc9HAplfBlt4gsqx rzfQ== 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=GV0uUjoGB8fDUcWBdwJSV/71yzVatglXtw7mZk1a4pk=; fh=1z37pEVhqwMLlkT4FDzOga7XBsM6Rzv6sXOq0pipxqo=; b=HVvojd2QB70A/R4lAzTGhvBoxEcXgK5id1Bk7ArAn3p0bAJleHq+L71ycVQQWqRnCr 2kPg58yTKh+MoSaMBbxX6FCFSxWoAa4dM6MrJtALjD2kfDbAwepj/v8QUp4dtasOq7bS qSY+MXU0MVYtFfSpzA8UNoyCrfQHNGirrW06Xp2dwOIHXTQ2G25uZUMEDd+AV9pV1xzd pLKNFSdHk4hX3q3HK+j3LX3iaLTNABUPGFMVWM9GSkJthCogzJyjMbIoPSfSm2xePNuF SSaFrVKbrXshCmBx3LriATQYXDmaK5b6Xj/kh5Q8sGq9GzWWZwFcY5TwzsxfaM5EsKS7 hxbA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=RfMv6IXl; spf=pass (google.com: domain of fm-1212295-20241004131149cae6a1e207e45cc332-1aowek@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-1212295-20241004131149cae6a1e207e45cc332-1AOweK@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-228.siemens.flowmailer.net (mta-65-228.siemens.flowmailer.net. [185.136.65.228]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-2e1e60c51f3si75571a91.0.2024.10.04.06.11.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2024 06:11:51 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1212295-20241004131149cae6a1e207e45cc332-1aowek@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) client-ip=185.136.65.228; Received: by mta-65-228.siemens.flowmailer.net with ESMTPSA id 20241004131149cae6a1e207e45cc332 for ; Fri, 04 Oct 2024 15:11:49 +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 3/3] RECIPE-API-CHANGELOG.md: clarify scope of recent multiarch/dpkg-arch changes Date: Fri, 4 Oct 2024 15:11:23 +0200 Message-Id: <20241004131124.163444-3-cedric.hombourger@siemens.com> In-Reply-To: <20241004131124.163444-1-cedric.hombourger@siemens.com> References: <1ecf87ea-beb3-4e5c-bc1e-3f4b404b5421@siemens.com> <20241004131124.163444-1-cedric.hombourger@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=RfMv6IXl; spf=pass (google.com: domain of fm-1212295-20241004131149cae6a1e207e45cc332-1aowek@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-1212295-20241004131149cae6a1e207e45cc332-1AOweK@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?= Signed-off-by: Cedric Hombourger --- RECIPE-API-CHANGELOG.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md index 57b2205a..8c1e8fc8 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -649,10 +649,14 @@ HEADERS_INSTALL_EXTRA += "nvidia" ### Architecture for dpkg-raw packages -The intent of the dpkg-raw class is to easily package configuration and data -files into a Debian package. Packages to be compiled should really use other -dpkg classes where support for cross-compilation and multiarch is provided -and tested. `DPKG_ARCH` is now set to `all` for `dpkg-raw` recipes. +The primary use-case of the dpkg-raw class is to easily package configuration +and data files into a Debian package: the target architecture will now default +to "all". It may also be used to package binaries that were built outside of +Isar: such recipes may still override `DPKG_ARCH` to `"any"`. This change fixes an issue where a `dpkg` package is built for `-compat` or -`-native` and `DEPENDS` on a `dpkg-raw` package. +`-native` and `DEPENDS` on a `dpkg-raw` package with `DPKG_ARCH` set to `"all"`. +Some issues remain with `dpkg-raw` packages: Isar will advertise -native and +-compat variants even though such recipes can only produce packages for +`${DISTRO_ARCH}` or `"all"`. That corner case needs to be further discussed +and will require further changes.