Commit Graph

2258 Commits

Author SHA1 Message Date
Dimitri John Ledkov 0ccd26bcaf
lint 2019-03-20 01:21:29 +00:00
Dimitri John Ledkov 46131d2b0b
Attempt to add a PReP partition. 2019-03-19 23:44:21 +00:00
Michael Hudson-Doyle 77cb8c8947
Merge pull request #422 from mwhudson/snap-refresh-better
subiquity self-refresh
2019-03-20 11:37:06 +13:00
Michael Hudson-Doyle 37f53a185e
Merge pull request #424 from mwhudson/lp-1784370
relax constraint that launchpad usernames must be >1 character long
2019-03-19 09:53:01 +13:00
Michael Hudson-Doyle 8cb010f9b5 relax constraint that launchpad usernames must be >1 character long
the constraint has been in place for a very long time but apparently
not since the dawn of time (evidence: https://launchpad.net/~j)

See https://bugs.launchpad.net/subiquity/+bug/1784370
2019-03-18 15:47:12 +13:00
Michael Hudson-Doyle bc1a1e7fe6 fix Signal.register to accommodate strange urwid behaviour 2019-03-14 09:55:03 +13:00
Michael Hudson-Doyle 21f26fb9c0
Merge pull request #423 from mwhudson/no-setupcon-by-default
do not run setupcon if the keyboard setup has not changed
2019-03-14 09:12:52 +13:00
Michael Hudson-Doyle c1f8c10091 answers support for refresh screen 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle b55aa241ce have updating in dry-run mode respect SUBIQUITY_REPLAY_TIMESCALE 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle b169d35316 display any error received when checking for updates 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 3b67433a67 show update progress nicely 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 5eb750c5f0 actually request an update 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 4c1d374ee5 add snapdconnection.post and fake data captured from a real refresh 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle b91c961165 implement screens up to the point of offering the update
don't display anything about check failures yet, or actually allow the
user to start the update
2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 9c9120403f add refresh sample data that shows an update for subiquity 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 9f5785dfd5 add extremely minimal refresh controller 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 9aea579027 support a controller being shown more than once 2019-03-12 11:48:58 +13:00
Michael Hudson-Doyle ef005d1299 do not run setupcon if the keyboard setup has not changed
saves a second or so for the US keyboard user
2019-03-12 11:26:41 +13:00
Michael Hudson-Doyle 51113aaea9
Merge pull request #421 from mwhudson/snapd-retrying
reorganize how network/proxy changes are handled
2019-03-08 12:18:02 +13:00
Michael Hudson-Doyle a888ed222c kick off snap list when a default route appears, not at startup
of course in the common case these are more or less the same time. but
this is conceptually nicer
2019-03-07 15:46:40 +13:00
Michael Hudson-Doyle a51f04b02c start network probing after all signals have been connected 2019-03-07 15:31:39 +13:00
Michael Hudson-Doyle 6e077ef457 move code for configuring snapd proxy out of snaplist controller 2019-03-07 15:18:34 +13:00
Michael Hudson-Doyle 3c3b7b5cd5
Merge pull request #420 from mwhudson/signal-cruft
remove no-longer-used code for stacking signals
2019-03-07 14:30:18 +13:00
Michael Hudson-Doyle 1c5ce7c07a remove no-longer-used code for stacking signals 2019-03-07 14:22:50 +13:00
Michael Hudson-Doyle 833314d17c
Merge pull request #419 from mwhudson/default-route-view
remove long disabled views for setting default route
2019-03-07 14:22:30 +13:00
Michael Hudson-Doyle 756d923424 remove long disabled views for setting default route
as and when we add route configuration to subiquity, we will need new
views anyway.
2019-03-07 14:13:37 +13:00
Michael Hudson-Doyle 1feb8c93d6
Merge pull request #418 from mwhudson/login-cruft
remove login model/controller/view from subiquitycore
2019-03-07 14:13:18 +13:00
Michael Hudson-Doyle d0c41469a7 remove login model/controller/view from subiquitycore
long ago subsumed into other code
2019-03-07 14:01:52 +13:00
Michael Hudson-Doyle 30a028b651
Merge pull request #417 from mwhudson/save-state
add a more systematic way for controllers to record their state
2019-03-07 09:36:15 +13:00
Michael Hudson-Doyle 9937ebe6e1 add a more systematic way for controllers to record their state
so we can return the point where the user left off on update
2019-03-06 15:55:15 +13:00
Michael Hudson-Doyle fa58cb1fcc
Merge pull request #416 from mwhudson/installpath-rejig
rework installpath model to record what the user entered
2019-03-06 15:54:41 +13:00
Michael Hudson-Doyle 69d1800205
Merge pull request #415 from mwhudson/skip-screen-support
add a way for a controller to be skipped
2019-03-06 15:54:34 +13:00
Michael Hudson-Doyle 820b283ae0 rework installpath model to record what the user entered
and only turn it into curtin config when needed. This means its possible
to pre-fill the forms if the user goes back to these screens.
2019-03-06 15:33:53 +13:00
Michael Hudson-Doyle 98bf6a4254 add a way for a controller to be skipped
will need this for the refresh screen if there is no update
2019-03-06 15:32:31 +13:00
Michael Hudson-Doyle cb2203be10 allow specifying a track to follow in inject-subiquity-snap.sh 2019-03-06 15:15:01 +13:00
Michael Hudson-Doyle 8b495cb8f1
Merge pull request #414 from mwhudson/snapd-fakery
Make the code for talking to snapd more generic
2019-03-05 09:08:21 +13:00
Michael Hudson-Doyle 53d1006a06 Make the code for talking to snapd more generic
In preparation for the self-refresh and snap enterprise proxy work, both
of which will require talking to the snapd API.

This also makes the "snaps-from-examples" fakery happen at a lower level.
2019-03-04 16:18:57 +13:00
Michael Hudson-Doyle 18ff7f6973 seed subiquity with an assertion if one is there 2019-03-01 13:20:17 +13:00
Michael Hudson-Doyle 8365b5d507 add options to inject-subiquity-snap to allow a custom snapd and store url 2019-03-01 09:13:05 +13:00
Michael Hudson-Doyle c4b12b5fc7
Merge pull request #412 from mwhudson/cryptsetup
add encrypted LVM support
2019-02-28 13:38:45 +13:00
Michael Hudson-Doyle 04f1ff0dd0 luk2 overhead (now default in disco) is 16 MiB 2019-02-28 11:57:12 +13:00
Michael Hudson-Doyle 8892e027e9 make sure that dmcrypt passphrase does not end up in log 2019-02-28 11:55:44 +13:00
Michael Hudson-Doyle 741894b3ab account for a (guess at) LUKS overhead 2019-02-28 11:55:42 +13:00
Michael Hudson-Doyle 1e3a786ac2 add example with encrypted lvm 2019-02-28 11:55:17 +13:00
Michael Hudson-Doyle 878da5b61c render encrypted VGs 2019-02-28 11:55:17 +13:00
Michael Hudson-Doyle 41851af206 ui for encrypted LVM 2019-02-28 11:55:13 +13:00
Michael Hudson-Doyle 84a3800a18 filesystem model for dmcrypt action 2019-02-28 11:48:27 +13:00
Michael Hudson-Doyle cd185db58c make --snaps-from-examples the default in dry run mode 2019-02-28 11:37:05 +13:00
Michael Hudson-Doyle 7e59b4e6ad
Merge pull request #409 from CanonicalLtd/snap-screen-redesign
implement the new design for the snap screen
2019-02-27 16:00:44 +13:00
Michael Hudson-Doyle e2c8bdbe74 allow the snap version to wrap
this makes the display better (if not exactly great) for some snaps on
terminals that are 80 chars wide
2019-02-27 15:56:07 +13:00