[PATCH 7/7] Add logging of preseeded debconf questions
Log along the way as there is no preseed file to debug anymore.
Signed-off-by: Loïc Minier <lool@debian.org>
---
functions | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/functions b/functions
index 634926d..26e2e16 100644
--- a/functions
+++ b/functions
@@ -179,6 +179,7 @@ parse_sib_conf() {
# $1 = question
# $2 = value
op_db_set() {
+ log "Setting $1 to \"$2\""
if ! db_set "$1" "$2"; then
db_register debian-installer/dummy "$1"
db_set "$1" "$2"
@@ -191,6 +192,7 @@ op_db_set() {
# Preseed a debconf question as seen, but don't set its value
# $1 = question
op_db_seen() {
+ log "Setting $1 as seen"
if ! db_fset "$1" "seen" "true"; then
db_register debian-installer/dummy "$1"
db_fset "$1" "seen" "true"
--
1.7.5.4
Reply to: