mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
kernel-yocto: Fix case where recipe is always reparsed
If you include a bitbake variable as a comment in a shell function then it gets expanded by the bitbake signature handling code. This could be classed as a bug or a feature depending on your viewpoint (e.g. a multiline variable included in a comment could actually contain executable code). Since we don't always want kernel-yocto to reparse this changes the syntax of the comment so it doesn't trigger the problem. (From OE-Core rev: 512be74ee0d7ad7e76c1be62d1e0f499aa51d174) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -136,7 +136,7 @@ do_validate_branches() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# nothing to do if SRCREV=${AUTOREV}
|
# nothing to do if SRCREV is AUTOREV
|
||||||
if [ "${SRCREV_machine}" = "AUTOINC" ]; then
|
if [ "${SRCREV_machine}" = "AUTOINC" ]; then
|
||||||
# restore the branch for builds
|
# restore the branch for builds
|
||||||
git checkout -f ${KBRANCH}
|
git checkout -f ${KBRANCH}
|
||||||
|
|||||||
Reference in New Issue
Block a user