mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
adt_installer: fix syntax error
We need to check YOCTOADT_QEMU variable whether is equal to "y". So we should use "==" rather than "=". (From OE-Core rev: 656a784a7c43b619d51a47aab926d7c519cc3b4b) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -169,7 +169,7 @@ for target_type in $YOCTOADT_TARGETS; do
|
||||
$SUDO sed -i -e "s%##SDKTARGETSYSROOT##%$target_sysroot%g" $env_script
|
||||
done
|
||||
|
||||
if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then
|
||||
if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" == "y" ]; then
|
||||
echo_info "\nInstalling qemu native ..."
|
||||
$OPKG_INSTALL_NATIVE_CMD nativesdk-qemu &>> $YOCTOADT_INSTALL_LOG_FILE
|
||||
check_result
|
||||
|
||||
Reference in New Issue
Block a user