🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Jarl Gullberg Thu, 19 Nov 2026 14:20
Bug#1154477: sbuild: enable access to selected distribution in sbuild.conf
#5107
Author: Jarl Gullberg
Date: Thu, 19 Nov 2026 14:20
48 lines
3434 bytes
Package: sbuild
Version: 0.91.11
Severity: wishlist

Dear Maintainer,

When building dynamic configuration options in sbuild.conf, accessing
the name of the distribution that sbuild either determined or was
supplied with on the command line is often useful. In particular,
distribution-specific output directories would benefit from this.

While we can access $distribution, that variable is only defined if the
user has explicitly set it themselves in the configuration file. There 
is precedent for this with the percent-escapes in options passed to
piuparts, autopkgtest, and autopkgtest-virt-server
(%SBUILD_DISTRIBUTION), but this is not available generally.

In particular, $build_dir does not interpolate %SBUILD_DISTRIBUTION.

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.117+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sbuild depends on:
ii  adduser         3.152
pn  libsbuild-perl  <none>
ii  perl            5.40.1-6+deb13u1

Versions of packages sbuild recommends:
pn  autopkgtest  <none>
pn  debootstrap  <none>
ii  iproute2     6.15.0-1
pn  mmdebstrap   <none>
pn  schroot      <none>
pn  uidmap       <none>

Versions of packages sbuild suggests:
ii  e2fsprogs  1.47.2-3+b12
ii  kmod       34.2-2
ii  wget       1.25.0-2
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads