From 1520ed9c229a95417da5433980d8c05514136ef5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 8 Oct 2021 14:31:47 -0300 Subject: Fix: provision: new security.debian.org URL --- share/hydractl/provision | 4 ++-- share/hydractl/provision-chroot | 4 ++-- share/hydractl/provision-raspi | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'share/hydractl') 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 -- cgit v1.2.3