From f90542f3b8631ff310fcee363547e974902d42b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sp=C3=B6hel?= Date: Tue, 23 Jul 2019 08:07:23 +0200 Subject: Fixing the debconf script to use the bind-ro string when preseeding. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Simon Spöhel Signed-off-by: Daniel Baumann --- share/scripts/debconf.d/0003-debconf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf index 02f80a6..1e0a99a 100755 --- a/share/scripts/debconf.d/0003-debconf +++ b/share/scripts/debconf.d/0003-debconf @@ -1229,6 +1229,13 @@ Internal_options () echo "BIND=\"${BIND}\"" >> "${DEBCONF_TMPDIR}/debconf.default" + if db_get container/bind-ro + then + BIND_RO="${RET}" # string (w/ empty) + fi + + echo "BIND_RO=\"${BIND_RO}\"" >> "${DEBCONF_TMPDIR}/debconf.default" + if db_get container/overlay then CNT_OVERLAY="${RET}" # string (w/ empty) -- cgit v1.2.3