]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
semaphore: stop deleting all apt sources
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 May 2026 11:58:33 +0000 (12:58 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 May 2026 15:50:05 +0000 (16:50 +0100)
The image configuration was changed and the main sources are
now in a drop-in apt sources files too, so deleting the whole
drop-in directory breaks installing packages. Just delete the
disabled ones and chrome.

.semaphore/semaphore-runner.sh

index 171cac8e1c702811e3c4efa3fec02e54fafe0089..22dc9fc4ffd73e3494c35ec9230ab9664a0a8a67 100755 (executable)
@@ -68,8 +68,8 @@ EOF
 for phase in "${PHASES[@]}"; do
     case "$phase" in
         SETUP)
-            # remove semaphore repos, some of them don't work and cause error messages
-            sudo rm -rf /etc/apt/sources.list.d/*
+            # remove chrome repo, we don't need it
+            sudo rm -rf /etc/apt/sources.list.d/google-chrome.sources
 
             # enable backports for latest LXC
             echo "deb http://archive.ubuntu.com/ubuntu $UBUNTU_RELEASE-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/backports.list