Skip to content

umockdev switch the branch name from master to main #97

@horryjing

Description

@horryjing

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions