Commit Graph

3255 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 3908449039
Merge pull request #741 from mwhudson/restart-ssh-subiquity-on-refresh
restart subiquity when snap refresh completes
2020-04-30 21:18:25 +12:00
Michael Hudson-Doyle 37a62f21aa fix travis some more 2020-04-30 20:56:09 +12:00
Michael Hudson-Doyle 25bc8a891c restart subiquity when snap refresh completes
we usually do not get to this point, but we do when logged in via ssh.
see https://bugs.launchpad.net/subiquity/+bug/1874034
2020-04-30 20:30:53 +12:00
Michael Hudson-Doyle b52ce65ce4
Merge pull request #743 from mwhudson/travis-fix
make default_netplan valid, for some reason this causes issues sometimes on travis
2020-04-30 20:30:18 +12:00
Michael Hudson-Doyle b66ad552f8 make default_netplan valid, for some reason this causes issues sometimes on travis 2020-04-30 20:25:14 +12:00
Michael Hudson-Doyle 261a39587c
Merge pull request #739 from mwhudson/autoinstall-network-oops
fix some autoinstall network oopses
2020-04-30 11:40:47 +12:00
Michael Hudson-Doyle abc64fb5f2 do not force double "network" keys in autoinstall config
I obviously didn't test this very hard before release :/
2020-04-29 19:46:17 +12:00
Michael Hudson-Doyle dac850f319 never try to show an error report in non-interactive mode (it just crashes anyway) 2020-04-29 19:46:17 +12:00
Michael Hudson-Doyle d082bad4ce have a netplan failure crash a non-interactive install 2020-04-29 19:46:17 +12:00
Michael Hudson-Doyle f8eef1d16a fix Subiquity.restart dry-run path now we actually hit that in runtests.sh 2020-04-29 19:46:17 +12:00
Michael Hudson-Doyle 05ca96d7ba run netplan generate --root .subiquity after each integration test 2020-04-29 19:39:10 +12:00
Michael Hudson-Doyle 43081d0dd5
Merge pull request #737 from mwhudson/better-lvm-default
have the lv created by the guided lvm option take up 80% of the vg
2020-04-29 18:09:55 +12:00
Michael Hudson-Doyle dc66caa601 slightly more sophisticated lv-sizing heuristics 2020-04-29 15:13:36 +12:00
Michael Hudson-Doyle ac8ab7ef47
Merge pull request #736 from mwhudson/stty-sane
run "stty sane" in a non-interactive install on the serial line
2020-04-29 13:57:15 +12:00
Michael Hudson-Doyle d07234611a have the lv created by the guided lvm option take up 80% of the vg 2020-04-28 23:44:18 +12:00
Michael Hudson-Doyle 136b684454 run "stty sane" in a non-interactive install on the serial line
for https://bugs.launchpad.net/subiquity/+bug/1874052
2020-04-28 23:38:35 +12:00
Michael Hudson-Doyle e604defd3c
Merge pull request #735 from mwhudson/small-console
do not crash in a terminal < 76 columns wide
2020-04-28 21:40:09 +12:00
Michael Hudson-Doyle 6007b4dc41 do not crash in a terminal < 76 columns wide
for https://bugs.launchpad.net/ubuntu-z-systems/+bug/1874314
2020-04-28 21:32:46 +12:00
Michael Hudson-Doyle 2438a5c1b8
Merge pull request #734 from mwhudson/late-commands-earlier
run late commands earlier
2020-04-28 07:30:41 +12:00
Michael Hudson-Doyle dd1969f89b split "Reboot" controller out of InstallProgress controller
this means late commands run before copying logs to the target and
waiting for the user to click restart
2020-04-24 17:39:57 +12:00
Michael Hudson-Doyle 88165ce5fd use a cleaner way of attaching controllers to contexts 2020-04-24 14:45:20 +12:00
Michael Hudson-Doyle 12f01405ae
Merge pull request #717 from mwhudson/no-stage-libc6
stop staging libc6 now we are core18 based
2020-04-24 13:56:20 +12:00
Michael Hudson-Doyle 73d1136eee do not stage libnl* packages, they are in the core snap 2020-04-24 13:54:21 +12:00
Michael Hudson-Doyle 905d34daaa
Merge pull request #733 from mwhudson/disable-multiple-boot-devices-on-bionic
do not offer resilient boot options pre-focal
2020-04-24 13:51:25 +12:00
Michael Hudson-Doyle c34834f64e update add_boot_device tests to insulate from underlying system
instead always test both resilient and non-resilient paths.

