path: root/scripts/lib
diff options
authorTom Zanussi <>2013-01-15 22:59:57 (GMT)
committerRichard Purdie <>2013-01-16 12:08:01 (GMT)
commita746719a46e9277a118fd7d4a6342bb667034132 (patch)
treec43113311d641844e5affefde108a61f5d163fb3 /scripts/lib
parente02b31623dac54f82509fcb5588bb58daaaa75e0 (diff)
yocto-bsp: add basic git connectivity check
yocto-bsp create does a 'git ls-remote 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 <>
Diffstat (limited to 'scripts/lib')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/bsp/ b/scripts/lib/bsp/
index 256b25c..6d5feb0 100644
--- a/scripts/lib/bsp/
+++ b/scripts/lib/bsp/
@@ -41,7 +41,7 @@ INPUT_TYPE_PROPERTY = "type"
41 41
42SRC_URI_FILE = "file://" 42SRC_URI_FILE = "file://"
43 43
44 44GIT_CHECK_URI = "git://"
45 45
46 46
47 47