From a746719a46e9277a118fd7d4a6342bb667034132 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Tue, 15 Jan 2013 16:59:57 -0600 Subject: yocto-bsp: add basic git connectivity check yocto-bsp create does a 'git ls-remote git://git.yoctoproject.org/linux-yocto-3.4.git *heads*' to get the set of existing branches from the kernel repo. If the user isn't connected to the network, or if git isn't configured sanely, yocto-bsp fails with an ugly Python backtrace. We should try to avoid this by doing a basic sanity check for those things before actually running the command. The sanity check can be avoided by specifying -s on the yocto-bsp command-line: $ yocto-bsp create -s test qemu Fixes [YOCTO #3279] (From meta-yocto rev: 496e76f9bed2ed5a04ef757724d2e63d05c7a601) Signed-off-by: Tom Zanussi Signed-off-by: Richard Purdie --- scripts/lib/bsp/tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib') diff --git a/scripts/lib/bsp/tags.py b/scripts/lib/bsp/tags.py index 256b25cb04..6d5feb0a59 100644 --- a/scripts/lib/bsp/tags.py +++ b/scripts/lib/bsp/tags.py @@ -41,7 +41,7 @@ INPUT_TYPE_PROPERTY = "type" SRC_URI_FILE = "file://" - +GIT_CHECK_URI = "git://git.yoctoproject.org/linux-yocto-dev.git" -- cgit v1.2.3-54-g00ecf