diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-11-10 19:12:43 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:35:05 +0000 |
| commit | a5ce03a1621e7dd6cf9b3c194f2d0a43f79ad2f0 (patch) | |
| tree | 216ac9b1cd34cca566fee6ba59298e8fc3d46763 | |
| parent | 3888c2e84482927286a7c359342ebbdac06cd6a8 (diff) | |
| download | poky-a5ce03a1621e7dd6cf9b3c194f2d0a43f79ad2f0.tar.gz | |
gnomebase.bbclass: return the whole version for tarball directory if it is a number
E.g. if version is '43' without any dots, existing code would return ''.
(From OE-Core rev: f3dfc90b8d4e7735eedfeab99d0ebe2ba6e970a0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 38c15322bdbb2423973939e861b5ad1ffb5c8b7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/gnomebase.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass index 9a5bd9a232..99ac472080 100644 --- a/meta/classes/gnomebase.bbclass +++ b/meta/classes/gnomebase.bbclass | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | def gnome_verdir(v): | 1 | def gnome_verdir(v): |
| 2 | return ".".join(v.split(".")[:-1]) | 2 | return ".".join(v.split(".")[:-1]) or v |
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | GNOME_COMPRESS_TYPE ?= "xz" | 5 | GNOME_COMPRESS_TYPE ?= "xz" |
