mirror of
https://github.com/systemd/systemd.git
synced 2026-06-24 08:47:49 +00:00
semaphore: stop deleting all apt sources
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.
This commit is contained in:
@@ -68,8 +68,8 @@ EOF
|
|||||||
for phase in "${PHASES[@]}"; do
|
for phase in "${PHASES[@]}"; do
|
||||||
case "$phase" in
|
case "$phase" in
|
||||||
SETUP)
|
SETUP)
|
||||||
# remove semaphore repos, some of them don't work and cause error messages
|
# remove chrome repo, we don't need it
|
||||||
sudo rm -rf /etc/apt/sources.list.d/*
|
sudo rm -rf /etc/apt/sources.list.d/google-chrome.sources
|
||||||
|
|
||||||
# enable backports for latest LXC
|
# 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
|
echo "deb http://archive.ubuntu.com/ubuntu $UBUNTU_RELEASE-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/backports.list
|
||||||
|
|||||||
Reference in New Issue
Block a user