partman-efi should follow partman-auto/disk to reuse the ESP.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-efi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Current implementation in partman-
first EFI System Partition (abbr. ESP) to use when we provided
some kind of partman-
However if the system has more than two ESPs, partman-efi will still
use the first ESP it found even when we specify what we want in
partman-
For example, when the system has /dev/nvme0n1 and /dev/sda and we
specified partman-auto/disk and partman-
d-i partman-auto/disk string /dev/sda
d-i partman-
ubuntu :: \
100 150 200 free \
500 10000 4000000 ext4 \
105% 150% 200% linux-swap \
.
If there is already another Linux system installed in /dev/nvme0n1,
partman-efi will reuse /dev/nvme0n1p1 and mount it at
/target/boot/efi instead of reusing /dev/sda1 that we specify in
partman-
This should not be the behavior that we expected it will be.