aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision4
-rwxr-xr-xshare/hydractl/provision-chroot4
-rwxr-xr-xshare/hydractl/provision-raspi4
3 files changed, 6 insertions, 6 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 1808d69..9c4b32f 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -428,8 +428,8 @@ hydra_sudo_run mv $WORK/etc/hosts.new $WORK/etc/hosts
# Apt
if [ "$version" != "sid" ]; then
- echo "deb http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list
- echo "deb-src http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list
+ echo "deb http://security.debian.org/debian-security $version-security main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list
+ echo "deb-src http://security.debian.org/debian-security $version-security main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list
fi
# Initial upgrade.
diff --git a/share/hydractl/provision-chroot b/share/hydractl/provision-chroot
index 7d518f8..28ea669 100755
--- a/share/hydractl/provision-chroot
+++ b/share/hydractl/provision-chroot
@@ -50,8 +50,8 @@ hydra_sudo_run debootstrap --force-check-gpg --variant=minbase --arch $arch $ver
# Apt
if [ "$version" != "sid" ]; then
- echo "deb http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee $WORK/etc/apt/sources.list
- echo "deb-src http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee $WORK/etc/apt/sources.list
+ echo "deb http://security.debian.org/debian-security $version-security main contrib non-free" | $SUDO tee $WORK/etc/apt/sources.list
+ echo "deb-src http://security.debian.org/debian-security $version-security main contrib non-free" | $SUDO tee $WORK/etc/apt/sources.list
fi
# Initial upgrade.
diff --git a/share/hydractl/provision-raspi b/share/hydractl/provision-raspi
index 1acb280..8444186 100755
--- a/share/hydractl/provision-raspi
+++ b/share/hydractl/provision-raspi
@@ -72,8 +72,8 @@ hydra_sudo_run cp /usr/bin/qemu-arm-static $WORK/usr/bin/
$CHROOT /debootstrap/debootstrap --second-stage
# Apt configuration
-echo "deb $mirror $version main contrib non-free" | hydra_sudo_run tee $WORK/etc/apt/sources.list > /dev/null
-echo "deb http://security.debian.org/ $version/updates main contrib non-free" | hydra_sudo_run tee -a $WORK/etc/apt/sources.list > /dev/null
+echo "deb $mirror $version main contrib non-free" | hydra_sudo_run tee $WORK/etc/apt/sources.list > /dev/null
+echo "deb http://security.debian.org/debian-security $version-security main contrib non-free" | hydra_sudo_run tee -a $WORK/etc/apt/sources.list > /dev/null
# Basic packages
$CHROOT apt-get update