fix(ci): set DL_DIR, TMPDIR, SSTATE_DIR to external locations
Some checks failed
diya-opi-distrib / build (push) Has been cancelled

This commit is contained in:
dany 2025-03-22 12:42:25 +01:00
parent 526b0ec6eb
commit 12c2928948

View File

@ -16,14 +16,13 @@ jobs:
run: git submodule update --init run: git submodule update --init
- name: Init env - name: Init env
run: | run: |
mkdir -p /build/cache
mkdir -p /build/downloads mkdir -p /build/downloads
mkdir -p /build/sstate-cache mkdir -p /build/sstate-cache
mkdir -p /build/tmp mkdir -p /build/tmp
ln -sf /build/cache build/cache echo "DL_DIR = \"/build/downloads\"" >> build/conf/local.conf
ln -sf /build/downloads build/downloads echo "TMPDIR = \"/build/tmp\"" >> build/conf/local.conf
ln -sf /build/sstate-cache build/sstate-cache echo "SSTATE_DIR = \"/build/sstate-cache\"" >> build/conf/local.conf
ln -sf /build/tmp build/tmp
- name: build image for Orpi - name: build image for Orpi
run: | run: |
cd poky && source oe-init-build-env ../build cd poky && source oe-init-build-env ../build