also this finally prompted me to make the tests less repetitive
2020-04-24 13:40:16 +12:00
Michael Hudson-Doyle 871239b4aa do not offer resilient boot options pre-focal 2020-04-24 11:41:24 +12:00
Michael Hudson-Doyle 76bbed23f1
Merge pull request #732 from mwhudson/curtin-update
one more curtin hotfix
2020-04-23 10:40:29 +12:00
Michael Hudson-Doyle 1e373563ea one more curtin hotfix 2020-04-23 10:38:13 +12:00
Dimitri John Ledkov 17557c072a
Merge pull request #731 from xnox/dm-fix
Ship rharper hotfix for dm-name
2020-04-22 17:38:41 +01:00
Dimitri John Ledkov 3f0b7c062b Ship rharper hotfix for dm-name 2020-04-22 17:33:53 +01:00
Dimitri John Ledkov e76d46ffa5
Merge pull request #730 from xnox/hotfix
Update curtin to a hotfix
2020-04-22 17:22:53 +01:00
Dimitri John Ledkov d28d32a36a Update curtin to a hotfix 2020-04-22 17:12:27 +01:00
Michael Hudson-Doyle 6248bcf197
Merge pull request #729 from mwhudson/fix-late-commands
make sure late-commands actually run :(
2020-04-22 17:16:52 +12:00
Michael Hudson-Doyle 1ba62ec1cc make sure late-commands actually run :( 2020-04-22 17:11:25 +12:00
Michael Hudson-Doyle ca854ddc67
Merge pull request #728 from mwhudson/curtin-update
update curtin
2020-04-22 15:56:59 +12:00
Michael Hudson-Doyle 69c993e5cb update curtin 2020-04-22 15:56:28 +12:00
Michael Hudson-Doyle c5f719b5da
Merge pull request #727 from mwhudson/zdev-view-fixes
put zdev rows directly in a listbox, not in a pile in a listbox
2020-04-22 15:53:14 +12:00
Michael Hudson-Doyle 332c9230c2
Merge pull request #725 from xnox/fix-trailing-n
help: strip trailing newline from get_installer_password\n
2020-04-22 15:52:59 +12:00
Michael Hudson-Doyle 9ff059eae7 put zdev rows directly in a listbox, not in a pile in a listbox
this required adding TableListRow.set_contents.

it fixes (partly by accident) a crash when a row becomes unselectable
after a refresh (https://bugs.launchpad.net/subiquity/+bug/1874114), it
also makes the home and end keys do something sane.

really this view should not rebuild every row on any change, but that's
something for another day.
2020-04-22 15:36:06 +12:00
Dimitri John Ledkov 5494fb0aba
Merge pull request #726 from raharper/fix/curtin-git-hash
snapcraft: inject curtin commit has into version
2020-04-21 17:40:18 +01:00
Ryan Harper 7f301dbe7c snapcraft: override-pull of curtin to inject the git commit hash into version string 2020-04-21 11:27:16 -05:00
Dimitri John Ledkov 02f0ac3f92 help: strip trailing newline from get_installer_password\n
ipdb> get_installer_password(opts.dry_run)
'f48BpRGUMSbYjA68nGdQ\n'

Because iterating file object's lines includes them.

LP: #1874009
2020-04-21 11:11:41 +01:00
Michael Hudson-Doyle 140cdacada
Merge pull request #718 from mwhudson/resilient-boot
ui for resilient boot
2020-04-21 12:23:37 +12:00
Michael Hudson-Doyle f2b6edbafa update curtin to needed commit 2020-04-21 12:20:31 +12:00
Michael Hudson-Doyle 69775133cf small hacks to only allow one prep partition at a time 2020-04-21 12:18:03 +12:00
Michael Hudson-Doyle 5524197837 ui changes to indicate status of boot partitions more clearly
this also disables the reformat / use existing format option on an
unused ESP
2020-04-21 12:14:10 +12:00
Michael Hudson-Doyle a08ac131f8 split adding and removing boot disks into separate operations 2020-04-21 11:26:26 +12:00
Michael Hudson-Doyle 8ae2ec1693 generalize way of customizing disk action menuitem label 2020-04-21 11:19:06 +12:00
Michael Hudson-Doyle a325fe7286 switch to tracking install device by setting grub_device 2020-04-21 11:12:43 +12:00
Michael Hudson-Doyle 0d51d66a57 rename MAKE_BOOT action to TOGGLE_BOOT 2020-04-21 10:51:00 +12:00