diff options
| author | Daniel Semkowicz <dse@thaumatec.com> | 2024-06-20 15:03:31 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-08-26 05:18:44 -0700 |
| commit | 8ab893015f8dd635125681accfd4ef62f59021be (patch) | |
| tree | 8447e60f890613446e5ed539d887606b9419da18 /meta/recipes-devtools | |
| parent | 538258bd2867acea23dcff6f8d6b017c7172b39a (diff) | |
| download | poky-8ab893015f8dd635125681accfd4ef62f59021be.tar.gz | |
os-release: Fix VERSION_CODENAME in case it is empty
If DISTRO_CODENAME was not set, VERSION_CODENAME field was populated
with unparsed string. This resulted in the following line in os-release
file:
VERSION_CODENAME="${DISTRO_CODENAME}"
According to systemd documentation, this field is optional.
Fix the problem by setting VERSION_CODENAME conditionally, only if
DISTRO_CODENAME was set.
(From OE-Core rev: d53b627a68701393ac0a1acb591817f4b5dde59d)
Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 70a0b8bc1d846c857be90ce2e97e60c5ee32558e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions
