Commit Graph

3389 Commits

Author SHA1 Message Date
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
Michael Hudson-Doyle c9026a0c40 rewrite core of render actions to be a bit more explicit 2020-04-14 10:21:46 +12:00
Michael Hudson-Doyle e3ec05a6c1 always include partition number in curtin config 2020-04-14 10:21:29 +12:00
Michael Hudson-Doyle 96a6dfd010 add integration-style test for reusing an existing partitions 2020-04-14 09:50:56 +12:00
Michael Hudson-Doyle ce55e8320f include partition number in the curtin config for pre-existing partitions 2020-04-14 09:39:57 +12:00
Michael Hudson-Doyle c206242c4e do not include unreferenced preserved things in curtin storage config 2020-04-14 09:11:23 +12:00
Michael Hudson-Doyle 88f76faf1c
Merge pull request #702 from mwhudson/autoinstall-install_devices
fix handling of install_devices converting storage autoinstall config
2020-04-14 08:52:47 +12:00
Michael Hudson-Doyle 9c431963a7 fix install_devices in generated autoinstall data 2020-04-14 08:18:36 +12:00
Michael Hudson-Doyle 24be094b27 fix handling of install_devices converting storage autoinstall config
For https://bugs.launchpad.net/subiquity/+bug/1872464
2020-04-14 08:10:18 +12:00
Michael Hudson-Doyle 7a08ff1405
Merge pull request #701 from m-shibata/fix_install_ssh
fix typo at openssh-server installer
2020-04-13 08:27:57 +12:00
Dimitri John Ledkov bd98660d98 Switch to core18 2020-04-12 20:01:58 +01:00
Mitsuya Shibata 5e61e01fc6 fix typo at openssh-server installer 2020-04-12 05:50:15 +00:00
Michael Hudson-Doyle e3633c3f4e
Merge pull request #699 from mwhudson/new-curtin-probert
switch to probert and curtin tips to get latest fixes
2020-04-12 09:02:56 +12:00
Michael Hudson-Doyle 969aa2acbb
Merge pull request #700 from mwhudson/tyop
fix a typo
2020-04-12 09:02:46 +12:00