diff mbox series

[yocto-autobuilder-helper] config.json: use private DL_DIR for AUH runs

Message ID 20240702090601.885502-1-alex.kanavin@gmail.com
State New
Headers show
Series [yocto-autobuilder-helper] config.json: use private DL_DIR for AUH runs | expand

Commit Message

Alexander Kanavin July 2, 2024, 9:06 a.m. UTC
AUH can produce broken recipes that can't complete do_fetch, and
this results in removal of files in DL_DIR, which races with
other builds, as seen here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15540

[YOCTO #15540]

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 config.json | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/config.json b/config.json
index 799b2b3..4a7099a 100644
--- a/config.json
+++ b/config.json
@@ -1554,6 +1554,7 @@ 
         "auh" : {
             "NEEDREPOS" : ["poky", "auto-upgrade-helper"],
             "extravars" :[
+                "DL_DIR = '${TOPDIR}/downloads'",
                 "INHERIT += 'buildhistory'",
                 "LICENSE_FLAGS_ACCEPTED = 'commercial'",
                 "DISTRO_FEATURES:append:libc-glibc = ' systemd usrmerge'",
@@ -1579,6 +1580,7 @@ 
         "auh-meta-oe": {
             "NEEDREPOS": ["poky", "auto-upgrade-helper", "meta-openembedded"],
             "extravars": [
+                "DL_DIR = '${TOPDIR}/downloads'",
                 "INHERIT += 'buildhistory'",
                 "LICENSE_FLAGS_ACCEPTED = 'commercial'",
                 "DISTRO_FEATURES:append:libc-glibc = ' systemd usrmerge'",