diff options
author | Dennis Eriksen <d@ennis.no> | 2020-03-16 12:01:04 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2020-03-16 12:01:04 +0100 |
commit | 69bb869e40b0dcfd290083aae58708046681697f (patch) | |
tree | 2115d22b5c82cf9689502a659400ef25b5f2fb05 | |
parent | lsb_release is not always installed - using grep and awk instead (diff) | |
download | mkosi-matrix-69bb869e40b0dcfd290083aae58708046681697f.tar.gz |
updating repo-location
-rw-r--r-- | mkosi.default | 2 | ||||
-rwxr-xr-x | mkosi.postinst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.default b/mkosi.default index c64bf5e..a0f17ac 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 fb577ac..6a745da 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 |