From 64d33d4cef3b79122cbe4b62b80817f679b656df Mon Sep 17 00:00:00 2001 From: Katharina Drexel Date: Tue, 6 Oct 2020 16:45:04 +0200 Subject: Adding overlay options to debconf script. Signed-off-by: Katharina Drexel Signed-off-by: Daniel Baumann --- share/scripts/debconf.d/0003-debconf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share/scripts/debconf.d/0003-debconf') diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf index 1fcb878..dc2db47 100755 --- a/share/scripts/debconf.d/0003-debconf +++ b/share/scripts/debconf.d/0003-debconf @@ -1246,6 +1246,13 @@ Internal_options () fi echo "CNT_OVERLAY=\"${CNT_OVERLAY}\"" >> "${DEBCONF_TMPDIR}/debconf.default" + + if db_get container/overlay-options + then + CNT_OVERLAY_OPTIONS="${RET}" # string (w/ empty) + fi + + echo "CNT_OVERLAY_OPTIONS=\"${CNT_OVERLAY_OPTIONS}\"" >> "${DEBCONF_TMPDIR}/debconf.default" } Mode -- cgit v1.2.3