From ddcf16d1f792153f7f7fec4b1dcbc11855b64208 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 29 Oct 2021 13:20:57 +0100 Subject: meta: Add explict branch to git SRC_URIs There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie --- meta/recipes-gnome/libhandy/libhandy_1.4.0.bb | 2 +- meta/recipes-gnome/libportal/libportal_0.4.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-gnome') diff --git a/meta/recipes-gnome/libhandy/libhandy_1.4.0.bb b/meta/recipes-gnome/libhandy/libhandy_1.4.0.bb index 39ee2aab86..1f032284e5 100644 --- a/meta/recipes-gnome/libhandy/libhandy_1.4.0.bb +++ b/meta/recipes-gnome/libhandy/libhandy_1.4.0.bb @@ -9,7 +9,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https" +SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=master" SRCREV = "f8626427acebfa08b2b4ee1166d51e416d3d7407" S = "${WORKDIR}/git" diff --git a/meta/recipes-gnome/libportal/libportal_0.4.bb b/meta/recipes-gnome/libportal/libportal_0.4.bb index 03e681f58c..5817302688 100644 --- a/meta/recipes-gnome/libportal/libportal_0.4.bb +++ b/meta/recipes-gnome/libportal/libportal_0.4.bb @@ -6,7 +6,7 @@ BUGTRACKER = "https://github.com/flatpak/libportal/issues" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" -SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https" +SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https;branch=master" SRCREV = "f68764e288ede516d902b131cc4fadded3804059" S = "${WORKDIR}/git" -- cgit v1.2.3-54-g00ecf