public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][kirkstone 24/31] gnomebase.bbclass: return the whole version for tarball directory if it is a number
Date: Sun, 27 Nov 2022 03:55:10 -1000	[thread overview]
Message-ID: <f3dfc90b8d4e7735eedfeab99d0ebe2ba6e970a0.1669557026.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1669557026.git.steve@sakoman.com>

From: Alexander Kanavin <alex.kanavin@gmail.com>

E.g. if version is '43' without any dots, existing code would return ''.

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>
---
 meta/classes/gnomebase.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@
 def gnome_verdir(v):
-    return ".".join(v.split(".")[:-1])
+    return ".".join(v.split(".")[:-1]) or v
 
 
 GNOME_COMPRESS_TYPE ?= "xz"
-- 
2.25.1



  parent reply	other threads:[~2022-11-27 13:56 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-27 13:54 [OE-core][kirkstone 00/31] Patch review Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 01/31] libsndfile1: Backport fix for CVE-2021-4156 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 02/31] bash: backport patch to fix CVE-2022-3715 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 03/31] ffmpeg: fix for CVE-2022-3964 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 04/31] ffmpeg: fix for CVE-2022-3965 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 05/31] python3: fix CVE-2022-42919 local privilege escalation via the multiprocessing forkserver start method Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 06/31] go: fix CVE-2022-2880 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 07/31] linux-firmware: upgrade 20220913 -> 20221012 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 08/31] xwayland: upgrade 22.1.3 -> 22.1.4 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 09/31] xwayland: upgrade 22.1.4 -> 22.1.5 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 10/31] libffi: upgrade 3.4.2 -> 3.4.4 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 11/31] libical: upgrade 3.0.15 -> 3.0.16 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 12/31] mtd-utils: upgrade 2.1.4 -> 2.1.5 Steve Sakoman
2022-11-27 13:54 ` [OE-core][kirkstone 13/31] gdk-pixbuf: upgrade 2.42.9 -> 2.42.10 Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 14/31] gstreamer1.0: upgrade 1.20.3 -> 1.20.4 Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 15/31] libepoxy: convert to git Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 16/31] libepoxy: update 1.5.9 -> 1.5.10 Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 17/31] mobile-broadband-provider-info: upgrade 20220725 -> 20221107 Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 18/31] babeltrace: upgrade 1.5.8 -> 1.5.11 Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 19/31] iso-codes: upgrade 4.11.0 -> 4.12.0 Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 20/31] qemu-helper-native: Re-write bridge helper as C program Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 21/31] qemu-helper-native: Correctly pass program name as argv[0] Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 22/31] linux-firmware: don't put the firmware into the sysroot Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 23/31] vala: install vapigen-wrapper into /usr/bin/crosscripts and stage only that Steve Sakoman
2022-11-27 13:55 ` Steve Sakoman [this message]
2022-11-27 13:55 ` [OE-core][kirkstone 25/31] sstatesig: skip the rm_work task signature Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 26/31] rm_work: exclude the SSTATETASKS from the rm_work tasks sinature Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 27/31] sstate: Allow optimisation of do_deploy_archives task dependencies Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 28/31] sanity: Drop data finalize call Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 29/31] systemd: add group render to udev package Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 30/31] meta-selftest/staticids: add render group for systemd Steve Sakoman
2022-11-27 13:55 ` [OE-core][kirkstone 31/31] create-spdx: default share_src for shared sources Steve Sakoman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3dfc90b8d4e7735eedfeab99d0ebe2ba6e970a0.1669557026.git.steve@sakoman.com \
    --to=steve@sakoman.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox