[v9,11/14] scripts/ci_build.sh: Enable deb-src caching

Message ID 20201126112108.3320-3-Vijaikumar_Kanagarajan@mentor.com
State Superseded, archived
Headers show
Series Debsrc caching | expand

Commit Message

Vijai Kumar K Nov. 26, 2020, 1:21 a.m. UTC
Enable debsrc caching for CI builds.

Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
---
 scripts/ci_build.sh | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index c0a032e..fb458ae 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -184,6 +184,7 @@  if [ -n "$REPRO_BUILD" ]; then
     sed -i -e 's/^BB_NO_NETWORK/#BB_NO_NETWORK/g' conf/local.conf
 fi
 
+sed -i -e 's/^#BASE_REPO_FEATURES ?= "cache-deb-src"/BASE_REPO_FEATURES ?= "cache-deb-src"/g' conf/local.conf
 # Start cross build for the defined set of configurations
 sed -i -e 's/ISAR_CROSS_COMPILE ?= "0"/ISAR_CROSS_COMPILE ?= "1"/g' conf/local.conf
 bitbake $BB_ARGS $CROSS_TARGETS_SET