print explicit info message about installing essential packages

This commit is contained in:
Johannes 'josch' Schauer 2020-11-28 00:45:32 +01:00
parent 2c5d902822
commit 1e7e002eb1
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1
2 changed files with 5 additions and 5 deletions

View file

@ -2395,7 +2395,7 @@ I: automatically chosen format: directory
I: running apt-get update...
I: downloading packages with apt...
I: extracting archives...
I: installing packages...
I: installing essential packages...
I: cleaning package lists and apt cache...
LOG
tail --lines=1 /tmp/log | grep '^I: success in .* seconds$'

View file

@ -2527,9 +2527,9 @@ sub run_essential() {
if ($options->{mode} eq 'chrootless') {
if ($options->{dryrun}) {
info "simulate installing packages...";
info "simulate installing essential packages...";
} else {
info "installing packages...";
info "installing essential packages...";
}
# FIXME: the dpkg config from the host is parsed before the command
# line arguments are parsed and might break this mode
@ -2567,9 +2567,9 @@ sub run_essential() {
# into account and thus doesn't install them in the right order
# And the --predep-package option is broken: #539133
if ($options->{dryrun}) {
info "simulate installing packages...";
info "simulate installing essential packages...";
} else {
info "installing packages...";
info "installing essential packages...";
run_chroot(
sub {
run_dpkg_progress({