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() {