[oe-commits] Bruce Ashfield : linux-yocto: drop suggestion of devshell for patch failures

git at git.openembedded.org git at git.openembedded.org
Fri May 22 12:35:08 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: d6a0c0f60ea85235479d968f75d067a10ce21574
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d6a0c0f60ea85235479d968f75d067a10ce21574

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Tue May 12 16:21:45 2015 -0400

linux-yocto: drop suggestion of devshell for patch failures

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 at windriver.com>

---

 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 88588d7..6fd025e 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -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.



More information about the Openembedded-commits mailing list