Dan Bungert
64d190573d
Merge pull request #1077 from mwhudson/install-from-langpack-squashfs
...
install from squashfs with langpack preinstalled if present
2021-10-05 16:43:07 -06:00
Dan Bungert
8092b3405b
slimy: python 3.8
2021-10-05 12:27:47 -06:00
Michael Hudson-Doyle
e72022f0a1
install from squashfs with langpack preinstalled if present
2021-10-05 11:42:02 -06:00
Didier Roche
f72d581692
Merge pull request #1080 from dbungert/ci-impish-workaround
...
workflows: avoid impish failing the rest of CI check
2021-10-05 18:33:03 +02:00
Dan Bungert
103f3876b8
workflows: fail-fast false to let other builds run
...
Use fail-fast: false to let the non-failing matrix builds continue to
run. Right now impish is timing out early in the process and we can't
see the results for the others.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-10-05 10:27:08 -06:00
Didier Roche
15f9e9201c
Merge pull request #1073 from canonical/wsl_oobe_deeng_41
...
DEENG-41 - Update TUI command line name and remove unneeded options.
2021-10-05 09:06:20 +02:00
Michael Hudson-Doyle
77af962ab3
Merge pull request #1040 from lambda-propaganda/patch-1
...
Fix advancing from snap list screen before snaps have loaded
2021-10-05 17:13:09 +13:00
Patrick Wu
2490befbd0
system_setup: remove unnecessary params in tui.py
2021-10-05 09:33:21 +08:00
Michael Hudson-Doyle
46f671d14d
Merge pull request #1072 from dbungert/core20-base
...
snapcraft: core20 base
2021-10-05 13:42:51 +13:00
Michael Hudson-Doyle
ffa0d722da
Merge pull request #1071 from dbungert/source-configured
...
server: Source.configured needs await
2021-10-05 11:02:54 +13:00
Dan Bungert
5cbecaea35
Merge pull request #1075 from canonical/wsl-fix-autoinstall
...
Fix crash with autoinstall on non-systemd env
2021-10-04 07:20:03 -06:00
Jean-Baptiste Lallement
6cc8c6169b
Fix crash with autoinstall on non-systemd env
...
On WSL and any system without systemd the server crashes becauses
the syslog id is always set (and never None) and systemd cat cannot
connect to the journal.
We cant set the id to None because the API expects a string, so the
check "is not None" is always true.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-10-04 13:09:24 -07:00
Dan Bungert
2181b15a87
views/snaplist: set a default selected list
2021-10-03 18:26:08 -06:00
lambda-propaganda
6e99143396
Update snaplist.py
...
fix: done() is called before the snap has loaded causing Attribute error
2021-10-03 18:18:23 -06:00
Dan Bungert
636b4401d2
Merge pull request #1070 from mwhudson/lang-support
...
improve locale support
2021-10-03 17:10:39 -06:00
Dan Bungert
be158a375f
snapcraft: environment and package fixes
...
* adjust environment to set PYTHONPATH to pick up site-packages
* add more required packages
* add script for subiquity-server, and set PYTHONPATH there,
so that the PYTHONPATH takes effect
2021-10-01 13:59:10 -06:00
Michael Hudson-Doyle
8de369ece2
snapcraft: change base to core20
2021-10-01 13:29:31 -06:00
Dan Bungert
b35bf07e9d
server: Source.configured needs await
2021-09-30 22:12:10 -06:00
Dan Bungert
1a3bcbc1c4
Merge pull request #1068 from mwhudson/lp-1935969
...
fixes around logical volume size
2021-09-30 18:21:24 -06:00
Dan Bungert
9dbc24b44c
partitioning: add a constant for default alignment
2021-09-30 17:55:51 -06:00
Michael Hudson-Doyle
b144f234ac
install packages listed by check-language-support when locale_support == "langpack"
2021-09-30 12:09:57 +13:00
Michael Hudson-Doyle
13d541654b
do not configure a locale for a system that does not support locales at all
2021-09-30 12:01:58 +13:00
Michael Hudson-Doyle
5811fe3276
read locale_support from source catalog and pass it to locale model
2021-09-30 11:55:59 +13:00
Michael Hudson-Doyle
0a03ef5257
slight generalization of how to run things chrooted into target
2021-09-30 11:55:04 +13:00
Michael Hudson-Doyle
0890424727
Merge pull request #1067 from mwhudson/lp-1943609
...
never match a disk with 0 size when converting autoinstall config
2021-09-29 15:29:52 +13:00
Michael Hudson-Doyle
cd9d2da989
align size to 4MiB in create lv UI
2021-09-29 15:29:27 +13:00
Michael Hudson-Doyle
f991101e7b
make sure LVM_VolGroup.free_for_partitions is a multiple of 4MiB
2021-09-29 15:13:15 +13:00
Michael Hudson-Doyle
f7491fd5af
make sure size of LV created in guided lvm is a multiple of 4MiB
2021-09-29 15:11:50 +13:00
Michael Hudson-Doyle
52b260bc22
never match a disk with 0 size when converting autoinstall config
...
Sometimes empty CD drives or SD card readers show up as block devices
with 0 size. It never makes sense to select these when converting
autoinstall config to curtin config (and size: smallest is quite likely
to do so!)
For https://bugs.launchpad.net/subiquity/+bug/1943609
2021-09-29 15:03:07 +13:00
Michael Hudson-Doyle
fbc921d9f3
Merge pull request #1065 from dbungert/serializer-defaults
...
Serializer: clarify default / optional
2021-09-29 10:03:00 +13:00
Michael Hudson-Doyle
0d0bd39991
Merge pull request #1059 from dbungert/pubsub-arg
...
pubsub: optional argument at broadcast time
2021-09-29 09:59:56 +13:00
Michael Hudson-Doyle
9b4c7f341f
Merge pull request #1044 from canonical/wsl_autoinstall
...
DE-91 - System Setup autoinstall
2021-09-29 09:58:45 +13:00
Jean-Baptiste Lallement
4a2f2af268
Run WSL tests on 20.04+
...
The behaviour of python regarding asynchronous packages changed between
18.04 and 20.04+. OOBE is only supported on 20.04 and higher and there
is no point in making the WSL specific code compatible with ealier
releases than 20.04
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:32:39 +02:00
Jean-Baptiste Lallement
44b0b66531
Block shutdown controller on installation done
...
A race existed due to ~he shutdown controller not waiting for the
install task to be complete.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:32:39 +02:00
Jean-Baptiste Lallement
fecd1cc68c
Remove empty "required" in schema
...
There are no required for WSLConf*, remove it instead of using empty
lists.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:32:39 +02:00
Jean-Baptiste Lallement
4966173d6c
Test system setup autoinstall
...
It also adds an argument --ignore-tz to the schema comparison test to
not fail on system where the schema has no TZ like WSL.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:32:39 +02:00
Jean-Baptiste Lallement
475e900570
Added reference schema for system setup
...
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:32:36 +02:00
Jean-Baptiste Lallement
b81447c988
Added schema for system setup autoinstall
...
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:26:29 +02:00
Jean-Baptiste Lallement
f13bb1121f
Fix: use right identity controller for system setup
...
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:26:10 +02:00
Jean-Baptiste Lallement
c2ae0a7df4
Proceed with (post)install even without controllers
...
The server was waiting forever if there is no controller defined for
install or post-install events.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-28 09:21:01 +02:00
Dan Bungert
7ca28afb49
Serializer: clarify default / optional
...
Optional means a field can be none.
A field having a default means we don't have to supply it.
Explicitly reject non-real fields.
2021-09-27 21:22:22 -06:00
Michael Hudson-Doyle
1a3a25bb4b
Merge pull request #1063 from mwhudson/lp-1941968
...
allow a lvm_partition to not have a size
2021-09-28 10:01:14 +13:00
Didier Roche
f947847e31
Merge pull request #1050 from canonical/wsl_oobe_win_locale
...
DE-100 - Locale/Base/Advanced models initialization
2021-09-27 17:24:50 +02:00
Patrick Wu
65530cf3b3
system_setup: additional Base/Avanced changes and fixes
...
the fixes includes:
1. renamed helpers.py to wsl_utils.py
2. update several log strings
3. renamed LocaleController to WSLLocaleController
4. improving logic and warnings in get_windows_locale()
5. move config_ref to wsl_utils.py
5. fixes bool_converter()
6. fixes locale configured() getting stuck
2021-09-27 20:36:25 +08:00
Michael Hudson-Doyle
80accd88f9
Merge pull request #1054 from mwhudson/server-state-backchannel
...
write server state to disk when it is updated
2021-09-27 22:27:27 +13:00
Michael Hudson-Doyle
3b6436434c
remove server-state file when starting up dry-run system_setup
2021-09-27 22:10:07 +13:00
Michael Hudson-Doyle
51aaf7265c
allow a lvm_partition to not have a size
...
for autoinstalls. Curtin supports this.
https://bugs.launchpad.net/subiquity/+bug/1941968
2021-09-27 13:17:39 +13:00
Michael Hudson-Doyle
3b5e7ff92c
Merge pull request #1062 from frank-heimes/frank-heimes-lp1944516
...
Add '--quiet' to 'lszdev' to omit additional progress msg - lp1944516
2021-09-27 09:49:04 +13:00
fheimes
f6154d9129
Update zdev-generate.py
...
adjusted whitespaces
2021-09-25 20:09:54 +02:00
Dan Bungert
af8dcfe6c3
pubsub: remove subscribe args, more broadcast args
...
Remove the subscribe time args, as they weren't used.
With that flexibility we can add many args at broadcast time.
2021-09-24 13:11:55 -06:00