summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 5706a9e4e3..3b59d85f4e 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -129,7 +129,7 @@ do_patch() {
129 # check to see if the specified SRCREV is reachable from the final branch. 129 # check to see if the specified SRCREV is reachable from the final branch.
130 # if it wasn't something wrong has happened, and we should error. 130 # if it wasn't something wrong has happened, and we should error.
131 if [ "${machine_srcrev}" != "AUTOINC" ]; then 131 if [ "${machine_srcrev}" != "AUTOINC" ]; then
132 if ! [ "$(git rev-parse --verify ${machine_srcrev})" = "$(git merge-base ${machine_srcrev} HEAD)" ]; then 132 if ! [ "$(git rev-parse --verify ${machine_srcrev}~0)" = "$(git merge-base ${machine_srcrev} HEAD)" ]; then
133 bberror "SRCREV ${machine_srcrev} was specified, but is not reachable" 133 bberror "SRCREV ${machine_srcrev} was specified, but is not reachable"
134 bbfatal "Check the BSP description for incorrect branch selection, or other errors." 134 bbfatal "Check the BSP description for incorrect branch selection, or other errors."
135 fi 135 fi