mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
classes/populate_sdk_base: fix usage of & character in SDK_TITLE
If you used an & character in SDK_TITLE (possibly indirectly from DISTRO_NAME) then sed interpreted this as a directive to paste in the replaced string (@SDK_TITLE@ in this case). Escape any & characters in SDK_TITLE to avoid that. (From OE-Core rev: acb85689c13cfdac21435509001048af5c3a7e99) (From OE-Core rev: bbad3402d431ac178cabdc00fcaf37b3a1a6bfd6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
914e89709c
commit
95a10d1dfc
@@ -223,7 +223,7 @@ EOF
|
||||
-e 's#@SDKEXTPATH@#${SDKEXTPATH}#g' \
|
||||
-e 's#@OLDEST_KERNEL@#${SDK_OLDEST_KERNEL}#g' \
|
||||
-e 's#@REAL_MULTIMACH_TARGET_SYS@#${REAL_MULTIMACH_TARGET_SYS}#g' \
|
||||
-e 's#@SDK_TITLE@#${SDK_TITLE}#g' \
|
||||
-e 's#@SDK_TITLE@#${@d.getVar("SDK_TITLE", True).replace('&', '\&')}#g' \
|
||||
-e 's#@SDK_VERSION@#${SDK_VERSION}#g' \
|
||||
-e '/@SDK_PRE_INSTALL_COMMAND@/d' \
|
||||
-e '/@SDK_POST_INSTALL_COMMAND@/d' \
|
||||
|
||||
Reference in New Issue
Block a user