mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
gnomebase: trim the SRC_URI directory from the back
Rather than take the first two components, drop the last one at the end. This makes it compatible with both old and new gnome version schemes. (From OE-Core rev: fa8950d0cf6174ce517275fe44df9e4c0788d5f0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9be54cb3dc
commit
dc5bbd2607
@@ -1,5 +1,6 @@
|
||||
def gnome_verdir(v):
|
||||
return oe.utils.trim_version(v, 2)
|
||||
return ".".join(v.split(".")[:-1])
|
||||
|
||||
|
||||
GNOME_COMPRESS_TYPE ?= "xz"
|
||||
SECTION ?= "x11/gnome"
|
||||
|
||||
Reference in New Issue
Block a user