Bug#1136160: debian-policy: Clarify that Multi-Arch is not applicable for udebs
Nilesh Patra <[email protected]> Sat, 16 May 2026 08:24:56 +0530
| Newsgroups | gmane.linux.debian.devel.policy |
|---|---|
| Message-ID | <48f2ea76-a661-42a7-8aef-682a7a009373__44447.6095655531$1778900247$gmane$org@debian.org> |
On 16/05/26 8:13 am, Guillem Jover wrote: >> diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst >> index 69467c4..0f5933c 100644 >> --- a/policy/ch-controlfields.rst >> +++ b/policy/ch-controlfields.rst >> @@ -1381,8 +1381,9 @@ A Debian installation can combine packages from multiple architectures. >> The ``Multi-Arch`` field enables individual packages to declare their >> support for this feature, and influences the way dependencies are >> handled. It can be declared in binary package sections of a source >> -package template control file and in binary package control files. The >> -permitted field values are ``no`` (default), ``foreign``, ``same`` and >> +package template control file and in binary package control files. >> +The ``Multi-Arch`` field does not affect udebs. >> +The permitted field values are ``no`` (default), ``foreign``, ``same`` and >> ``allowed``. Their semantics are described in the following sections. >> >> .. _s-f-Multi-Arch-no: > > I think this is better than the previous iterations, but it feels a > bit vague, because it describes the effect that Multi-Arch has, which > then makes not using them implied. Perhaps better to be more explicit > about it? What about something along the lines of? > > "The Multi-Arch field is not relevant for udebs, and should thus not > be used on them." > > Although I feel there's something cumbersome about that phrasing, so > probably a better wording can be found. Attached another patch to match the phrasing. Let me know if this could make the cut :) Best, Nilesh
ma-udeb-4.patch
(text/plain, 925 B)
diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst index 69467c4..124ea96 100644 --- a/policy/ch-controlfields.rst +++ b/policy/ch-controlfields.rst @@ -1381,8 +1381,9 @@ A Debian installation can combine packages from multiple architectures. The ``Multi-Arch`` field enables individual packages to declare their support for this feature, and influences the way dependencies are handled. It can be declared in binary package sections of a source -package template control file and in binary package control files. The -permitted field values are ``no`` (default), ``foreign``, ``same`` and +package template control file and in binary package control files. +The Multi-Arch field does not apply to udebs and should be omitted. +The permitted field values are ``no`` (default), ``foreign``, ``same`` and ``allowed``. Their semantics are described in the following sections. .. _s-f-Multi-Arch-no: