diff mbox series

[yocto-autobuilder2,2/5] docker: Fix scheduled builds disabling

Message ID 20250707-contrib-mathieu-popup_title-v1-2-d683ba953b96@bootlin.com
State New
Headers show
Series yocto_console_view: Fix build bullets title | expand

Commit Message

Mathieu Dubois-Briand July 7, 2025, 2:05 p.m. UTC
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
 docker/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/docker/Dockerfile b/docker/Dockerfile
index d46e7f403bb8..3538aff5e640 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -122,7 +122,8 @@  RUN sed -i \
         /home/pokybuild/yocto-controller/master.cfg && \
     # Comment any sched.Nightly schedulers \
     # We try to support multilines code blocks by counting parenthesis \
-    awk '/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \
+    awk -i inplace \
+        '/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \
         /home/pokybuild/yocto-controller/yoctoabb/schedulers.py
 
 COPY docker/entry.sh /