forked from josch/mmdebstrap
print explicit info message about installing essential packages
This commit is contained in:
parent
2c5d902822
commit
1e7e002eb1
2 changed files with 5 additions and 5 deletions
|
@ -2395,7 +2395,7 @@ I: automatically chosen format: directory
|
||||||
I: running apt-get update...
|
I: running apt-get update...
|
||||||
I: downloading packages with apt...
|
I: downloading packages with apt...
|
||||||
I: extracting archives...
|
I: extracting archives...
|
||||||
I: installing packages...
|
I: installing essential packages...
|
||||||
I: cleaning package lists and apt cache...
|
I: cleaning package lists and apt cache...
|
||||||
LOG
|
LOG
|
||||||
tail --lines=1 /tmp/log | grep '^I: success in .* seconds$'
|
tail --lines=1 /tmp/log | grep '^I: success in .* seconds$'
|
||||||
|
|
|
@ -2527,9 +2527,9 @@ sub run_essential() {
|
||||||
|
|
||||||
if ($options->{mode} eq 'chrootless') {
|
if ($options->{mode} eq 'chrootless') {
|
||||||
if ($options->{dryrun}) {
|
if ($options->{dryrun}) {
|
||||||
info "simulate installing packages...";
|
info "simulate installing essential packages...";
|
||||||
} else {
|
} else {
|
||||||
info "installing packages...";
|
info "installing essential packages...";
|
||||||
}
|
}
|
||||||
# FIXME: the dpkg config from the host is parsed before the command
|
# FIXME: the dpkg config from the host is parsed before the command
|
||||||
# line arguments are parsed and might break this mode
|
# 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
|
# into account and thus doesn't install them in the right order
|
||||||
# And the --predep-package option is broken: #539133
|
# And the --predep-package option is broken: #539133
|
||||||
if ($options->{dryrun}) {
|
if ($options->{dryrun}) {
|
||||||
info "simulate installing packages...";
|
info "simulate installing essential packages...";
|
||||||
} else {
|
} else {
|
||||||
info "installing packages...";
|
info "installing essential packages...";
|
||||||
run_chroot(
|
run_chroot(
|
||||||
sub {
|
sub {
|
||||||
run_dpkg_progress({
|
run_dpkg_progress({
|
||||||
|
|
Loading…
Reference in a new issue