Bug 3279 - yocto-bsp: do a sanity check and exit with a coherent message on failure
Summary: yocto-bsp: do a sanity check and exit with a coherent message on failure
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-tools (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4 M2
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-10-11 15:41 UTC by Tom Zanussi
Modified: 2013-02-22 10:20 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Zanussi 2012-10-11 15:41:36 UTC
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.
Comment 1 Tom Zanussi 2013-01-16 18:34:33 UTC
Fixed by poky/master commit: a746719a46e9277a118fd7d4a6342bb667034132
Comment 2 Alexandru Georgescu 2013-02-22 10:20:48 UTC
Verified.