[PATCH 15/18] packaging: cope with unset ID and VERSION_ID
authorZygmunt Krynicki <zygmunt.krynicki@canonical.com>
Thu, 30 May 2024 09:45:20 +0000 (11:45 +0200)
committerZygmunt Krynicki <me@zygoon.pl>
Wed, 5 Jun 2024 08:16:06 +0000 (10:16 +0200)
commitf5dcd03e98cd062ae09e84707e3cc1954eaf6fe3
tree6c9b2bf645b50e03045932b63e74f4eabe496fba
parent4f57350bf0e3a84f6e39b661b8b265ab921748fa
[PATCH 15/18] packaging: cope with unset ID and VERSION_ID

There is no guarantee that ID and VERSION_ID are set in /etc/os-release.
Provide defaults for ID and VERSION_ID so that spread runs with _some_ system
name. Spread rejects system names with two consecutive dashes, so use a
special-case for unset VERSION_ID since we know it is used in a context of the
Debian archive.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0016-PATCH-15-18-packaging-cope-with-unset-ID-and-VERSION.patch
packaging/debian-sid/tests/integrationtests