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:11 +0000 |
| commit | af79d91a5032c1e0ce4315c19533b865da8dc636 (patch) | |
| tree | c6811a00c5483620d51a5e7aae0c87e63f9f2872 | |
| parent | 509f2f810051ec3b9f37cefa7800822eba18a74a (diff) | |
| download | poky-af79d91a5032c1e0ce4315c19533b865da8dc636.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: 71ba56c6d2703f9d4498e2cbff9c0aa70b964801)
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-recipe/gnomebase.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/gnomebase.bbclass b/meta/classes-recipe/gnomebase.bbclass index 805daafa40..5e72f549a3 100644 --- a/meta/classes-recipe/gnomebase.bbclass +++ b/meta/classes-recipe/gnomebase.bbclass | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # | 5 | # |
| 6 | 6 | ||
| 7 | def gnome_verdir(v): | 7 | def gnome_verdir(v): |
| 8 | return ".".join(v.split(".")[:-1]) | 8 | return ".".join(v.split(".")[:-1]) or v |
| 9 | 9 | ||
| 10 | 10 | ||
| 11 | GNOME_COMPRESS_TYPE ?= "xz" | 11 | GNOME_COMPRESS_TYPE ?= "xz" |
