summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2022-03-26 11:29:12 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2022-04-01 11:44:17 +0200
commit889462ec33480940a355589b0ae57987f17a86e2 (patch)
tree388630c83975ad4c94122173778fbd330fea8b91
parentd29cffc53095c9b5929b6ad45ed98aae330315e0 (diff)
Recognize Static-Built-Using and order it below Built-Using
dpkg added a new field (see there for details) which breaks our testcases due to an unknown field. apt doesn't make use of the field, but we can at least order it nicely in output we generate. References: dpkg commit 16c412439c5eac5f32930946df9006dfc13efc02 Closes: #1008759
-rw-r--r--apt-pkg/tagfile-keys.list1
-rw-r--r--apt-pkg/tagfile-order.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/tagfile-keys.list b/apt-pkg/tagfile-keys.list
index b5cc2f1a4..36da3435e 100644
--- a/apt-pkg/tagfile-keys.list
+++ b/apt-pkg/tagfile-keys.list
@@ -62,6 +62,7 @@ SHA512
Size
Source
Standards-Version
+Static-Built-Using
Status
Subarchitecture
Suggests
diff --git a/apt-pkg/tagfile-order.c b/apt-pkg/tagfile-order.c
index bb199b32e..79d6992b4 100644
--- a/apt-pkg/tagfile-order.c
+++ b/apt-pkg/tagfile-order.c
@@ -16,6 +16,7 @@ static const char *iTFRewritePackageOrder[] = {
"Package_Revision", // Obsolete (warning in dpkg)
"Kernel-Version", // Used only by d-i
"Built-Using",
+ "Static-Built-Using",
"Built-For-Profiles",
"Auto-Built-Package",
"Multi-Arch",