Increase verbosity

This commit is contained in:
rockstable 2022-12-11 15:45:52 +01:00
parent 49d6ada236
commit 37a854cd1c
1 changed files with 5 additions and 1 deletions

View File

@ -1,13 +1,17 @@
#!/bin/bash
echo "Loading selections for file:"
SELECTIONS="$(cat "$FAI/debconf/HW4F_DESKTOP")"
echo -e "Setting selections:\n$SELECTIONS"
echo -e "Setting selections:\n"
$ROOTCMD debconf-set-selections -v <<< "$SELECTIONS"
PACKAGES="$(awk '{print $1}' <<< "$SELECTIONS" | sort -u)"
for PACKAGE in $PACKAGES; do
echo "Debconf for package '$PACKAGE'"
$ROOTCMD debconf-show "$PACKAGE"
echo "Reconfiguring package '$PACKAGE'"
$ROOTCMD dpkg-reconfigure "$PACKAGE"
done