From f23f2cb5c9dea1150b051bd84f4674d65ee14965 Mon Sep 17 00:00:00 2001 From: Andrew Jorgensen Date: Wed, 20 Nov 2024 11:53:24 -0800 Subject: [PATCH] Disable APT Daily on Debian worker image to avoid APT lock contention (#2414) --- daisy_workflows/image_build/debian/debian_worker.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daisy_workflows/image_build/debian/debian_worker.sh b/daisy_workflows/image_build/debian/debian_worker.sh index 6a85b6e61..8cce01636 100644 --- a/daisy_workflows/image_build/debian/debian_worker.sh +++ b/daisy_workflows/image_build/debian/debian_worker.sh @@ -16,6 +16,10 @@ # Builds a Debian based image for import, export, and build tasks. Preloads # dependencies and binaries for these workflows. +echo "BuildStatus: Disabling APT Daily." +systemctl disable apt-daily.timer +systemctl stop apt-daily.timer + echo "BuildStatus: Updating package cache." apt -y update if [[ $? -ne 0 ]]; then