diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-10-08 14:31:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-10-08 14:31:47 -0300 |
commit | 1520ed9c229a95417da5433980d8c05514136ef5 (patch) | |
tree | 0109dec1682dea7bf2f82b24504d528dfd226cf8 /share/hydractl | |
parent | 6764344bb9ca41cb03d7cfeb394f72492ebf6247 (diff) | |
download | hydra-1520ed9c229a95417da5433980d8c05514136ef5.tar.gz hydra-1520ed9c229a95417da5433980d8c05514136ef5.tar.bz2 |
Fix: provision: new security.debian.org URL
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/provision | 4 | ||||
-rwxr-xr-x | share/hydractl/provision-chroot | 4 | ||||
-rwxr-xr-x | share/hydractl/provision-raspi | 4 |
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 |