Michael Hudson-Doyle
bfb6a38b56
Merge pull request #995 from dbungert/lp-1934408
...
Default selected_language to en_US if LANG is not helpful
2021-07-02 11:38:19 +12:00
Dan Bungert
f57b3d1f61
Default selected_language to en_US if LANG is not helpful
2021-07-01 17:26:21 -06:00
Dan Bungert
90b1bb9eed
Refactor - drop external_temp_file ( #985 )
...
Move unattended-upgrades to part of postinstall, so it can be done
before the restore_apt_config umount, which lets us get rid of the
redundant external_temp_file logic.
2021-06-28 17:11:49 -06:00
Michael Hudson-Doyle
edb101cf2a
Merge pull request #993 from mwhudson/lp-1933711
...
allow a mount action to not have a device
2021-06-29 11:03:44 +12:00
Michael Hudson-Doyle
cf75408e46
Merge pull request #992 from mwhudson/generalize-_one-_all
...
make two FilesystemModel helper methods slightly more general
2021-06-29 10:56:03 +12:00
Michael Hudson-Doyle
7de63e7aae
allow a mount action to not have a device
...
for https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1933711
2021-06-28 10:49:46 +12:00
Michael Hudson-Doyle
067c3a949b
make two FilesystemModel helper methods slightly more general
...
so I can adapt a call to not require changes when imsm volumes become
possible boot devices
2021-06-25 13:52:29 +12:00
Michael Hudson-Doyle
16d34299b2
Merge pull request #989 from mwhudson/old-raid-size
...
for an existing raid, read the size out of udev data rather than guessing
2021-06-25 08:55:21 +12:00
Michael Hudson-Doyle
acda94b77a
Merge pull request #990 from mwhudson/clean-up-meth
...
remove a method that got missed in some previous branch
2021-06-24 19:38:55 +12:00
Michael Hudson-Doyle
71810263b0
remove a method that got missed in some previous branch
2021-06-24 19:32:26 +12:00
Michael Hudson-Doyle
ac964b4312
for an existing raid, read the size out of udev data rather than guessing
2021-06-23 15:12:16 +12:00
Michael Hudson-Doyle
580d040398
Merge pull request #988 from mwhudson/workaround-lp-1925745
...
install packages with -o APT::Get::Always-Include-Phased-Updates=true
2021-06-17 10:42:38 +12:00
Michael Hudson-Doyle
6ab29c5868
install packages with -o APT::Get::Always-Include-Phased-Updates=true
...
to work around bug #1925745 in apt until it is SRUed.
2021-06-17 10:37:35 +12:00
Michael Hudson-Doyle
5e7a6b89fb
Merge pull request #984 from fulldecent/main
...
Correct spelling of GitHub
2021-06-16 22:03:36 +12:00
William Entriken
5876f7e770
Correct spelling of GitHub
2021-06-15 15:08:36 -04:00
Dan Bungert
6a189dd598
Add EventCallback, and move mirror task things to GeoIP ( #983 )
...
Move mock_app to common location.
Move run_coro to subiquitycore so that subiquitycore doesn't have to
reference things in subiquity, even for test.
Move task tracking things from mirror to geoip.
Server app owns the geoip instance.
Create EventCallback as an alternative to MessageHub that should
hopefully express clearer intermodule dependencies.
2021-06-14 16:05:27 -06:00
Michael Hudson-Doyle
92bc06b5c0
Merge pull request #982 from mwhudson/snap-fix
...
add python3-yaml to build-packages (make-kbd-info.py now indirectly r…
2021-06-11 15:37:38 +12:00
Michael Hudson-Doyle
5f6695d9d3
add python3-yaml to build-packages (make-kbd-info.py now indirectly requires this)
2021-06-11 14:21:16 +12:00
Michael Hudson-Doyle
83d076975d
Merge pull request #979 from mwhudson/install-wpasupplicant-on-demand
...
install wpasupplicant when a wifi nic is seen
2021-06-10 12:54:09 +12:00
Dan Bungert
6aa33ecddc
GeoIP: split out, add timezone ( #981 )
...
Split GeoIP out to a distinct class.
Add timezone support to it.
Add GeoIP tests.
2021-06-09 18:44:47 -06:00
Michael Hudson-Doyle
ef008f4aea
address review comments
2021-06-10 12:32:29 +12:00
Michael Hudson-Doyle
30b8767374
Merge pull request #980 from mwhudson/wlan-fixes-harder
...
fix some more assorted small wlan problems
2021-06-10 10:47:12 +12:00
Michael Hudson-Doyle
c91245600c
update probert
2021-06-10 10:04:41 +12:00
Michael Hudson-Doyle
7b3bb0278b
fix some more assorted small wlan problems
2021-06-09 15:28:06 +12:00
Michael Hudson-Doyle
fa9628f34c
remove support from network model for filtering out wlan devices
2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle
f2aa174b76
install wpasupplicant in the target system if it was installed in live system
2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle
907e7dd7b0
implement UI for tracking wpasupplicant install state
...
this should perhaps be in the subiquity package vs subiquitycore somehow
but that seems hard.
2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle
7bb9af41d8
add wpasupplicant-install-state tracking to API
...
absolutely minimal client side implementation
2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle
6a37ab9733
do not show wlan nics to client until wpasupplicant is installed
2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle
429155d1c4
start installing wpasupplicant when we see a wlan nic
2021-06-09 13:00:35 +12:00
Michael Hudson-Doyle
d108d06aa8
add sample data with wifi
2021-06-09 11:07:22 +12:00
Dan Bungert
21058464fd
make_cloudconfig - start moving cloud config generation to models ( #975 )
...
Add make_cloudconfig as a function that models should offer that allows
for generation of the cloud-config snippet.
Move snaplist and locale to this mechanism.
Add a test for snaplist output.
2021-06-08 16:54:29 -06:00
Michael Hudson-Doyle
2a6b5d1a48
Merge pull request #978 from mwhudson/cloud-init-wait-tests
...
wait for cloud-init in test-in-lxd.sh
2021-06-09 10:24:51 +12:00
Michael Hudson-Doyle
e812202869
wait for cloud-init in test-in-lxd.sh
2021-06-09 10:07:32 +12:00
Dan Bungert
86b087eb4b
Add client_variant ( #976 )
...
We need to know which controllers to block on, and which are optional.
The mechanism, for now, is this client_variant functionality, which adds
a mandatory early API call that the client shall use. This allows
controllers to say that they are only required to be configured for
certain install clients, such as is necessary for timezone (which is
needed on desktop, and optional on server).
2021-06-08 16:06:32 -06:00
Michael Hudson-Doyle
2da12b66e1
Merge pull request #967 from mwhudson/render-wifi-config-separately
...
write any wifi config to a file only readable by root
2021-06-09 10:02:02 +12:00
Michael Hudson-Doyle
861295b192
add a comment about why we only split out the wifi config
2021-06-09 09:57:25 +12:00
Michael Hudson-Doyle
9c93f2b0e1
write any wifi config to a file only readable by root
2021-06-08 10:00:44 +12:00
Michael Hudson-Doyle
2c7ec18aa8
Merge pull request #973 from mwhudson/fs-boot-reorg
...
make booting related queries singledispatch methods
2021-06-08 08:49:28 +12:00
Dan Bungert
1d42f897a1
test-in-lxd: remove privileged container usage ( #974 )
...
* test-in-lxd: remove privileged container usage
* Don't assume certain home directory name
* Try enabling groovy
2021-06-07 14:36:37 -06:00
Michael Hudson-Doyle
15f995096e
Merge pull request #963 from mwhudson/wlan-fixes
...
subiquitycore wlan fixes
2021-06-04 15:43:00 +12:00
Michael Hudson-Doyle
f47acf2932
one more small refactor
2021-06-04 14:57:39 +12:00
Michael Hudson-Doyle
fad7f2ddda
move is_bootloader_partition to standalone function
2021-06-04 14:54:45 +12:00
Michael Hudson-Doyle
15b8bee1fb
make is_esp a singledispatch
2021-06-04 14:49:37 +12:00
Michael Hudson-Doyle
faea101e12
try to refactor some boot device code in preparation for imsm
2021-06-04 09:26:51 +12:00
Michael Hudson-Doyle
8de00d30fa
Merge pull request #970 from dbungert/example-data-cleanup
...
Cleanup example data
2021-06-03 12:31:49 +12:00
Michael Hudson-Doyle
187b09fd45
Merge pull request #965 from mwhudson/wlan-methods-api
...
add wlan-related methods to API
2021-06-03 12:30:18 +12:00
Michael Hudson-Doyle
4c03823b06
update probert to version that has mark-wlan-earlier merged
2021-06-03 11:29:49 +12:00
Michael Hudson-Doyle
7b4a7b235c
Merge pull request #968 from mwhudson/kernel-controller
...
move kernel package selection to its own controller/model
2021-06-03 11:24:27 +12:00
Michael Hudson-Doyle
8e1e1439ae
Merge pull request #966 from mwhudson/fs-labels-reorg
...
move storage description functionality to singledispatch methods
2021-06-03 11:23:50 +12:00