Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umockdev switch the branch name from master to main #97

Open
horryjing opened this issue Dec 11, 2024 · 0 comments
Open

umockdev switch the branch name from master to main #97

horryjing opened this issue Dec 11, 2024 · 0 comments

Comments

@horryjing
Copy link

I'm not sure if it's an issue or not.
Nowadays, the umockdev switched the branch name from master to main.
I got the fetch error:
ERROR: umockdev-0.15.5-r0 do_fetch: Fetcher failure: Unable to find revision 8d53ab042b30dfb3f3be7cd9803aa8a545ef1f53 in branch master even from upstream
ERROR: umockdev-0.15.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/martinpitt/umockdev.git;branch=master;protocol=https')

It seems to work now after changing the branch name to main in the .bb file locally.

diff --git a/recipes-support/umockdev/umockdev.bb b/recipes-support/umockdev/umockdev.bb
index b1a8abd1..c78fc612 100644
--- a/recipes-support/umockdev/umockdev.bb
+++ b/recipes-support/umockdev/umockdev.bb
@@ -2,7 +2,7 @@ SUMMARY = "Mock hardware devices for creating unit tests and bug reporting"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

-SRC_URI = "git://github.com/martinpitt/umockdev.git;branch=master;protocol=https"
+SRC_URI = "git://github.com/martinpitt/umockdev.git;branch=main;protocol=https"
SRCREV = "8d53ab042b30dfb3f3be7cd9803aa8a545ef1f53"
PV = "0.15.5"
S = "${WORKDIR}/git"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant