diff --git a/scripts/yocto_cache_setup.sh b/scripts/yocto_cache_setup.sh index 6a04d28ced277a75f6e3d237b10bf47e134f7a9f..8dc226a90be6b302aad4215ffcc91fb7ecfc1880 100644 --- a/scripts/yocto_cache_setup.sh +++ b/scripts/yocto_cache_setup.sh @@ -22,15 +22,9 @@ if [ -z "$CUSTOM" ]; then elif [[ $PROCESSOR == *intel* && "$CI_JOB_NAME" == *"embedded"* ]]; then echo 'SSTATE_DIR = "/var/cache/edgehog_sstate-intel-embedded"' >> conf/local.conf; fi -else - if [[ "$CI_JOB_NAME" != *"embedded"* ]]; then - echo 'SSTATE_DIR = "/var/cache/edgehog_sstate-'"${CUSTOM}"'-things"' >> conf/local.conf; - else - echo 'SSTATE_DIR = "/var/cache/edgehog_sstate-'"${CUSTOM}"'-embedded"' >> conf/local.conf; - fi fi echo '###############################' echo '#### Displaying local.conf ####' echo '###############################' -cat conf/local.conf \ No newline at end of file +cat conf/local.conf