aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-03-16 11:43:34 +0100
committerDennis Eriksen <d@ennis.no>2020-03-16 11:43:34 +0100
commit72823ec4f601d37f81e58f3127d8a8c4e9ce53e1 (patch)
tree6397248e1c5aaba1e739a569814fb96c6a3cc1dd
parentlatest version of filebin requires go1.13, which is newer than what ubuntu sh... (diff)
downloadmkosi-filebin-72823ec4f601d37f81e58f3127d8a8c4e9ce53e1.tar.gz
updating repo-location
-rw-r--r--mkosi.default2
-rwxr-xr-xmkosi.postinst4
2 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.default b/mkosi.default
index dbe196e..3a1395d 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 f298cb2..b0a6c62 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