From 449918a6098ab5932ac3d79661c4218176c1b851 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 16 Mar 2020 12:04:39 +0100 Subject: updating repo-location --- mkosi.default | 2 +- mkosi.postinst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mkosi.default b/mkosi.default index b3afc8c..f82b17b 100644 --- a/mkosi.default +++ b/mkosi.default @@ -2,7 +2,7 @@ Distribution=ubuntu Release=bionic Repositories=main,universe -Mirror=http://no.archive.ubuntu.com +Mirror=http://no.archive.ubuntu.com/ubuntu [Output] Format=directory diff --git a/mkosi.postinst b/mkosi.postinst index 1c599bb..f5af255 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -9,8 +9,8 @@ systemctl mask motd-news.timer # Add update- and security-repositories, and perform upgrade RELEASE=$(cat /etc/lsb-release | grep DISTRIB_CODENAME | awk -F'=' '{print $2}') -echo "deb http://no.archive.ubuntu.com ${RELEASE}-security main universe" >> /etc/apt/sources.list -echo "deb http://no.archive.ubuntu.com ${RELEASE}-updates main universe" >> /etc/apt/sources.list +echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-security main universe" >> /etc/apt/sources.list +echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-updates main universe" >> /etc/apt/sources.list apt update && apt --yes full-upgrade && apt --yes autoremove # locales -- cgit v1.2.3