Skip to content

Commit a398f4f

Browse files
committed
Skip fetching mosquitto
Signed-off-by: Uilian Ries <uilianries@gmail.com>
1 parent acc1237 commit a398f4f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/cross_build/yocto/ci_test_example.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ bitbake-layers add-layer ../meta-conan
2727
echo "INFO: Present layers"
2828
bitbake-layers show-layers
2929

30+
if [ -n "${CONAN_YOCTO_BUILD_MOSQUITTO}" ]; then
31+
echo 'IMAGE_INSTALL:append = " conan-mosquitto"' >> conf/local.conf
3032

31-
echo 'IMAGE_INSTALL:append = " conan-mosquitto"' >> conf/local.conf
32-
33-
echo "INFO: Fetching mosquitto"
34-
bitbake -v -c fetch conan-mosquitto
33+
echo "INFO: Fetching mosquitto"
34+
bitbake -v -c fetch conan-mosquitto
3535

36-
if [ -n "${CONAN_YOCTO_BUILD_MOSQUITTO}" ]; then
3736
echo "INFO: Building mosquitto"
3837
bitbake -v -c configure conan-mosquitto
3938
bitbake -v -c compile conan-mosquitto

0 commit comments

Comments
 (0)