From patchwork Fri Oct 4 14:17:29 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: 3849 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 16:18:07 +0200 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 494EI5Pv032639 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 16:18:06 +0200 Received: by mail-qt1-f187.google.com with SMTP id d75a77b69052e-45856a29545sf41527231cf.3 for ; Fri, 04 Oct 2024 07:18:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728051480; cv=pass; d=google.com; s=arc-20240605; b=VS43jYLpPKqVBqYCHisoMBE3x39GbfNZvAwhoW/l/sTjtbc7tbgi4JtBqXvPorlnoU EtJFx7ay/i7ntRZAbADH2PNjVBe4bGsCDrIiTfQ2dlAtytIZ3PiXNkj2kEhH+azDqRxH f/yeeNo1zxMANA4l7lHJzKV5+VK4tPNG20JH2u9Pf3p3VDKJB9KlZ9cv8u6umyqHZswU iahAt0uBkzz1diqAisToXQ9ch7dQTjA/ydMo/78eoPB43T/Ail9/TBKk0Ksybnf98ySR gv3IWMiGG63sZxO0oN2s0PUT0VioyIVTFl3Yc6/Zzw072eEds+gvt0wSsxbzmsfzLN5o KKnA== 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=i9iZFyG9j8Me07QfluQ/NKtlxn6kjRHFjPZZms+uEnk=; fh=BZJrPfp0MoADt1UCt8Aw2+2FOsfBA6oRO9REIUumvRo=; b=U67yuNSMLMOcjGQaODIO6z0mmqB0XH5aoW1rTSm0R+1JztiE9rQlAush5pEHLGTJKf /SbVQJEhUnZkEBYUMAZ6aZ5NIBouc56LUuLDYswOXtUQK2zioBcY8YF1TXKpyPSnzVlc 1a4pRzS1Eelb/1m44eGZzE5enSEgOTCI90MmvpVMslRHDPuYKZQ2cjcHPnOAK7lPj5wB mTCCfcvCgNlNEmXxNrTVMFYBPNjNkzZ8+XfVvQzmnQKvike9tATPNxQe2l3nQcv7sBqQ E7mrEgoqZzzioWSQYjt8NVYBg/uSXf/9F0lukrDjzn+9QVbuIyEs6AavSZmmUPeja4lx QyEg==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=C4SkMpWE; spf=pass (google.com: domain of fm-1212295-202410041417574b68fd10fc3aee00d9-vtbbca@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-1212295-202410041417574b68fd10fc3aee00d9-vtBBcA@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=1728051480; x=1728656280; 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=i9iZFyG9j8Me07QfluQ/NKtlxn6kjRHFjPZZms+uEnk=; b=exb0uZ+iISx0aeNlIn5OrLuAWnj0Yddhi/KrzMUkKRk/uMNj0HyLl/3ObaLmHzmVXT DIavrf6IkC9LE2dX/tLwZAMm70249XnEfUTnkBubWTeDpyf/KcYVPYwVv5u8F0o4jsbK RqNe4M1+keoXC7cpasWcykJwKBOE+mUCEeo/GtGVDyL/6KkkhTquKoKV6ot76ySupRuS AGXNujU/z0lDGMKC2OWhIfEEAEoPifZcFO1TmuBST2bbFoDK1NeJ+vjnfqjKh79sxWpd uqZQ/Nbxn/du8TP0NvwTY4vz41aTuGanaG4LcTj0ufkNQX9o2qA78CdynFCyc6/9YVfF TZ6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728051480; x=1728656280; 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=i9iZFyG9j8Me07QfluQ/NKtlxn6kjRHFjPZZms+uEnk=; b=wSGCsS5ShOXP527J/Q24OwtBXEapJeQtx44vNQceufNc7zBadsfMinM53NLknQCRIo lzoNf3sy0Bihnth9crQR0EHCrLGhtXEjasdcOeLsj/gOP21gZKyemEa6u0zvCdsGlnnI pufJB8CKqG1tXlBnzhgW5FpIjHdC/fuE6hjyEvzHIqpO6ozSM9Mg4u5/xu/AOcLCYoD/ 4cu0klNjD35NeGijb4aZMUcuHd8zC+VRN5vlfL6FuuPgT1cC6FQNrAU4joXVbkajysTR ZEsDwer1UNRTOGFLCaNKRHvn/FZ4noczw0w302hiUegM8ytOpy5EfpDyuvKNbKXDm0Bn CY8A== X-Forwarded-Encrypted: i=2; AJvYcCWMOLiQ+uMyht7gjoU63/zE/rA1Wkr0B8MiQSsE+VUsfGM6a3qLFMncnVDK41JjxPoyoWqdQRc=@isar-build.org X-Gm-Message-State: AOJu0Yz0VnGOL0VSvz75uS0uojN0VErVY9z0LGCVDpws4wrRG+mIpyyy O9barNspP5qP8riqn4ehd0IDSPRryGoxfOiC+O851XuhcQ9mZ5x/ X-Google-Smtp-Source: AGHT+IEtzqO+73CBFr9M+aWVglWGEgQAeIbSgzdXVAkctXNVWqf9QzkR4UR5jX5c9VXZxc1Mz8Aj5Q== X-Received: by 2002:a05:622a:5c7:b0:458:532c:1e66 with SMTP id d75a77b69052e-45d9ba87308mr48090641cf.33.1728051480019; Fri, 04 Oct 2024 07:18:00 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:622a:1908:b0:458:29ea:566f with SMTP id d75a77b69052e-45d8d60eebels28981831cf.2.-pod-prod-06-us; Fri, 04 Oct 2024 07:17:59 -0700 (PDT) X-Received: by 2002:ac8:5d4e:0:b0:45b:5cdf:54b5 with SMTP id d75a77b69052e-45d9bb1af95mr43471561cf.41.1728051479352; Fri, 04 Oct 2024 07:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728051479; cv=none; d=google.com; s=arc-20240605; b=dpcN0hCEzoRmAMF9oXtB1Ozzn0AMWTS1n4BUjk6IIwWz2ANYNlOvDsnmx85ItPLlLQ Hrfv91oKbbSxohrC45i4hPb6nAA5UNfyY5cCjoKpgQpj711IwKSNeMEjGACDMYxEgUGY YHs0RHxdeplh48AQ4V23CSCMrE7VyBBgmgtEZ0wZaJnTmrX7HxWTQCuUJG9pQcyM6HCO qHm3Y1z1rh6pONtfobkKc1I0SUeHRRODHHHXJ2tSg0izkYFWlidlISBiLd3utuA6s0YI bwzTVDkO7OtvyRgGQ17NtaZHB7orEX7A27k08iK93+IgX9BOob31mg8cIDmP/wO+qL3x lZjw== 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=YoaeNIY7Jyb4xQb5RwxfFmsTGV3L4v5s95S1JJVrfJb1+7QYBEG9xjXIl+jYh+UJym RsP6+JU/AX4tQeXqldlymOsG56tGamXTsLBBUbBg6YQZAd9wH4BnN7FmyDg/GgMkfSkf SFm+OiItOUQ+OQBlfJHr0AV65tp7tLfQxRh+QAMlfyyvnrKrlpyXcKvAGV1eO6r8Un95 yZCKlDrSusuYp03VW1QHnvHHNQZyWyENujpqlmxaOsCfXp3q6ZbCqjkGvz5kuR2CtOTe rXiKP+J7OodNJNE5tEyKyjt9dxtXf6KKoGkgVzUF9sl4gm66kw0BOmQ1dmjywooLr4np t/Mg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=C4SkMpWE; spf=pass (google.com: domain of fm-1212295-202410041417574b68fd10fc3aee00d9-vtbbca@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-1212295-202410041417574b68fd10fc3aee00d9-vtBBcA@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net. [185.136.64.226]) by gmr-mx.google.com with ESMTPS id d75a77b69052e-45d91feb4casi1571991cf.0.2024.10.04.07.17.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2024 07:17:59 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1212295-202410041417574b68fd10fc3aee00d9-vtbbca@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) client-ip=185.136.64.226; Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 202410041417574b68fd10fc3aee00d9 for ; Fri, 04 Oct 2024 16:17:57 +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 v2 1/3] dpkg-raw: use weak assignments for DPKG_ARCH and DEBIAN_MULTI_ARCH Date: Fri, 4 Oct 2024 16:17:29 +0200 Message-Id: <20241004141731.172009-2-cedric.hombourger@siemens.com> In-Reply-To: <20241004141731.172009-1-cedric.hombourger@siemens.com> References: <62b2d7bb-25cf-4c42-9bee-fa95d18db6c8@siemens.com> <20241004141731.172009-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=C4SkMpWE; spf=pass (google.com: domain of fm-1212295-202410041417574b68fd10fc3aee00d9-vtbbca@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-1212295-202410041417574b68fd10fc3aee00d9-vtBBcA@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=-2.2 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_PSBL, 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 14:17:30 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: 3850 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 16:18:08 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f64.google.com (mail-qv1-f64.google.com [209.85.219.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 494EI6dn032641 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 16:18:07 +0200 Received: by mail-qv1-f64.google.com with SMTP id 6a1803df08f44-6c58e9bf10bsf37293356d6.3 for ; Fri, 04 Oct 2024 07:18:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728051480; cv=pass; d=google.com; s=arc-20240605; b=GvR10gNIlP4aWLTg9DzClAqdrBM1r5kHUo5brXAbPkfM5dn3cnZrSraDm4LfIZVMyB D1KwtdvDU9ptkjWREvol7JhYX2qv5XxD199p087aZFZzQElmYNVnr0V4jsd79IUSd6RI DVo0DYl8qgowKclkPkb1Jpqh7HwNfGCacJa1mJj4hAgQBy6j409I8zEoo8/iHppoy9wH RLmyCXYx9pUSWGsig9Am9kb/SkXKgALjCq+UAKD9tPPsgxrjq20BpGGlzHIx7fhtpY3m bL7RdEAtEDsE/HBgfK7R2jnA+LL+nbeXWDu2aQacg9gK3QjlQyl5CBcwYi+bCiB/94Dy UpCg== 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=QeuL33BCZVElOAiRhPiPkkwpEHoGwyxsCw1H5zO626s=; fh=HpUnQljVpKwZArPDW5PyGnL4bLaQvtKJ/0gAqn/W4zE=; b=kCP95h/YgU7rXeMkoNfee8Fk3W+KB8iKfgs+oL3twHvCOO9Ewazox9VjsVZOF/QSa4 AGqKpfhbaXSnu6/q1CjHD4xwKvtat5Ulg/EhE4Wnh68wkwq4fAbec/QGiovA1vetEe+n JjWT36fsjBcZSBth6HQXyZ8XAiWf0Rmsc6qrodKxjF3g0smITBjgsGiCgnnknABoYpJL QlKT3+aeTlA9SJBKHbMn4mNndMtu4M6ocoL3Ok0vpPOsXnc6F7P8ryXeotx2w5TdesQM 2NAzFGTtUZXTfeG9k5NLynuiySR7PnUfBvBRsbduIHMxjhJA7n4GCMbXLrEkygG3p0j+ k3Bg==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=lb3SCKJg; spf=pass (google.com: domain of fm-1212295-20241004141758bfd96e7bcfc43edc81-e2ipru@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1212295-20241004141758bfd96e7bcfc43edc81-e2iPrU@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=1728051480; x=1728656280; 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=QeuL33BCZVElOAiRhPiPkkwpEHoGwyxsCw1H5zO626s=; b=KcmajoR5mgw6IYMk0gtUJcEXwgnmec2CX7jJtHzyKSQSQ1EYVFroZ7DwcEs8TALg+f UX3y1Sp95NFHZydcN7ZnGJmnHiwiK/fEV+poxuHqDGmjDr/uI+vWj32QMdu8WC6GtoMi jlpvMnNXwmv8jBF7rEsG2t822+iRDq8OrzKBupCzoFM4jTRcbDcPVMCJwfg1BEgiBw9L WsVCjXqCx80PICqPTdKUhFDpJ4VoD0ZO+ag1CFhbOxzuAYBbiJBDwZ91sd7HyTSVDK+Y N6DgMfHaZieLC1bRV8OzQXv+S2GfPpYoITWoJXIffsn34r0lVJoIcdqdx8cRB0SpycuD 1V/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728051480; x=1728656280; 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=QeuL33BCZVElOAiRhPiPkkwpEHoGwyxsCw1H5zO626s=; b=a+0uW6etFyrkb3si3oiIPTOdiN2+RuHz3zr3aopHsmuZh2vwrjMyFD7dO5ww/EIDC3 lOez1CrGdsteypchrZWT/2nGeSkNxeedefwJoAQe47vkBPgSEUHRPOeykBal8X5jro70 ludNrCgPUarZ+Jb59GyUsyoXWUzci86CYi1HUaqrYtmQLsqkmAJ7Uz2Ww3bCA7lK1yNe C6EZAvqyzhKEFR+ZWExS6tlamdpEzO/12luXOyoCSoEen9RYPwfliFC9SlJswL4hY5aW Fw0H8Rqd9ERN+p5gmf+rBalgYH9nMotcJMGN1nH6c3CmB4amZncOiD9OJ/6p9+5G7Q1M 8B+A== X-Forwarded-Encrypted: i=2; AJvYcCWdMl0S5/WqYNIe7u5NyTddGORMLEYQ4QVpGwi/LpdtinoMn8ovEViwfb6sws0Y7F6jz4eeQjk=@isar-build.org X-Gm-Message-State: AOJu0YzyB5Kq6mjeDvIJNd8kCVlMX3HApWhFhyYyI5837RAz2evAmABL Muwx6ENdF169Dg1yicCuNgqBIZs9QwIvxDNJseE4aE/qrLecv0iT X-Google-Smtp-Source: AGHT+IEiUU84AXXeElXhFMfXN0eA9YyaRuPboky/Nf9r/9O4HLorPAp7obsatpBqe8/Zht9f3nhBhg== X-Received: by 2002:a05:6214:2b89:b0:6cb:7ce7:c093 with SMTP id 6a1803df08f44-6cb9a4c49e4mr39947416d6.37.1728051480199; Fri, 04 Oct 2024 07:18:00 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6214:d64:b0:6b0:7204:3b2 with SMTP id 6a1803df08f44-6cb9013746dls34296596d6.2.-pod-prod-09-us; Fri, 04 Oct 2024 07:17:59 -0700 (PDT) X-Received: by 2002:a05:6214:5a07:b0:6cb:4fa7:b617 with SMTP id 6a1803df08f44-6cb9a30678amr37677346d6.7.1728051479544; Fri, 04 Oct 2024 07:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728051479; cv=none; d=google.com; s=arc-20240605; b=V2J6tkUlOAm23g/mQyrY4vDwJ4i6m5bFTpvoqne1/jAmAKjSMsz6mN7nIOK0l7Jis+ MSHYUEkaiXz/Q2b+9bwalJnkXv9lf6ti5yjdL6ss4+P6dquzpcmJZYV78GfGmVB/N4I3 HbprWH4gvbhTMx0VVzx2YzJ1JAJn3e72/F/S1wlEPKSK9PW1/8kvnZ2/EuR6CViy+mF2 LYCGkHF5bRHLOYcmtuSppVfhpZmxLe1MFREAyYB4ycBq0SFCGxRK6UiZKdwLfFRpsbtU WGvHERUIOFAHBs6/TNmwqQIirT0AXQ5qxl4nLQtGm7YLWko26qHMoKzBmOI1cVsYOEdx RWWg== 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=K39/dRpzBcgasP2eTuIGNntaxcsAPd3SyNI6gauw4egr2AWKD/Uu2JG2WkHRmIQIRC ey3Ljz7+OJ3bSUJzm5+HdaOXVwYffd2/nsPmG/KCIbHEsEl5LF/5iUmrsHveEFCKHDzF iAZ9iANZwMYsGTLUi3We/A3d5DTv9REm9Z9EtxShBsnF8pfyJN1JvoV3gq/+vS2Cjnkc tofJiTCWXU5MhOwLov9y4YkrHwKXdwkq0IeD7NX34GJiqhlTdnraduDtdJ/rvCP+t0tu SJeSkU8j+Ad6VNkNnRpeV+HkuHiCTXSWS0VqHwMPuz475KqR1DSMBXgGF3FOM4GDGPiI WJDA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=lb3SCKJg; spf=pass (google.com: domain of fm-1212295-20241004141758bfd96e7bcfc43edc81-e2ipru@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1212295-20241004141758bfd96e7bcfc43edc81-e2iPrU@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 6a1803df08f44-6cb935b6282si1226786d6.2.2024.10.04.07.17.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2024 07:17:59 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1212295-20241004141758bfd96e7bcfc43edc81-e2ipru@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 20241004141758bfd96e7bcfc43edc81 for ; Fri, 04 Oct 2024 16:17:58 +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 v2 2/3] multiarch: use "if not" vs "if cond is False" for consistency Date: Fri, 4 Oct 2024 16:17:30 +0200 Message-Id: <20241004141731.172009-3-cedric.hombourger@siemens.com> In-Reply-To: <20241004141731.172009-1-cedric.hombourger@siemens.com> References: <62b2d7bb-25cf-4c42-9bee-fa95d18db6c8@siemens.com> <20241004141731.172009-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=lb3SCKJg; spf=pass (google.com: domain of fm-1212295-20241004141758bfd96e7bcfc43edc81-e2ipru@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1212295-20241004141758bfd96e7bcfc43edc81-e2iPrU@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=-2.2 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_PSBL, 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 14:17:31 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: 3851 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 16:18:08 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-il1-f184.google.com (mail-il1-f184.google.com [209.85.166.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 494EI7hJ032659 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Oct 2024 16:18:08 +0200 Received: by mail-il1-f184.google.com with SMTP id e9e14a558f8ab-3a34988d6b4sf33882435ab.2 for ; Fri, 04 Oct 2024 07:18:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728051481; cv=pass; d=google.com; s=arc-20240605; b=OccAllWY7mxQDvfRqfKDOyX+c3zRftNv7KXpTVQBHOpUX1ILlz9Iw/h+CPyF9cnIWH ruCdFIlFKswVkH82X1rvc2Wr/Dvz6wnCTK/EU14FLsWpm0yvj59IwEGLlkSoQnqIu361 Iik27PocOemsQAetolejyVR0LtuWiE7jua6YwTNE59K1YRnP9aEO/TI94byl8jA/BMu4 27yzRSPvH3ynL3ADSa30XGQ9GxGLbVnPHJvbhxzMP+tkk75MxEfQGrbBKWEihUARNXRI paa3bSM+Gs5pIdYv07oSikNuI1rFAlh9V4tr3enVdAFo/fnPbQVLv7DaUSGqM3M58EUe dPXg== 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=c45gVZnorHtF7j0TBV51FolJ3ZIWIcfW+7ng1aN2wms=; fh=jcQjnzhGdp8z6dUtQGLyTMH93nw/KZcaZb2PF54lPmY=; b=MZUVvwXI83LD68CImxI7AbpocBLppU+hE+m3fLWJUCCRNZlX0NP3/xPZppNnSbDVHQ 5jLv6bBqSLymTV0ZHkcA2gx56io0969tVd7mIQ6sLJr6q5hkWarfQra5d+93m1t2Mb1L clM/hKJwS9D9OZWmCKtEQ9EIvPB0eN5sLJ7n6hK+h4u+KYPYxAzhOz9KPHcPCgSKzh/u MvhftpZn2Z3PPP4ftIA4kBGTRJ6I9aAGIkwJL6TATwSJVWw5wHXmComeyN9sHU7ri9NU o58Bz7RcB5bdA5IHA0fMtUW+jy1Al5bUtxcfzAkEgpVxJB9+Onfz1bsLIMlO3s0N+BCA TTmA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Xl1Q1czJ; spf=pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1212295-202410041417586411e3c324fad5f9fb-GwW7Ho@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=1728051481; x=1728656281; 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=c45gVZnorHtF7j0TBV51FolJ3ZIWIcfW+7ng1aN2wms=; b=wB81wFD4VJD83Qnhzfhi8JiI9a1odDMspQM0xVh9JNjal8W+MQJf7VgiajKwjaDWhT eEFiGkUKJT1VYw4UhxBa6yLkOGjkCDsjutL9px4zuSa9Yq/z8zIwc3j9N4o597rBKFHM GTWY2uT5yyo4oEgkiei+kaq5BojYOme3fnoQZBlpdK/zQ0dNbA7oq1aUt7d4KHcBnDku ELo5DyunAXVQio8kzrdfA21DoY+0EUs6erM6UfQ8d/OgWwsbOjh6oP9M5QghGNFdmwW3 hUwuMe4xvxJrSU12yp+G7qbchFsM1mSPWRZ7nWPYlF6Xde5NKUhhwX9ixPUefpIHA4vp RmCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728051481; x=1728656281; 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=c45gVZnorHtF7j0TBV51FolJ3ZIWIcfW+7ng1aN2wms=; b=mP4FXWceaRA469InGIYMsNOKlNIp9zVMIh82hT+vgEoQ/Kx4A9/KuYhOb0FAizJmK9 jH0+jHdzXnz2q37gvflH8wtPS8IQsOXfu1BKA2aPiTqJc/ThhfnjjoO0xPepSS9P3oVc wnHZ6SCidDdbrgTKF6NiXz19BWUT5OSodgn8E21V5gQQxxqSD0uCU7T/cn8nclj602ii gsn6zH+649Bnp6ATbKFWhPyDNLjYTpb1ctHzzf8+AMHgngZmADVBlem5gr/Zse34eKFJ Dt20dhKcLuCdVccBO3ctFZXSzp9Iz8QkVSVtJUX0lBMtPPZjKI7Tk9h8yNCtJ0mshcfb BoQA== X-Forwarded-Encrypted: i=2; AJvYcCW3o9fCSTNhM2w16e/KHT/6mHUDKzRfkhCpYk4S7DwpCgWhUFHKgj9E8dQTUZHJa6ANTqkBg7k=@isar-build.org X-Gm-Message-State: AOJu0YyzKs3jyWbafSXaRWkQoi686uSsx1/4M8Tn4Q87tP9nWNiMTQ8D m6fYffOOhiyJr6yNYXqZvxK4OheFtevUZZhiFq28kohHUo4gzgq9 X-Google-Smtp-Source: AGHT+IHH/939bGiZro2+eY+N0ItmnTJpj5/HgU1NSEBNpHl4rC52MrseLY8nGYm5CWJhwu3nfvR8jw== X-Received: by 2002:a05:6e02:1e02:b0:3a2:aed1:1285 with SMTP id e9e14a558f8ab-3a3757d4e76mr33297945ab.0.1728051481459; Fri, 04 Oct 2024 07:18:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6e02:1a6a:b0:3a0:cc84:9864 with SMTP id e9e14a558f8ab-3a36e349caals14213685ab.0.-pod-prod-05-us; Fri, 04 Oct 2024 07:18:00 -0700 (PDT) X-Received: by 2002:a05:6602:6c09:b0:82d:13ce:2956 with SMTP id ca18e2360f4ac-834f7d620e9mr315087539f.10.1728051480522; Fri, 04 Oct 2024 07:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728051480; cv=none; d=google.com; s=arc-20240605; b=LbrTfsyr6Bh+FhwqzlkcCjbz4VE/Vc2KmTpFXAeFGK2KqOrYPdYbcwIuuqUnnXFekZ bL1OkESowY/UuJdmwNB0IWZ1dVYz9yXte4BrNXtHPo93Z6eOhBsEa63mqdgOtprfVFRL /5ukqQzRpWlKmaxWplnZ+JhyWJ2KcHhmKcQysnqIy644ff7iArDUyqVfJTDa3w6SbqyZ DyT8ZsgqN9TsgV6AMNHay7qjiZ61qw/Ge80Kd7f+rxExFDZ/2Ewnm3/6/GR1Yay/Q/TT kzbbyu4e8PpMgXsjJS0Jz0jvgIukhSXmYvuopvagW7+Of/zwyyypTlkiLVDco1OOlPLt /efA== 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=Wm9m0avmsm6ypPp1lNxdf3pcJdLACGxoq8vcQgzip1E=; fh=1z37pEVhqwMLlkT4FDzOga7XBsM6Rzv6sXOq0pipxqo=; b=UF4KfK/Ta863jDQr13SnsHXCYKbEAtK04c2ys8Looh232/qeHoCaG2PiiBmKdAV39t Va1RxDRO/aA+bl7OgqPM7zeELkfhyC31uVmW/bkkctDDOGRbyEIeFx1mHPzT6TxCQ4wY 5SG4R4sN2dv9jtvCJHPw4+ZIURZr13/2fMlMZCNqJlnM0LPy08zsQiXTlJWNeUC7oojL As6esZ7+Ci4ZsMkV4sfubeGOFpAS9XT3JKa7DqlX+pOoUuPn3kVFYTcPQApzCdSHqRsA /3mnpYiYk+ppn44AdeCsOmJlZGZPDCRGCg3toeFhakKFdYNyl9eaRQG/at0gCRJ30+2E wMsw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Xl1Q1czJ; spf=pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1212295-202410041417586411e3c324fad5f9fb-GwW7Ho@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id 8926c6da1cb9f-4db55ad101dsi169286173.7.2024.10.04.07.18.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2024 07:18:00 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 202410041417586411e3c324fad5f9fb for ; Fri, 04 Oct 2024 16:17:58 +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 v2 3/3] RECIPE-API-CHANGELOG.md: clarify scope of recent multiarch/dpkg-arch changes Date: Fri, 4 Oct 2024 16:17:31 +0200 Message-Id: <20241004141731.172009-4-cedric.hombourger@siemens.com> In-Reply-To: <20241004141731.172009-1-cedric.hombourger@siemens.com> References: <62b2d7bb-25cf-4c42-9bee-fa95d18db6c8@siemens.com> <20241004141731.172009-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=Xl1Q1czJ; spf=pass (google.com: domain of fm-1212295-202410041417586411e3c324fad5f9fb-gww7ho@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1212295-202410041417586411e3c324fad5f9fb-GwW7Ho@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?= Signed-off-by: Cedric Hombourger --- RECIPE-API-CHANGELOG.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md index 57b2205a..8eeaf325 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -649,10 +649,19 @@ 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"` or a specific +architecture matching binaries to be included in the payload of the package. 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 targetting a specific architecture: +Isar will advertise -native and -compat variants even though such recipes can +only produce packages for that architecture and not what could possibly expect +for -native or -compat. If we consider a dpkg-raw recipe generating an `arm64` +package on an `amd64` host: you would expect the -native variant to produce +an `amd64` package and -compat an 'armhf` package: it will however remain +`arm64` and build of dependent recipes (image or dpkg) may fail because of +the architecture mismatch.