installer: Mount ESP once only.
commit7d567af46b4e10ffafb1d0f76b524f5781460598
authorLudovic Courtès <ludo@gnu.org>
Tue, 14 May 2019 22:47:18 +0000 (15 00:47 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 15 May 2019 10:18:51 +0000 (15 12:18 +0200)
tree26aa26c0653c4897796b0d825308c407ef2c9765
parent36f5d78d4af02ad23c33bfb46702d92086bf2796
installer: Mount ESP once only.

Fixes <https://bugs.gnu.org/35731>.

* gnu/installer/newt/partition.scm (run-partioning-page)[run-page]:
Introduce 'initial-partitions' variable.  Previously we'd call
'disk-partitions' after 'auto-partition' had done its job of creating
new partitions, and thus its result would contain the just-created
partitions.  Consequently, 'create-special-user-partitions' would return
the ESP partition we just created, and thus it would appear twice in the
list.
gnu/installer/newt/partition.scm