Commit Graph

3302 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 6890ba0008
Merge pull request #722 from mwhudson/lp-1873485
have asking for confirmation cancel showing progress
2020-04-20 20:16:01 +12:00
Michael Hudson-Doyle 6990caadfd
Merge pull request #724 from mwhudson/partition-order
ensure partitions are emitted in order
2020-04-20 20:15:48 +12:00
Michael Hudson-Doyle 2824f8a5b4
Merge pull request #723 from mwhudson/guided_lvm-lv-size
tolerate a smaller disk in guided lvm option
2020-04-20 20:15:41 +12:00
Michael Hudson-Doyle 6d035025f3 ensure partitions are emitted in order
kinda ridiculous that this wasn't explicitly ensured before! it came up
with existing partitions and while I think it was probably unlikely to
happen with new ones, I'm not completely sure...
2020-04-20 20:08:05 +12:00
Michael Hudson-Doyle 5a55021200 tolerate a smaller disk in guided lvm option 2020-04-20 19:43:09 +12:00
Michael Hudson-Doyle 6ee32f4e19 have asking for confirmation cancel showing progress
otherwise the confiration dialog appears for 0.1s and then disappears, leaving the user stranded
2020-04-20 19:38:31 +12:00
Michael Hudson-Doyle e71b7c73a5
Merge pull request #721 from mwhudson/early-commands-once
do not run early-commands again when installer restarts
2020-04-20 19:17:41 +12:00
Michael Hudson-Doyle 4e21ad60a8 do not run early-commands again when installer restarts
this might happen when refreshing
2020-04-20 17:44:07 +12:00
Michael Hudson-Doyle e227fe857b
Merge pull request #720 from mwhudson/autoinstall-refresh-fixes
fix autoinstall refresh code to (a) match docs (b) work
2020-04-20 16:41:19 +12:00
Michael Hudson-Doyle 830939a8bc fix tests 2020-04-20 16:16:00 +12:00
Michael Hudson-Doyle 18e4d977e9 fix autoinstall refresh code to (a) match docs (b) work 2020-04-19 22:48:27 +12:00
Michael Hudson-Doyle 3176b9fe35
Merge pull request #719 from mwhudson/user-data-no-identity
fix for omitting identity section when passing user-data
2020-04-19 22:46:53 +12:00
Michael Hudson-Doyle e91f8bbf89 fix for omitting identity section when passing user-data 2020-04-19 21:44:09 +12:00
Michael Hudson-Doyle 874b525b6f stop staging libc6 now we are core18 based 2020-04-17 15:20:54 +12:00
Michael Hudson-Doyle 51e235d4a2
Merge pull request #716 from mwhudson/fix-delete-raid
fix deleting preexisting raids
2020-04-17 14:20:56 +12:00
Michael Hudson-Doyle 4cd28e9cc6 fix deleting preexisting raids
apparently preexisting raids have devices and spare_devices set to lists
2020-04-17 13:32:06 +12:00
Michael Hudson-Doyle 10e067a18e
Merge pull request #715 from mwhudson/curtin-update
update curtin
2020-04-17 11:04:45 +12:00
Michael Hudson-Doyle ebd8101b59 update curtin
this lets us drop efibootmgr from the snap again
2020-04-17 10:33:32 +12:00
Michael Hudson-Doyle 88ba6d4f21
Merge pull request #714 from mwhudson/wipe-before-formatting
wipe more devices
2020-04-17 10:28:43 +12:00
Michael Hudson-Doyle 3ce8566143 add a comment 2020-04-17 10:08:09 +12:00
Michael Hudson-Doyle e036d5f722 fix prep edge case 2020-04-16 23:24:12 +12:00
Michael Hudson-Doyle bec88aaa11 wipe component devices when deleting compound devices 2020-04-16 23:18:55 +12:00
Michael Hudson-Doyle daa9e3e052 wipe a volume that is getting a new filesystem 2020-04-16 23:13:36 +12:00
Michael Hudson-Doyle fa91466162
Merge pull request #713 from mwhudson/reset-grub_install_device-harder
the disk is the grub_install_device in bios mode :(
2020-04-16 23:12:52 +12:00
Michael Hudson-Doyle 7d57aa006d the disk is the grub_install_device in bios mode :( 2020-04-16 22:15:28 +12:00
Michael Hudson-Doyle 3bd1382b3b
Merge pull request #712 from mwhudson/reset-grub_install_device
always clear grub_install_device when removing a partition etc
2020-04-16 14:24:30 +12:00
Michael Hudson-Doyle 54bc0deee9 always clear grub_install_device when removing a partition etc
for https://bugs.launchpad.net/subiquity/+bug/1872999
2020-04-16 13:45:58 +12:00
Michael Hudson-Doyle 7a252998a7
Merge pull request #711 from mwhudson/newer-apport
get apport python package and hooks from focal branch
2020-04-16 13:32:04 +12:00
Michael Hudson-Doyle d9e73a17a6 get apport python package and hooks from focal branch 2020-04-16 12:31:03 +12:00
Dimitri John Ledkov 81dc746c26
Merge pull request #710 from xnox/print-ssh-details
subiquity: add --ssh option to print ssh login details.
2020-04-16 00:32:25 +01:00
Dimitri John Ledkov 760fbaa22f Review comments 2020-04-16 00:22:52 +01:00
Dimitri John Ledkov 5be2961a62 subiquity: add --ssh option to print ssh login details. 2020-04-16 00:08:56 +01:00
Michael Hudson-Doyle 730af72cb6
Merge pull request #709 from mwhudson/always-include-all-partitions
always emit actions for all partitions, even if otherwise unused
2020-04-16 10:23:39 +12:00
Michael Hudson-Doyle 0144114c7d always emit actions for all partitions, even if otherwise unused
curtin gets upset otherwise
2020-04-16 10:12:36 +12:00
Dimitri John Ledkov 5cca44b70d
Merge pull request #707 from mwhudson/use-apport-hooks-from-snap
Use apport hooks from snap
2020-04-15 16:52:00 +01:00
Dimitri John Ledkov 2b998335af
Merge pull request #696 from CanonicalLtd/core18
Switch to core18
2020-04-15 16:51:18 +01:00
Dimitri John Ledkov 40ec09a50c
Merge pull request #708 from mwhudson/no-ssh-help-bionic
do not show ssh help menu item at all if we cannot determine password…
2020-04-15 16:50:54 +01:00
Michael Hudson-Doyle 67247c8eaf do not show ssh help menu item at all if we cannot determine password to use
Otherwise the help appears on bionic and is just a tease.
2020-04-15 21:13:52 +12:00
Michael Hudson-Doyle 1dc93b33d0
Merge pull request #706 from mwhudson/better-install-partname
use curtin.block.partition_kname to calculate partition devpath
2020-04-15 20:26:54 +12:00
Michael Hudson-Doyle f604dc245b make part name better 2020-04-15 17:11:18 +12:00
Michael Hudson-Doyle ce0e1dfa57 do not import subiquity stuff until APPORT_DATA_DIR is safely set 2020-04-15 17:06:34 +12:00
Michael Hudson-Doyle 85ebbec4fc use apport hooks from the snap, not the live system
also include most hooks in the snap
2020-04-15 16:56:12 +12:00
Michael Hudson-Doyle 1c378b9958 use curtin.block.partition_kname to calculate partition devpath
hopefully fixing https://bugs.launchpad.net/subiquity/+bug/1861369
2020-04-15 14:17:29 +12:00
Michael Hudson-Doyle 32dcd15cd8
Merge pull request #705 from mwhudson/fix-continue-without-updating-harder
Fix choosing continue before snap refresh has completed
2020-04-14 14:42:41 +12:00
Michael Hudson-Doyle bca97f424d
Merge pull request #704 from mwhudson/clear-confusion
set wipe, preserve more consistently
2020-04-14 14:41:03 +12:00
Michael Hudson-Doyle c62beeb0df Fix choosing continue before snap refresh has completed
Again :(
2020-04-14 14:37:56 +12:00
Michael Hudson-Doyle 33cd2c356a clear spare_devices before putting them in a raid 2020-04-14 14:35:14 +12:00
Michael Hudson-Doyle 43f8f7810b set wipe, preserve more consistently
.clear() is called on any object that is about to be put into a RAID or
VG (and also before things are deleted but that does not matter here).
Change it to always set wipe=superblock, and preserve=False on disks.

This fixes making a RAID out of disks and might fix
https://bugs.launchpad.net/subiquity/+bug/1837214 once and for all.
2020-04-14 14:21:45 +12:00
Michael Hudson-Doyle c0b7daa984
Merge pull request #703 from mwhudson/ignore-unreferenced-devices
do not include unreferenced devices in curtin storage config
2020-04-14 10:37:11 +12:00
Michael Hudson-Doyle 56a034f19b add a test that a new partition is always included in the config even if not mounted 2020-04-14 10:23:26 +12:00