diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2020-10-20 05:05:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2020-10-20 19:16:16 +0000 |
commit | 4d1982ca8098858f132b6506a53f8d4935b6786c (patch) | |
tree | bcd34c921eb992fe2b76557da7b0c75a68fb0d05 | |
parent | Adding support for Debian 11 (bullseye) to debootstrap container create script. (diff) | |
download | compute-tools-4d1982ca8098858f132b6506a53f8d4935b6786c.tar.xz compute-tools-4d1982ca8098858f132b6506a53f8d4935b6786c.zip |
Adding support for Debian 11 (bullseye) to debconf container create script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-x | share/scripts/debconf | 6 | ||||
-rwxr-xr-x | share/scripts/debconf.d/0003-debconf | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index 197791a..6d21951 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -499,10 +499,14 @@ EOF for PARENT_REPO in ${PARENT_ARCHIVES} do case "${PARENT_REPO}" in - ${PARENT_DIST}-security) + buster-security) echo "deb ${PARENT_MIRROR_SECURITY} ${PARENT_DIST}/updates ${PARENT_AREA}" >> "${DIRECTORY}/etc/apt/sources.list.d/debian.list" ;; + bullseye-security) + echo "deb ${PARENT_MIRROR_SECURITY} ${PARENT_DIST}-security ${PARENT_AREA}" >> "${DIRECTORY}/etc/apt/sources.list.d/debian.list" + ;; + ${PARENT_DIST}-updates) echo "deb ${PARENT_MIRROR} ${PARENT_DIST}-updates ${PARENT_AREA}" >> "${DIRECTORY}/etc/apt/sources.list.d/debian.list" ;; diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf index c5925f2..382e8e2 100755 --- a/share/scripts/debconf.d/0003-debconf +++ b/share/scripts/debconf.d/0003-debconf @@ -53,10 +53,10 @@ Distribution () then case "${MODE}" in debian) - db_subst container/distribution CHOICES "Debian GNU/Linux 9 \"stretch\", Debian GNU/Linux 10 \"buster\", Debian GNU/Linux testing/bullseye, Debian GNU/Linux unstable/sid" + db_subst container/distribution CHOICES "Debian GNU/Linux 9 \"stretch\", Debian GNU/Linux 10 \"buster\", Debian GNU/Linux 11 \"bullseye\", Debian GNU/Linux unstable/sid" db_subst container/distribution CHOICES_C "stretch, buster, bullseye, sid" - db_set container/distribution buster + db_set container/distribution bullseye db_fset container/distribution seen false ;; |