diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-03-04 12:02:55 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-03-14 22:22:31 +0000 |
commit | ca515b773e51493aee36d67a5893af33101493b1 (patch) | |
tree | 79e5c8a1bd52b2e4f6ab51cd383e3658919202e3 /perl-install/standalone | |
parent | b8551ad154fa255021b5c58ac7cdd729cbffc3f8 (diff) | |
download | drakx-ca515b773e51493aee36d67a5893af33101493b1.tar drakx-ca515b773e51493aee36d67a5893af33101493b1.tar.gz drakx-ca515b773e51493aee36d67a5893af33101493b1.tar.bz2 drakx-ca515b773e51493aee36d67a5893af33101493b1.tar.xz drakx-ca515b773e51493aee36d67a5893af33101493b1.zip |
Revised fix for clearing GPT partitions during automatic install.
This reverts commit 532fd1d60df306e204bae79c5158ca2302739966, which
introduced a new bug when clearing GPT partitions in an interactive
session (mga#20264), and replaces it with a new solution.
When a partition table is initialised, we now add an 'init' action to
the $hd->{will_tell_kernel} list. This is used both by gpt::write()
(to clear the partition table) and by partition_table::tell_kernel()
(to force the kernel to reread the partition table). Previous changes
stored in $hd->{will_tell_kernel} are discarded, as they are no longer
of interest.
This also removes support for the will_tell_kernel 'force_reboot'
action, as nothing uses that any more.
Diffstat (limited to 'perl-install/standalone')
0 files changed, 0 insertions, 0 deletions