]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: drop suggestion of devshell for patch failures
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 12 May 2015 20:21:45 +0000 (16:21 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 May 2015 12:34:30 +0000 (13:34 +0100)
When a patch fails to apply, the kernel-yocto bbclass attempted to
be helpful and suggest that devshell be used to fix the issue.

The only problem is that you can't get to devshell if a patch is
failing.

We drop this bad advise and instead point to the linux source directory.

[YOCTO: #6202]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass

index 88588d7cacc93008c5cc75bea27a37689fe475bd..6fd025ef1e0c79e6448d40bd9fc76e8f83dd6450 100644 (file)
@@ -163,7 +163,7 @@ do_patch() {
        patchme ${KMACHINE}
        if [ $? -ne 0 ]; then
                bberror "Could not apply patches for ${KMACHINE}."
-               bbfatal "Patch failures can be resolved in the devshell (bitbake -c devshell ${PN})"
+               bbfatal "Patch failures can be resolved in the linux source directory ${S})"
        fi
 
        # check to see if the specified SRCREV is reachable from the final branch.