Increase verbosity
This commit is contained in:
parent
49d6ada236
commit
37a854cd1c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue