Cyril Brulebois <k...@debian.org> writes:
> Russ Allbery <r...@debian.org> (2022-09-19):

>> but I suspect that, to the extent that this is a Policy issue, the problem
>> was that a source package is not itself a udeb and therefore it wasn't clear
>> whether Policy applies to source packages that only produce udebs.  My gut
>> feeling is that it should not: the whole point of udebs is that they get to
>> break the rules.
>> 
>> So, in addition to saying that Standards-Version is generally not used for
>> udebs or for source packages that only build udebs (I would use wording
>> like that rather than "required" since Policy puts no requirements on
>> udebs at all), maybe we should add to this paragraph in 1.1 (Scopes):
>> 
>>     udebs (stripped-down binary packages used by the Debian Installer) do
>>     not comply with all of the requirements discussed here. See the Debian
>>     Installer internals manual for more information about them.
>> 
>> That could be as simple as saying "udebs (...) and source packages that
>> produce only udebs do not comply...."

> Looks good to me, thanks!

Here is proposed wording that I think is ready for seconds.

From: Russ Allbery <r...@debian.org>
Date: Tue, 20 Sep 2022 18:35:55 -0700
Subject: [PATCH] Clarify udeb-only source packages are out of scope

Note that source packages that only produce udebs are, like udebs,
out of scope and may not follow all of the requirements of Policy.

Say explicitly in the Standards-Version description that udebs and
source packages that only produce udebs do not use Standards-Version.
---
 policy/ch-controlfields.rst |  3 +++
 policy/ch-scope.rst         | 10 +++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst
index 428b8a7..ea8f4a3 100644
--- a/policy/ch-controlfields.rst
+++ b/policy/ch-controlfields.rst
@@ -540,6 +540,9 @@ Thus only the first three components of the policy version 
are
 significant in the *Standards-Version* control field, and so either
 these three components or all four components may be specified. [#]_
 
+udebs and source packages that only produce udebs do not use
+``Standards-Version``.
+
 .. _s-f-Version:
 
 ``Version``
diff --git a/policy/ch-scope.rst b/policy/ch-scope.rst
index 289c9a9..a279c26 100644
--- a/policy/ch-scope.rst
+++ b/policy/ch-scope.rst
@@ -71,11 +71,11 @@ Much of the information presented in this manual will be 
useful even
 when building a package which is to be distributed in some other way or
 is intended for local use only.
 
-udebs (stripped-down binary packages used by the Debian Installer) do
-not comply with all of the requirements discussed here. See the `Debian
-Installer internals
-manual <https://d-i.debian.org/doc/internals/ch03.html>`_ for
-more information about them.
+udebs (stripped-down binary packages used by the Debian Installer) and
+source packages that produce only udebs do not comply with all of the
+requirements discussed here. See the `Debian Installer internals manual
+<https://d-i.debian.org/doc/internals/ch03.html>`_ for more information
+about them.
 
 .. [#]
    Informally, the criteria used for inclusion is that the material meet

-- 
Russ Allbery (r...@debian.org)              <https://www.eyrie.org/~eagle/>

Reply via email to