From caece7197dc3be057821b2aa00f1907078c646ca Mon Sep 17 00:00:00 2001 From: sneak Date: Sun, 1 Mar 2020 08:59:35 +0000 Subject: [PATCH 1/2] Update 'Dockerfile' --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 97534dc..e023e34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ ENV UBUNTU_MIRROR_ARCHITECTURES amd64 ENV UBUNTU_ENABLE_SOURCE_MIRRORING false ENV UBUNTU_MIRROR_CATEGORIES main,universe,restricted,multiverse,main/debian-installer ENV UBUNTU_MIRROR_UPSTREAM archive.ubuntu.com +ENV UBUNTU_MIRROR_UPSTREAM_PATH /ubuntu ENV UBUNTU_MIRROR_PROJECTS bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports # The following is the URL populated in /mirrors.txt as used by mirror:// -- 2.45.2 From 6f8da3c8e45cd3a4a82023374b9ba1581368996f Mon Sep 17 00:00:00 2001 From: sneak Date: Sun, 1 Mar 2020 08:59:57 +0000 Subject: [PATCH 2/2] Update 'mirror/syncubuntu.sh' --- mirror/syncubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 mirror/syncubuntu.sh diff --git a/mirror/syncubuntu.sh b/mirror/syncubuntu.sh old mode 100755 new mode 100644 index de9f73d..94126a9 --- a/mirror/syncubuntu.sh +++ b/mirror/syncubuntu.sh @@ -32,7 +32,7 @@ while [[ $DONE -eq 0 ]]; do --di-dist="$DIDIST" \ --di-arch=arches \ --ignore-small-errors \ - -r /ubuntu \ + -r "$UBUNTU_MIRROR_UPSTREAM_PATH" \ --getcontents \ --progress \ --method=http \ -- 2.45.2