Michael Vogt
fc224aab0c
services: run console-conf after core18.start-snapd.service
...
On core18 the firstboot seeding happens via the core18.start-snapd
service. This service will do the initial start of snapd when the
system is unseeded. This service will wait until the system is
fully seeded.
We cannot run console-conf before that because it uses the "snap"
command which will not be available before the system is seeded.
Once that has landed https://github.com/snapcore/core18/pull/74
can be reverted (in fact the hooks/200-console-conf-after.chroot
file can be removed entirely).
2020-02-25 11:05:09 +01:00
Michael Hudson-Doyle
30663c4ea7
Merge pull request #635 from mwhudson/orig-refactor
...
Refactor how we track what filesystem a volume originally had
2020-02-25 11:26:28 +13:00
Maciek Borzecki
fc09279772
bin/console-conf-wrapper: detect whether snapd recovery chooser should run
...
Look for the marker file left by snapd recovery chooser user request detection
and attempt to run the chooser.
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
2020-02-24 11:07:40 +01:00
Michael Hudson-Doyle
5c2baef761
Refactor how we track what filesystem a volume originally had
...
This makes things a bit more generic, because I am going to need to
track which partition table type a disk originally.
The special cases around swap are annoying.
2020-02-24 16:10:11 +13:00
Michael Hudson-Doyle
5cc407bfcd
Merge pull request #634 from mwhudson/report-ssh-import-id-failure
...
Report ssh import id failure
2020-02-24 14:00:06 +13:00
Michael Hudson-Doyle
068a70ef5d
fix inverted logic about reporting ssh-import-id failure
...
brought to you by https://bugs.launchpad.net/ubuntu/+source/ssh-import-id/+bug/1864107
2020-02-24 13:51:12 +13:00
Balázs Meskó
bbea9a875c
Typos in a localizable string
...
Fixed the following:
- missing variable
- typo in the word „existing”
- ending comma for consistency
2020-02-21 21:21:24 +01:00
Michael Hudson-Doyle
6c5c2022fd
Merge pull request #630 from mwhudson/guided-luks
...
add guided luks options
2020-02-12 12:25:41 +13:00
Michael Hudson-Doyle
bb8db426ea
Merge pull request #631 from mwhudson/fix-initial-language
...
fix initial highlight on the welcome screen
2020-02-12 12:25:30 +13:00
Michael Hudson-Doyle
a7db327944
fix initial highlight on the welcome screen
...
unless LANG happened to match a supported language exactly, the last language
(currently Ukranian) would be selected by default
2020-02-12 12:23:31 +13:00
Michael Hudson-Doyle
b58faf77a4
Tweak page titles
2020-02-12 12:17:51 +13:00
Michael Hudson-Doyle
e59e6dd16b
bring back a 1-line subtitle
2020-02-12 12:10:25 +13:00
Michael Hudson-Doyle
522fa5c4cb
Merge pull request #4 from xnox/luks
...
Update help
2020-02-12 12:02:18 +13:00
Dimitri John Ledkov
0eb86b32a9
Update help
2020-02-11 22:39:56 +00:00
Michael Hudson-Doyle
f77c4dc175
add guided luks options
2020-02-11 13:59:15 +13:00
Michael Hudson-Doyle
e2410a0bb1
Merge pull request #625 from mwhudson/autoinstall-2
...
autoinstall!
2020-02-04 14:12:52 +13:00
Michael Hudson-Doyle
db9762bcf3
update apt/mirror handling to new schema
2020-02-04 14:08:30 +13:00
Michael Hudson-Doyle
e3829549e8
reboot after successful autoinstall
2020-02-04 14:07:36 +13:00
Michael Hudson-Doyle
d485a72cea
do not listen to udev block events when not interactive
2020-02-04 14:06:41 +13:00
Michael Hudson-Doyle
53e899c86f
first stab at implementing load_autoinstall_data & apply_autoinstall_config
2020-02-04 14:05:46 +13:00
Michael Hudson-Doyle
ce7521017a
fill out autoinstall_key everywhere
2020-02-04 14:04:52 +13:00
Michael Hudson-Doyle
99218fbeb4
support early and late commands
2020-02-04 14:03:59 +13:00
Michael Hudson-Doyle
1f4c05a50f
leave the terminal in text mode and print to it when not interactive
2020-02-04 14:03:05 +13:00
Michael Hudson-Doyle
9c59fa59db
general machinery for autoinstalls
2020-02-04 14:02:59 +13:00
Michael Hudson-Doyle
671febc73f
add controller and application .interactive() methods
2020-02-04 13:49:09 +13:00
Michael Hudson-Doyle
e975d187e7
load, merge and write out again the autoinstall configs
2020-02-04 13:49:09 +13:00
Michael Hudson-Doyle
3e729bdadd
add --autoinstall command line option
2020-02-04 13:49:09 +13:00
Michael Hudson-Doyle
9db0c18fdd
add some example autoinstall files
2020-02-04 13:49:09 +13:00
Michael Hudson-Doyle
f8e89313ee
Merge pull request #626 from mwhudson/mirror-tweaks
...
refactor how mirror data is handled
2020-02-04 13:48:49 +13:00
Michael Hudson-Doyle
2c1d350ea0
do less at import time
2020-02-04 13:47:20 +13:00
Michael Hudson-Doyle
52fc18b77b
calculate some things that will not change just once
2020-02-03 15:47:38 +13:00
Michael Hudson-Doyle
7ded7c1ac7
refactor how mirror data is handled
...
This is prep work for allowing autoinstalls to specify a complete apt
config.
2020-02-03 15:47:38 +13:00
Dimitri John Ledkov
436ee1d76d
Bump curtin to commit with multipath fixes
2020-01-30 23:10:12 +00:00
Michael Hudson-Doyle
845b7b397f
Merge pull request #628 from mwhudson/refresh-to-async-fix
...
fix installation hang after refreshing snap
2020-01-31 09:53:30 +13:00
Michael Hudson-Doyle
910b00b0c7
fix installation hang after refreshing snap
...
The installprogress controller waits for various model objects to be
configured before proceeding. But model objects whose state was loaded
from disk after a snap refresh were not marked as configured :( This
meant that, in particular, the postinstall steps waited on the language
being configured indefinitely. The fix is simple: mark model objects as
configured when their state is loaded from disk post-refresh.
2020-01-31 09:24:20 +13:00
Dimitri John Ledkov
cbaab430a3
Switch script to use python3, as python is no longer available
...
I guess good luck to the Jenkins CI?
2020-01-29 18:00:54 +00:00
Michael Hudson-Doyle
ac40a3758f
Merge pull request #624 from mwhudson/refactor-exiting
...
refactor how subiquity is exited after install
2020-01-24 12:09:15 +13:00
Dimitri John Ledkov
a18d6b678e
Fix spinner typeerror.
...
LP: #1860444
2020-01-21 16:39:15 +02:00
Michael Hudson-Doyle
963cbaaafe
refactor how subiquity is exited after install
...
if we want to do things after install has completed (e.g.: run late
commands), we can't have the code that runs the install invoking
/sbin/reboot directly.
2019-12-20 13:54:34 +13:00
Michael Hudson-Doyle
f925c3fa2a
Merge pull request #622 from mwhudson/make_screen-method
...
make screen behaviour more configurable
2019-12-20 13:09:57 +13:00
Michael Hudson-Doyle
06866c39e1
Merge pull request #623 from mwhudson/guided-layouts-controller
...
move guided disk layout implementation to controller
2019-12-20 13:09:49 +13:00
Michael Hudson-Doyle
a40082a29b
Merge pull request #621 from mwhudson/controller-set-tweaks
...
tweak ControllerSet
2019-12-20 13:01:04 +13:00
Michael Hudson-Doyle
b18ae6d00c
move guided disk layout implementation to controller
2019-12-20 12:55:24 +13:00
Michael Hudson-Doyle
78d59de8c6
only call setraw if the screen is talking to a tty
2019-12-20 12:48:27 +13:00
Michael Hudson-Doyle
039b5313c4
move make_screen into a method
2019-12-20 12:47:37 +13:00
Michael Hudson-Doyle
ab6fdeb1b5
tweak ControllerSet
...
* add a way to load just one controller
* fetch the RepeatedController class from a projet specific location
neither used yet, but soon
2019-12-20 12:43:42 +13:00
Michael Hudson-Doyle
21b7556dc1
Merge pull request #620 from mwhudson/prioritize-asyncio-loop
...
use the asyncio loop object rather than the urwid loop almost everywhere
2019-12-20 12:20:44 +13:00
Michael Hudson-Doyle
cb52ab75a2
use the asyncio loop object rather than the urwid loop almost everywhere
2019-12-20 12:04:38 +13:00
Michael Hudson-Doyle
b1fb40507f
Merge pull request #617 from mwhudson/subiquity-controller
...
make all subiquity controllers used inherit from SubiquityController
2019-12-20 11:44:21 +13:00
Michael Hudson-Doyle
cfc38e1c1b
make all subiquity controllers used inherit from SubiquityController
...
There is going to be a chunk of subiquity specific functionality coming
for autoinstalls, this gives us somewhere to put it.
2019-12-20 11:41:12 +13:00