summaryrefslogtreecommitdiffstats
path: root/src/debputy/lsp/lsp_debian_control_reference_data.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:13:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:13:58 +0000
commitbcfcc7b5e9752bd991285bc837197f478ea67893 (patch)
treec9ffab26b87df5aa956b68e1796282c8ea5ba647 /src/debputy/lsp/lsp_debian_control_reference_data.py
parentAdding debian version 0.1.22.1. (diff)
downloaddebputy-bcfcc7b5e9752bd991285bc837197f478ea67893.tar.xz
debputy-bcfcc7b5e9752bd991285bc837197f478ea67893.zip
Merging upstream version 0.1.22.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/debputy/lsp/lsp_debian_control_reference_data.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/debputy/lsp/lsp_debian_control_reference_data.py b/src/debputy/lsp/lsp_debian_control_reference_data.py
index f4791cb..2cc85bb 100644
--- a/src/debputy/lsp/lsp_debian_control_reference_data.py
+++ b/src/debputy/lsp/lsp_debian_control_reference_data.py
@@ -1689,6 +1689,28 @@ BINARY_FIELDS = _fields(
),
),
DctrlKnownField(
+ "XB-Installer-Menu-Item",
+ FieldValueClass.SINGLE_VALUE,
+ # TODO: udeb only
+ hover_text=textwrap.dedent(
+ """\
+ This field is only relevant for `udeb` packages (debian-installer).
+
+ The field is used to declare where in the installer menu this package's menu item should
+ be placed (assuming it has any menu item). For packages targeting the Debian archive,
+ any new package should have its menu item number aligned with the debian-installer team
+ before upload.
+
+ A menu item is 4-5 digits (In the range `1000 <= X <= 99999`). In rare cases, the menu
+ item can be architecture dependent. For architecture dependent menu item values, use a
+ custom substvar.
+
+ See https://d-i.debian.org/doc/internals/apa.html for the full list of menu item ranges
+ and for how to request a number.
+ """
+ ),
+ ),
+ DctrlKnownField(
"X-DH-Build-For-Type",
FieldValueClass.SINGLE_VALUE,
default_value="host",