I think the cleanest way would be for "erase disk" to make sure that all
partitions get unmounted/swapoff'ed before erasing.

Otherwise, it's fairly easy to disable systemd-gpt-auto-generator (the
thing which discovers and enables GPT partitions of type swap) in casper
(essentially just rm /root/lib/systemd/system-generators/systemd-gpt-
auto-generator). That will work for this particular case, but of course
still not be sufficient if the user mounts anything in the life session
and then starts ubiquity to reformat.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1552539

Title:
  Ubiquity Erase Disk and Install Fails to create Swap Space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1552539/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to