bundles/apt: more output for upgrade-and-reboot
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
2bc659af5f
commit
d76f69ab49
1 changed files with 8 additions and 0 deletions
|
@ -34,11 +34,19 @@ trap 'rm -f "$softlockdir"/UNATTENDED' EXIT
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
|
ret=$?
|
||||||
|
if (( $ret != 0 ))
|
||||||
|
then
|
||||||
|
echo "apt-get update exited $ret"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef dist-upgrade
|
DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef dist-upgrade
|
||||||
|
|
||||||
ret=$?
|
ret=$?
|
||||||
if (( $ret != 0 ))
|
if (( $ret != 0 ))
|
||||||
then
|
then
|
||||||
|
echo "apt-get dist-upgrade exited $ret"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue