diff options
| author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2026-01-13 17:27:33 +0000 |
|---|---|---|
| committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2026-01-16 22:42:58 +0000 |
| commit | 25f74ddb44213151a7547149e37b0b69a8308ff8 (patch) | |
| tree | 9554f761bc2071b4d236fdc06ad595e93b2789a6 /perl-install/install/steps_interactive.pm | |
| parent | 9a66062be6806d10e79365da408993f8dca565df (diff) | |
| download | drakx-25f74ddb44213151a7547149e37b0b69a8308ff8.tar drakx-25f74ddb44213151a7547149e37b0b69a8308ff8.tar.gz drakx-25f74ddb44213151a7547149e37b0b69a8308ff8.tar.bz2 drakx-25f74ddb44213151a7547149e37b0b69a8308ff8.tar.xz drakx-25f74ddb44213151a7547149e37b0b69a8308ff8.zip | |
installer: ask for user's timezone at the start of installation (mga#34909)
This allows us to set the system clock to the correct time. This is
needed to prevent rpm verification failures when very recently built
packages are fetched from network media. The new Sequoia PGP backend
rejects packages that appear to have been signed in the future.
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
| -rw-r--r-- | perl-install/install/steps_interactive.pm | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 55985e01a..aaacd7fba 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -817,11 +817,11 @@ Do you want to install the updates?")), #------------------------------------------------------------------------------ sub configureTimezone { - my ($o, $clicked) = @_; + my ($o, $post_install) = @_; - any::configure_timezone($o, $o->{timezone}, $clicked) or return; + any::configure_timezone($o, $o->{timezone}, 1) or return; - install::steps::configureTimezone($o); + install::steps::configureTimezone($o) if $post_install; 1; } @@ -837,7 +837,6 @@ sub configureServices { sub summaryBefore { my ($o) = @_; - install::any::preConfigureTimezone($o); #- get back network configuration. require network::network; eval { @@ -886,10 +885,6 @@ sub summary { $o->pkg_install(map { $_->name } @pkgs) if @pkgs; lang::write_and_install($o->{locale}, $o->do_pkgs); - if (!$timezone_manually_set && !$o->{isUpgrade}) { - delete $o->{timezone}; - install::any::preConfigureTimezone($o); #- now we can precise the timezone thanks to the country - } }, }; local $o->{bootloader}{boot} = 'ESP' if is_uefi(); |
