From patchwork Tue Nov 19 13:22:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Moessbauer X-Patchwork-Id: 3948 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 19 Nov 2024 14:23:07 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f59.google.com (mail-qv1-f59.google.com [209.85.219.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4AJDN6GS032352 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Nov 2024 14:23:07 +0100 Received: by mail-qv1-f59.google.com with SMTP id 6a1803df08f44-6d41aed9bcbsf39601056d6.1 for ; Tue, 19 Nov 2024 05:23:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732022581; cv=pass; d=google.com; s=arc-20240605; b=jduNXzYKLsWn0BsSPzHxP1AtO/o4zTsIWjF9GvsFjDqjFxPFdm37YtKvGTvr+OTJ9g IAYi4+gHCpET1tYoOd5pl167uSgt2lFnxLkCF/DePC0lpGkXDyOyshwazbPanswt0rTF D+awiWjDEksQ8+SbitDNudQZohh73z8EQONzEL0nBKqFQMu8zvs6l2LfHBgXJxSFtbMv LrseGEd7zoog7QmV8eauXXD3se8MKcrkwzqebuXAA5QrkGknng4a/01ryYZbnNDbeKDm jgy69Rox49x8jgqLmvGoMmW57xC7dALgRK/55YcdFs3D8FRdFyAC/VnvOkZW/qoUZwks 93fw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=XGAHad9wCoxF0j/raZ4kaudN9YCHX/oss3wP0Kv35VU=; fh=voreKC4lxbpg+eB7YOw6UviGQCdkwL9RR9VMjFHVSSw=; b=g2oMW8Du95hTVwcsjFm0ZdeLp4aNHuU5GqqDXvdAyxoAFlVf44jLmS2WEnNwbKbx3u BQa6a10VcOGL/sDW/NfKhl6eCQru2LG8wOXzABTuoZ02qBj8h4zSxL3zcCj+eVPKGpdQ dLEU1K0HD30JjMtfeTIqf3JT9nrc9TqbnxQ7+V8rBSrDfh4XgvCpzvWUomyEgZ2+LJgu IQNsgXMQWKIllu+eNjGMhrcU0M88mLPyXgezOStzky37YzuSSNVSvGoGEeCLRCFfApFm hxgrU4agaf+hpnCaycRkPT+ZHc+EP6sbxbrlvlPcqHooo1qp0xHV9T6sskLwCElPcV8i xJbQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Sd22yKiz; spf=pass (google.com: domain of fm-1321639-20241119132257f592bdd1398c34fd15-9iryj0@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1321639-20241119132257f592bdd1398c34fd15-9iryJ0@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=1732022581; x=1732627381; 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:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=XGAHad9wCoxF0j/raZ4kaudN9YCHX/oss3wP0Kv35VU=; b=C0Ka6SAc25tpnGh7g41w66UhmaN5N47k3z1YdJkiy54w3ppov0i9qiniv5nUVj0faA 01+XQjar27gXNlOWHsTu0M2qHWDeVAtLo3YNETZv7aeT0qscseuHi2yJmQdjizvQyKd+ KgTcRTqjHYrkaUJfWtbHlr2foUerBuS94cnCEw/0GShdMm3Q6I6YS9gn2NViGSAUj0XR J9g9YmLHhV9Ftu7jG6M7n4ZraspGqxQrTbcOMWBr2JWN6fm/f1YgLyPW3uWvs0qm3UpK sSIZmi223DJKTgzI/GggDSJuXZIkBu25KZkTzxH1i/569GP4zfXZYl9/L76sNzCObf8P z49Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732022581; x=1732627381; 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:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XGAHad9wCoxF0j/raZ4kaudN9YCHX/oss3wP0Kv35VU=; b=AQxkgArDzK0Qyr3wTtbUW7PKM2SeNo4tc9N8ojO8V9oQb1KVfiTs0+GaFvrlOiDCRt Fg0mjZPqxCmX129k1Oq1PWMBNq3XqB4RAINRHDMJvsmOUhfgvtIsxj7qMj4Os8lvMotW xFPvsf0du05UZzQ6ZKp5pxwwsiauokbbekmf6xjZLqPmZkpLG+hfU1TzCg46UBWCY29/ fJDohtTe3TTNVSqF7mRWFTdCPnDIxmSbJBWJGE9pxN6QhnMSisBLboaLzSg+wtVRdSon xF47mG6RRsQiudh4fqFEwEDri2UjZQRDFRVAt4xbVqukfTHA8iNlL39EQdoJHXqABaz9 tLtw== X-Forwarded-Encrypted: i=2; AJvYcCX+FTMTqj9zHaeNee1I0R5WV3nwnc75CQTMq5dSg9aKcnjo3TkgyHmbr1hZoprBqBoqau7cpGI=@isar-build.org X-Gm-Message-State: AOJu0Yx2/9aWo70Bq/7iL6UzKNd2+XzYQn8RewC9IgMOAP9gGzlm0KIz Q1AFfrWQjkT5VnC0M8XSGk4zDazf6WnOHxIJSdNXhSJybkAVrO3U X-Google-Smtp-Source: AGHT+IEmUXrwplg8MPkgsgNmrtEDh7oCZ9c63w0AQI5eLNVrMmlkO1tUbti2dOJv+7ji3RDJ/J/uNQ== X-Received: by 2002:a05:6214:428a:b0:6d3:b571:5cdd with SMTP id 6a1803df08f44-6d3fb7497bamr260194036d6.2.1732022580770; Tue, 19 Nov 2024 05:23:00 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6214:2425:b0:6d3:67c7:5cea with SMTP id 6a1803df08f44-6d3ea6f4613ls77046266d6.2.-pod-prod-01-us; Tue, 19 Nov 2024 05:22:59 -0800 (PST) X-Received: by 2002:a05:6214:1bc9:b0:6d4:1813:1f21 with SMTP id 6a1803df08f44-6d418132086mr170945056d6.1.1732022579450; Tue, 19 Nov 2024 05:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732022579; cv=none; d=google.com; s=arc-20240605; b=aKzI4AKr49bVO0Pt7i9Rrwj7BaI9V6ipPSE7ywzIM6/qzoB0WuUpsnwcN3YtQ7hqCy uLf6Mmez0IwPdXRQlYExG/XEDZFK+Fj8/L4K+7RrKdwxGs/jOqlsV3UjQL78Q6TqZwuv /FEVTUVk4DyFxSvcQDWC6tCd8x8/En1Pnn3ad6K6A2WgPuT3nkI9wQCZhWmD1C5SkusR ML+HtbNqurh55OC8Lak/G/062skSCIioQnuq0AI5n366wIF4ONpECULvMvKAjP8avS4s V4eAmTVrAKtCmFByyTJ9/RQ0HoC0/9upHyDT0ANIvj6s7VqOElTlihpBDy8x6LIg2xlE ny5Q== 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:message-id:date :subject:cc:to:from:dkim-signature; bh=2VvbT2HwzO9Nab8KSy0tRdREUk3pZykN030hMbzKumU=; fh=y4Q4sSo60XIDMfQl4kOzeqW/gQkja1RlhaZM6hZs/O8=; b=I+sCEkRhdf3dT9J/CRdEFYpCQNxOYENuGdrz5CJiLRxMqwBgvmF0OzKebDLv0P+aTU sGcq32L9f5ZDjr5pJCbcqxeoLzr9ERBL1ViEStqoSa/4MAD8l3PhIiIE8xnbae5V+shm czVDQWfmtHCO5qbdEDhF07O9mAzAwTJKchTyzGoICICNZZGha2OcXGlqeCbASDrNNDep 5WsDOV0oeUASrBcX40eiSkC8T+gAD9NYpF2TcLUNBvOvx9eJkkCb5GbmqIOqLnekeb15 hj6dAWN25c/umrjdEZtYcVFxXBaSyqS6y4QWRKB0m4YVdvCVfkm9dwZ9chZ9KFScrXr7 VYUg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Sd22yKiz; spf=pass (google.com: domain of fm-1321639-20241119132257f592bdd1398c34fd15-9iryj0@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1321639-20241119132257f592bdd1398c34fd15-9iryJ0@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-6d40dc8d53asi2314776d6.4.2024.11.19.05.22.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Nov 2024 05:22:59 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1321639-20241119132257f592bdd1398c34fd15-9iryj0@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 20241119132257f592bdd1398c34fd15 for ; Tue, 19 Nov 2024 14:22:58 +0100 X-Patchwork-Original-From: "'Felix Moessbauer' via isar-users" From: Felix Moessbauer To: isar-users@googlegroups.com Cc: Felix Moessbauer Subject: [PATCH 1/1] sbuild: make dist configurable Date: Tue, 19 Nov 2024 14:22:50 +0100 Message-Id: <20241119132250.1028420-1-felix.moessbauer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1321639:519-21489:flowmailer X-Original-Sender: felix.moessbauer@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=Sd22yKiz; spf=pass (google.com: domain of fm-1321639-20241119132257f592bdd1398c34fd15-9iryj0@rts-flowmailer.siemens.com designates 185.136.65.225 as permitted sender) smtp.mailfrom=fm-1321639-20241119132257f592bdd1398c34fd15-9iryJ0@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Felix Moessbauer Reply-To: Felix Moessbauer 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?= The output distro name of isar can be changed by setting DEBDISTRONAME. However, in the sbuild invocation the value is hard-coded to "isar". We now use the variable there as well. Signed-off-by: Felix Moessbauer --- meta/classes/dpkg.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass index 7eba7521..ef85890a 100644 --- a/meta/classes/dpkg.bbclass +++ b/meta/classes/dpkg.bbclass @@ -121,7 +121,7 @@ dpkg_runbuild() { --finished-build-commands="rm -f ${deb_dir}/sbuild-build-depends-main-dummy_*.deb" \ --finished-build-commands="find ${deb_dir} -maxdepth 1 -type f -name '*.deb' -print -exec cp ${CP_FLAGS} -t ${ext_deb_dir}/ {} +" \ --finished-build-commands="cp /var/log/dpkg.log ${ext_root}/dpkg_partial.log" \ - --build-dir=${WORKDIR} --dist="isar" ${DSC_FILE} + --build-dir=${WORKDIR} --dist="${DEBDISTRONAME}" ${DSC_FILE} sbuild_dpkg_log_export "${WORKDIR}/rootfs/dpkg_partial.log" deb_dl_dir_export "${WORKDIR}/rootfs" "${distro}"