Michael Hudson-Doyle
0558265d77
enforce that actions for mounting a parent of a path are emitted first
2019-04-15 14:06:01 +12:00
Michael Hudson-Doyle
2a9cd3590b
Merge pull request #456 from mwhudson/reboot-button-tweaks
...
Reboot button tweaks
2019-04-15 12:44:46 +12:00
Michael Hudson-Doyle
62957efc07
fix clicking reboot when curtin itself errors
2019-04-15 12:12:10 +12:00
Michael Hudson-Doyle
fd00caea10
change label of reboot button while upgrade is running
...
also clean up how buttons are handled on final view in general
2019-04-15 12:10:15 +12:00
Michael Hudson-Doyle
7eacef3fbb
Merge pull request #455 from xnox/lock-answers
...
Lock answers file.
2019-04-15 10:16:36 +12:00
Michael Hudson-Doyle
17bc6a9b36
Merge pull request #453 from mwhudson/no-snaplist-oops
...
emit snap-config-done signal when skipping snap list
2019-04-15 10:15:00 +12:00
Michael Hudson-Doyle
ee920eb496
fix lint
2019-04-15 10:07:59 +12:00
Michael Hudson-Doyle
f4148d19a1
Merge pull request #452 from mwhudson/lp-1824404
...
do not crash when the ssh keys are downloaded after curtin fails
2019-04-15 10:05:56 +12:00
Michael Hudson-Doyle
eebfbdb5a1
emit snap-config-done signal when skipping snap list
...
otherwise postinstall steps never run!
2019-04-15 10:05:34 +12:00
Michael Hudson-Doyle
452b03b7e8
Merge pull request #454 from mwhudson/no-network-no-snaps
...
do not show the snaplist if there is no network
2019-04-15 10:04:38 +12:00
Dimitri John Ledkov
488f6fd2c0
Lock answers file.
2019-04-12 17:36:12 +01:00
Michael Hudson-Doyle
0b9af813e5
do not show the snaplist if there is no network
2019-04-12 16:12:14 +12:00
Michael Hudson-Doyle
b8265b626a
do not crash when the ssh keys are downloaded after curtin fails
...
https://bugs.launchpad.net/subiquity/+bug/1824404
2019-04-12 14:42:57 +12:00
Michael Hudson-Doyle
d4e8cb7ffa
fix typo in looking for refresh channel in kernel commandline
2019-04-12 14:26:01 +12:00
Michael Hudson-Doyle
357bbbeb21
Merge pull request #451 from mwhudson/refactor-postinstall-tasks
...
(interruptibly) install security updates after install
2019-04-12 11:23:07 +12:00
Michael Hudson-Doyle
52283ae465
Merge pull request #444 from mwhudson/one-action-list
...
Use a single list on FilesystemModel to store all the actions
2019-04-12 11:22:53 +12:00
Michael Hudson-Doyle
74f5533742
Merge pull request #446 from mwhudson/show-subiquity-versions
...
show subiquity versions in upgrade screen
2019-04-12 11:22:35 +12:00
Michael Hudson-Doyle
59c9d78fbf
vorlon-approved wording (tm)
2019-04-12 11:21:40 +12:00
Michael Hudson-Doyle
e97ed86304
run unattended-upgrades -v so some stuff ends up in the "view full log" screen
2019-04-12 00:03:52 +12:00
Michael Hudson-Doyle
3e61bed4e2
download and install updates at the end of the install
...
This uses the machinery in the previous commit to run
unattended-upgrades in the installed system after everything else is
done and have clicking the 'reboot' button stop unattended-upgrades and
wait until it exits before actually rebooting.
2019-04-11 23:20:44 +12:00
Michael Hudson-Doyle
6d6867bdf2
check exit codes of some post install steps
2019-04-11 23:06:54 +12:00
Michael Hudson-Doyle
4929de62f2
refactor postinstall steps
...
<mwhudson> my kingdom for a more explicit state machine representation
... and here it is. Some of this is somewhat over-engineered, but the
next commit will use some of the unused machinery.
(I also hope this can be made useable one day for things like the
refresh screen, which bounce between foreground and background tasks as
it makes requests to snapd).
2019-04-11 23:06:51 +12:00
Dimitri John Ledkov
901fef8705
Merge pull request #449 from mwhudson/lvm-encrypted-edit
...
fix editing encrypted/passphrase of vg
2019-04-11 00:41:26 +01:00
Dimitri John Ledkov
c8eaba5676
Merge pull request #448 from mwhudson/answers-refresh-channel
...
allow answers to override the channel subiquity is refreshed from
2019-04-11 00:41:09 +01:00
Dimitri John Ledkov
5c90e5efda
Merge pull request #450 from mwhudson/no-network-no-proxy
...
do not use apt proxy during no-network install
2019-04-11 00:40:03 +01:00
Michael Hudson-Doyle
a8e153b896
do not use apt proxy during no-network install
2019-04-11 10:59:13 +12:00
Michael Hudson-Doyle
67e03aa890
fix editing encrypted/passphrase of vg
2019-04-10 16:24:35 +12:00
Michael Hudson-Doyle
901b5bdd76
allow answers to override the channel subiquity is refreshed from
2019-04-10 14:31:22 +12:00
Michael Hudson-Doyle
beafe96c8f
Use a single list on FilesystemModel to store all the actions
...
Another thing looking forward to reusing existing partitions/devices.
One user-visible change here: the devices list now lists constructed
devices, most recently created first, followed by the disks. This feels
better to me.
2019-04-09 23:25:32 +12:00
Michael Hudson-Doyle
e12cdab65e
hack snap version numbers in sample data to be more realistic
2019-04-09 23:13:37 +12:00
Michael Hudson-Doyle
7fb4498ed7
mention old and new versions of snap when offering update
2019-04-09 23:13:33 +12:00
Michael Hudson-Doyle
0ce5a6bc2e
record current and new versions of snap
2019-04-09 23:10:11 +12:00
Dimitri John Ledkov
2edf1497dd
Merge pull request #445 from mwhudson/hostname-once
...
configure hostname directly
2019-04-09 10:46:38 +01:00
Michael Hudson-Doyle
220b13310f
configure hostname directly
...
rather than doing it via cloud-init, which gets reapplied on each boot.
also set up /etc/hosts as the other installers do it.
2019-04-09 09:58:58 +12:00
Michael Hudson-Doyle
23b246caf1
Merge pull request #435 from mwhudson/fs-action-metadata
...
make fs action code more generic with some metaprogramming
2019-04-05 15:51:14 +13:00
Michael Hudson-Doyle
6c4c79d47b
Merge pull request #443 from mwhudson/fix-build-jsonschema
...
take jsonschema from probert
2019-04-04 15:11:20 +13:00
Michael Hudson-Doyle
700d462cb6
take jsonschema from probert
...
probert has a requirements.txt that pins the version to the version
currently in the archive whereas curtin's is unversioned.
2019-04-04 15:04:08 +13:00
Michael Hudson-Doyle
ab633b691a
Merge pull request #440 from mwhudson/default-mirror
...
default the archive mirror to CC.{archive|ports}.ubuntu.com
2019-04-04 12:24:59 +13:00
Michael Hudson-Doyle
eda1ce2c5f
Merge pull request #441 from mwhudson/ci-debugging
...
trying to debug edge ci failures
2019-04-04 12:20:07 +13:00
Michael Hudson-Doyle
194137a151
Support 'accept-default' and 'country-code' in mirror answers
2019-04-04 12:12:50 +13:00
Michael Hudson-Doyle
7cc56a8b58
trying to debug edge ci failures
...
* add a bit more logging
* wait for initial network apply to finish before moving on from
network screen
2019-04-04 12:06:41 +13:00
Michael Hudson-Doyle
2840e3d8fc
default the archive mirror to CC.{archive|ports}.ubuntu.com
2019-04-03 23:31:23 +13:00
Dimitri John Ledkov
1433a43255
Merge pull request #436 from mwhudson/easier-deleting
...
Relax constraints on what can be deleted slightly
2019-04-03 10:26:07 +01:00
Dimitri John Ledkov
82da73c91c
Merge pull request #437 from mwhudson/fs-initial-view-tweak
...
show table heading on filesystem view initial load
2019-04-03 10:25:13 +01:00
Michael Hudson-Doyle
e48b56fd4a
Merge pull request #439 from mwhudson/lv-size-big-B
...
render LV sizes with 'B' to match new curtin schema
2019-04-03 16:01:27 +13:00
Michael Hudson-Doyle
9a4f53965b
render LV sizes with 'B' to match new curtin schema
2019-04-03 15:40:32 +13:00
Michael Hudson-Doyle
35d41e26fd
Merge pull request #434 from mwhudson/refresh-branch
...
customize where subiquity refreshes from
2019-04-03 14:36:34 +13:00
Michael Hudson-Doyle
ea96951fbd
Merge pull request #438 from mwhudson/update-probert
...
Update to probert tip
2019-04-02 22:16:21 +13:00
Michael Hudson-Doyle
ec15929d60
Update to probert tip
...
The minimum required: it still only looks at the "blockdev" key in the
probe data, none of the exciting new stuff.
2019-04-02 13:43:09 +13:00
Michael Hudson-Doyle
f29ee64f76
Relax constraints on what can be deleted slightly
...
Allow a compound device (i.e. VG or raid) to be deleted if none of its
partitions are mounted or part of another device.
This makes it a lot easier to remove existing devices that probing for
existing partitions / compound devices can find.
2019-04-01 21:06:38 +13:00