public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] Revert "dpkg: sbuild allows extra arguments via DPKG_SBUILD_EXTRA_ARGS"
@ 2023-02-02 14:42 Jan Kiszka
  2023-02-02 19:06 ` Roberto A. Foglietta
  2023-02-07  8:54 ` Uladzimir Bely
  0 siblings, 2 replies; 8+ messages in thread
From: Jan Kiszka @ 2023-02-02 14:42 UTC (permalink / raw)
  To: isar-users, Uladzimir Bely; +Cc: Roberto A. Foglietta

From: Jan Kiszka <jan.kiszka@siemens.com>

This reverts commit 6d5fbbab9c9e3c894cbc9cf18180fb0057f82f20.

There are no concrete use cases for this interface known. Adding it
without an idea what it should be good for can create downstream
problems as the class evolves and also motivate inappropriate use of
this low-level interface in recipes.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/classes/dpkg.bbclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index 39308696..d5285032 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass
@@ -23,8 +23,6 @@ do_prepare_build:append() {
     env > ${DPKG_PREBUILD_ENV_FILE}
 }
 
-DPKG_SBUILD_EXTRA_ARGS ?= ""
-
 # Build package from sources using build script
 dpkg_runbuild[vardepsexclude] += "${SBUILD_PASSTHROUGH_ADDITIONS}"
 dpkg_runbuild() {
@@ -111,7 +109,6 @@ dpkg_runbuild() {
         --chroot-setup-commands="echo \"APT::Get::allow-downgrades 1;\" > /etc/apt/apt.conf.d/50isar-apt" \
         --chroot-setup-commands="rm -f /var/log/dpkg.log" \
         --chroot-setup-commands="ln -sf ${ext_deb_dir}/*.deb -t ${deb_dir}/ || :" \
-        ${DPKG_SBUILD_EXTRA_ARGS} \
         --finished-build-commands="rm -f ${deb_dir}/sbuild-build-depends-main-dummy_*.deb" \
         --finished-build-commands="cp -Ln --no-preserve=owner ${deb_dir}/*.deb -t ${ext_deb_dir}/ || :" \
         --finished-build-commands="cp /var/log/dpkg.log ${ext_root}/dpkg_partial.log" \
-- 
2.35.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-02-07  9:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02 14:42 [PATCH] Revert "dpkg: sbuild allows extra arguments via DPKG_SBUILD_EXTRA_ARGS" Jan Kiszka
2023-02-02 19:06 ` Roberto A. Foglietta
2023-02-02 20:14   ` Henning Schild
2023-02-02 22:44     ` Roberto A. Foglietta
2023-02-03 18:50       ` Henning Schild
2023-02-03 20:49         ` Roberto A. Foglietta
2023-02-07  8:54 ` Uladzimir Bely
2023-02-07  9:45   ` Roberto A. Foglietta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox