[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>
Mon, 17 Jun 2024 14:21:30 +0000 (16:21 +0200)
commit391affc29b10dc63b14da94317ab4a45e3e0bca6
tree413a73fb5640250eab7625a6a3c892833eb44226
parentba5fd15f5ef403586dc87bbb2fb4289c4417e0e6
[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