Commit Graph

3147 Commits

Author SHA1 Message Date
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
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
Michael Hudson-Doyle 8df2d9d3f6 fix a typo 2020-04-12 09:01:30 +12:00
Michael Hudson-Doyle b08cfcf247
Merge pull request #697 from mwhudson/do-not-overwrite-autoinstall
do not overwrite autoinstall file
2020-04-12 08:56:24 +12:00
Michael Hudson-Doyle a7b4c185d8
Merge pull request #698 from mwhudson/console=ttyS0,11200
handle kernel command lines like console=ttyS0,115200n8
2020-04-12 08:56:10 +12:00
Michael Hudson-Doyle b540dc1d84 switch to probert and curtin tips to get latest fixes 2020-04-12 08:40:28 +12:00
Michael Hudson-Doyle 96f9568122 handle kernel command lines like console=ttyS0,115200n8 2020-04-11 21:19:39 +12:00
Michael Hudson-Doyle 769856f24a do not overwrite autoinstall file
otherwise, a subiquity restart or whatever could lead to changes made by early-commands
being lost

this also allows supplying autoinstall.yaml by sticking it on the iso
2020-04-11 21:17:34 +12:00
Dimitri John Ledkov ada4c7b14d Upload subiquity snapshot with newer translations and consoleconf. 2020-04-09 14:04:47 +01:00
Dimitri John Ledkov b34aeda02d
Merge pull request #695 from CanonicalLtd/fix-login-view-focus
Fix login view button focus to done
2020-04-09 13:28:34 +01:00
Dimitri John Ledkov 854802bd07
Merge pull request #694 from CanonicalLtd/palette-console-conf
Use common palette.
2020-04-09 13:28:24 +01:00
Dimitri John Ledkov b61a3369a3 Fix login view button focus to done 2020-04-09 12:34:37 +01:00
Dimitri John Ledkov a70d309f6a Use common palette.
Fixes header frindge colors in console-conf.
2020-04-09 12:20:16 +01:00
Dimitri John Ledkov f3b1a70822
Merge pull request #692 from bboozzoo/bboozzoo/chooser-tweaks
console_conf: various recover chooser tweaks
2020-04-09 10:59:39 +01:00
Maciej Borzecki 9293d85638 console_conf/ui/views: simplify sorting actions, tweaks
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 12:56:18 +02:00
Maciej Borzecki 8ebc8e0580 console_conf/ui/views/chooser: tweak generic action summary
Thanks @degville!

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 11:57:24 +02:00
Maciej Borzecki 3967329832 console_conf/ui/views/chooser: use lowercase action title in canned summary
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 11:57:00 +02:00
Michael Hudson-Doyle 46c539c924 make "make schema" output be just the schema and nothing else 2020-04-08 20:53:35 +12:00
Michael Hudson-Doyle cc3e5df71f
Merge pull request #693 from mwhudson/fix-dropins
remove stray line from proxy from snapd_proxy dropin
2020-04-08 20:40:00 +12:00
Michael Hudson-Doyle bf10d2baff remove stray line from proxy from snapd_proxy dropin
about two years ago I copy-pasted this from a shell script and never
noticed I had included the EOF until now
2020-04-08 18:27:10 +12:00
Maciej Borzecki a957c5b889 console_conf/chooser: UI tweaks
- drop the ABORT button
- introduce BACK button, goes back to the correct previous screen
- sort actions in the order of run -> recover -> install -> rest
- capitalize action title strings
- simplify current model actions screen
- user hints in the confirm screen for well known modes
  - generic hint for unknown modes

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:38:45 +02:00
Maciej Borzecki d3ac0d6f36 console_conf/chooser: use model display name in top banner
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:36:47 +02:00
Maciej Borzecki ed791e5c9e console_conf/models/systems: add method for forgetting the current selection
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:22:29 +02:00
Maciej Borzecki a33a477324 subiquitycore/core: fix typo in comments
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 15:35:47 +02:00
Michael Hudson-Doyle a0dae13dd7
Merge pull request #684 from mwhudson/progress-screen
better experience for partially-interactive installs
2020-04-07 23:00:00 +12:00
Michael Hudson-Doyle 4bef0af3da
Merge pull request #689 from mwhudson/more-autoinstall-storage
two parts of the autoinstall storage spec i forgot about
2020-04-07 22:57:05 +12:00
Michael Hudson-Doyle 01be667422
Merge pull request #691 from mwhudson/autoinstall-inhibit-casper-stop
inhibit the casper-stop prompt for a non-interactive autoinstall
2020-04-07 22:56:55 +12:00
Michael Hudson-Doyle 5d48da5841 allow autoinstall file to control swapfile creation 2020-04-07 22:16:24 +12:00
Michael Hudson-Doyle 30030ef3eb handle a disk match in a layout 2020-04-07 22:16:24 +12:00
Michael Hudson-Doyle beb20ced72 inhibit the casper-stop prompt for a non-interactive autoinstall 2020-04-07 21:57:32 +12:00
Michael Hudson-Doyle f4ad0c1c69 replace some cryptic variable names 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 85f7de110d complicate things to allow for overlapping subiquity events 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle af50f47277 do not leave user stranded if confirmation appears over progress view and they say no 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 5f21076d7f show progress when apply_autoinstall_config takes >0.1s
If, when the overall installer is interactive but a particular
controller is not and applying the config for that installer takes more
than 0.1 seconds, show the progress view until it completes (but ensure
that the progress view is on screen for at least a whole second if it is
shown at all).

Block all input during that (up to) 0.1s wait.

Send events from non-interacttive controllers to the progress view.
2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle b70ad315f8 show error report over first interactive screen 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 5109588d6f move a bit of logic into ProgressView 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 9a11e90719 attach a controller to most contexts 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 246570314a pass the context object to report_start_event / report_finish_event 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle c20264bcd7
Merge pull request #688 from mwhudson/fix-travis
fix travis
2020-04-07 21:48:56 +12:00
Michael Hudson-Doyle be146972da fix travis 2020-04-07 21:37:42 +12:00
Dimitri John Ledkov b9999ddd47
Merge pull request #687 from mwhudson/autoinstall-check-argh
fix tty check for autoinstalls
2020-04-07 09:37:21 +01:00
Michael Hudson-Doyle b0302484d2 fix tty check for autoinstalls 2020-04-07 20:34:38 +12:00
Dimitri John Ledkov 95c20226fd
Merge pull request #686 from mwhudson/no-netplan-crash
if netplan apply fails show an error rather than crashing the ui
2020-04-07 09:11:25 +01:00
Dimitri John Ledkov 367e912cc0
Merge pull request #685 from mwhudson/copy-md5check-file
copy /run/casper-md5check.json to /var/log/installer
2020-04-07 09:04:52 +01:00