summaryrefslogtreecommitdiffstats
path: root/share/scripts/debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-24 18:45:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-24 18:55:55 +0000
commitf36095ed361afeaad2f44720ada816ec3bee7cb6 (patch)
treef456942861d9aaa471e870573ce2c3932fb30c48 /share/scripts/debootstrap
parentReleasing progress-linux version 20210630-1. (diff)
downloadopen-infrastructure-compute-tools-f36095ed361afeaad2f44720ada816ec3bee7cb6.tar.xz
open-infrastructure-compute-tools-f36095ed361afeaad2f44720ada816ec3bee7cb6.zip
Merging upstream version 20210724.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/scripts/debootstrap')
-rwxr-xr-xshare/scripts/debootstrap4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/scripts/debootstrap b/share/scripts/debootstrap
index f0db7e8..9f5b6eb 100755
--- a/share/scripts/debootstrap
+++ b/share/scripts/debootstrap
@@ -174,9 +174,11 @@ do
fi
done
+# Run
mkdir -p "${MACHINES}"
-
${BOOTSTRAP} ${BOOTSTRAP_OPTIONS} --arch=${ARCHITECTURE} --include=${INCLUDE} ${DISTRIBUTION} ${MACHINES}/${NAME} ${MIRROR}
+
+# Cleaning apt cache
chroot "${MACHINES}/${NAME}" apt clean
# Setting hostname