summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 13:34:32 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 13:39:09 +0000
commit9d512231b669921bb47026fede30dc4b17b11eb6 (patch)
tree4e91ff81b94aba819e93b18776a24b90372ac637 /share
parentUsing https instead of http in all comments. (diff)
downloadcompute-tools-9d512231b669921bb47026fede30dc4b17b11eb6.tar.xz
compute-tools-9d512231b669921bb47026fede30dc4b17b11eb6.zip
Adding support for Debian bookworm in container debconf create script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share')
-rwxr-xr-xshare/scripts/debconf2
-rwxr-xr-xshare/scripts/debconf.d/0003-debconf4
2 files changed, 3 insertions, 3 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index 934321b..1994926 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -491,7 +491,7 @@ EOF
echo "deb ${PARENT_MIRROR_SECURITY} ${PARENT_DIST}/updates ${PARENT_AREA}" >> "${DIRECTORY}/etc/apt/sources.list.d/debian.list"
;;
- bullseye-security)
+ ${PARENT_DIST}-security)
echo "deb ${PARENT_MIRROR_SECURITY} ${PARENT_DIST}-security ${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 4e717d2..50b326e 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -53,8 +53,8 @@ Distribution ()
then
case "${MODE}" in
debian)
- db_subst container/distribution CHOICES "Debian GNU/Linux 10 \"buster\", Debian GNU/Linux 11 \"bullseye\", Debian GNU/Linux unstable/sid"
- db_subst container/distribution CHOICES_C "buster, bullseye, sid"
+ db_subst container/distribution CHOICES "Debian GNU/Linux 10 \"buster\", Debian GNU/Linux 11 \"bullseye\", Debian GNU/Linux testing/bookworm, Debian GNU/Linux unstable/sid"
+ db_subst container/distribution CHOICES_C "buster, bullseye, bookworm, sid"
db_set container/distribution bullseye
db_fset container/distribution seen false