Commit Graph

3961 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 5b1c40817b read languages from language list 2020-05-21 11:54:49 +12:00
Michael Hudson-Doyle 0a746a84bd add initial languagelist 2020-05-21 11:54:49 +12:00
Michael Hudson-Doyle a6d98f29e6 change languagelist format a bit, add some special cases 2020-05-21 11:54:49 +12:00
Michael Hudson-Doyle 5cb37acefc make some language lists at snap build time 2020-05-21 11:54:49 +12:00
Michael Hudson-Doyle 25e2c8c504 fix tests 2020-05-21 11:41:16 +12:00
Michael Hudson-Doyle b1a67f797c tweak title 2020-05-21 11:41:16 +12:00
Michael Hudson-Doyle 9eb625dd03 offer ssh instructions on the initial screen on serial 2020-05-21 11:41:16 +12:00
Michael Hudson-Doyle 0950bf843e explain basic mode on initial screen 2020-05-21 11:41:16 +12:00
Michael Hudson-Doyle 0d267b320e only allow downgrading color/ascii experience on serial
and collapse ascii/color choice to a single 'rich' toggle
2020-05-21 11:41:16 +12:00
Michael Hudson-Doyle 8628cbb0b8
Merge pull request #779 from mwhudson/utf8-fallback
call setlocale() and set LC_CTYPE to C.UTF-8 if it fails
2020-05-21 11:28:25 +12:00
Michael Hudson-Doyle 65667c6a61 make a separate build_i18n command again
otherwise you might get the one from distutils-extra which does not do
the right thing any more
2020-05-21 11:27:55 +12:00
Michael Hudson-Doyle 7bcfcba99b Merge branch 'master' into still-better-i18n 2020-05-21 11:15:32 +12:00
Michael Hudson-Doyle 3c98f68fcf use a real locale in examples/autoinstall.yaml 2020-05-21 10:49:42 +12:00
Michael Hudson-Doyle fec0cfa094 call setlocale() and set LC_CTYPE to C.UTF-8 if it fails 2020-05-21 10:48:53 +12:00
Dimitri John Ledkov f2716f2465
Merge pull request #776 from mwhudson/better-wifi
fix the wifi configuration some more
2020-05-19 14:11:53 +01:00
Michael Vogt e748115ea9 console-conf: show journal log during install
Display the snapd journal while the system installs. This will
give us important clues what might go wrong during a install
and also gives the user some sense of progress.

For post-beta we need to think if we really want to display this
level of detail. OTOH we don't expect people to watch the console
during firstboot yet and if that will happen we need to also tweak
a bunch more (like kernel messages, systemd messages etc).
2020-05-19 11:19:27 +02:00
Michael Hudson-Doyle b85f8118b7 update the network view when wlan dialod is saved 2020-05-19 11:53:03 +12:00
Michael Hudson-Doyle c523e21c34 update wlan dialog when scan results come in 2020-05-19 11:53:03 +12:00
Michael Hudson-Doyle 7236771d2f correctly enable dhcp4 when configuring a ssid for a wlan interface 2020-05-19 11:53:03 +12:00
Michael Hudson-Doyle acd6ee0032
Merge pull request #775 from mwhudson/logged-passwords-lp-1879381
do not log wifi passwords from existing configs
2020-05-19 11:25:44 +12:00
Michael Hudson-Doyle 61a0ba4a4b
Merge pull request #772 from xnox/consoleconf-wifi
network: fix wifi screen
2020-05-19 08:12:55 +12:00
Michael Hudson-Doyle e588d6475f do not log wifi passwords from existing configs 2020-05-19 07:47:33 +12:00
Dimitri John Ledkov debc34cb3c Fix typo 2020-05-18 19:59:47 +01:00
Dimitri John Ledkov 6de8970560 console_conf: fix showing error messages, when snap create-user fails 2020-05-18 12:42:14 +01:00
Dimitri John Ledkov ef838cabd1
Merge pull request #770 from bboozzoo/bboozzoo/run-chooser-when-disabled
console-conf: always run when triggered for the chooser
2020-05-18 12:16:06 +01:00
Dimitri John Ledkov da1477ba01 network: fix wifi screen
WiFi screen was broken since NetDev refactor. Unbreak it.
2020-05-18 12:00:42 +01:00
Michael Vogt c5ee7c95d5 console-conf-wrapper: show snapd log during install
This will help finding some of the current install problems by
showing the snapd log on the terminal during the install.
2020-05-18 09:29:36 +02:00
Michael Hudson-Doyle 2ea7f6cd5a
Merge pull request #769 from idryzhov/fix-version
write version into autoinstall-user-data
2020-05-15 08:09:56 +12:00
Michael Hudson-Doyle 0ef70d4ba8
Merge pull request #768 from idryzhov/fix-keyboard
allow keyboard/toggle to be null
2020-05-15 08:09:09 +12:00
Michael Hudson-Doyle ccc7d2e95f
Merge pull request #763 from mwhudson/dont-always-preserve_hostname
do not set preserve_hostname if there is no hostname set
2020-05-15 08:08:48 +12:00
Michael Hudson-Doyle 577bf957af
Merge pull request #767 from mwhudson/default-lvm
default to setting up LVM in guided storage screen
2020-05-15 08:08:13 +12:00
Maciej Borzecki bd859a9a4b bin/console-conf-wrapper: check /var/lib/console-conf/complete when in recovery
Once console-conf is started for recovery chooser, exit early when the recovery
chooser does not exist.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-05-13 18:27:20 +02:00
Maciej Borzecki 06de80cf60 debian/console-conf@.service: use triggering conditions, make recovery marker file one
Use triggering conditions for controlling when console-conf should run. We
effectively want it to start if there is no /var/lib/console-conf/complete
file *or* the snapd recovery marker file exists.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-05-13 18:24:27 +02:00
Igor Ryzhov 3c7960ca93 write version into autoinstall-user-data
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2020-05-13 19:06:57 +03:00
Igor Ryzhov 183675522d allow keyboard/toggle to be null
Documentation allows toggle to be null and it's the default value.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2020-05-13 18:24:48 +03:00
Michael Hudson-Doyle 812f33cab6 default to setting up LVM in guided storage screen 2020-05-13 16:34:35 +12:00
Michael Hudson-Doyle 71ee369c7f
Merge pull request #765 from mwhudson/no-live-session-no-error-reports
do not generate a crash report if we are not in a live session
2020-05-12 22:52:09 +12:00
Michael Hudson-Doyle 7db70650fe write the dm_crypt key to a keyfile, not curtin config 2020-05-12 16:53:38 +12:00
Michael Hudson-Doyle 936e3877bb slightly change how to customize the serialization of a particular field 2020-05-12 16:16:21 +12:00
Michael Hudson-Doyle ec9158f4be do not generate a crash report if we are not in a live session
Some people for whatever reason have subiquity installed on their systems
and their error reports flood the tracker.
2020-05-12 10:59:38 +12:00
Michael Hudson-Doyle 50bb413507
Merge pull request #764 from mwhudson/new-lint-fixes
fix some lint found by new version of flake8
2020-05-12 10:59:18 +12:00
Michael Hudson-Doyle 24abf5dd4e fix some lint found by new version of flake8 2020-05-12 10:41:54 +12:00
Michael Hudson-Doyle d607379876 do not set preserve_hostname if there is no hostname set
only applicable in the autoinstall case
2020-05-11 21:32:02 +12:00
Michael Hudson-Doyle ba7d0c5924 last two {}s in the pot file 2020-05-11 17:05:19 +12:00
Michael Hudson-Doyle 6f8bab49e5 log commands as executed 2020-05-11 16:30:29 +12:00
Michael Hudson-Doyle 19465dc51c more translatability improvements 2020-05-11 15:00:42 +12:00
Michael Hudson-Doyle 29a0af5665 oops 2020-05-08 15:49:21 +12:00
Michael Hudson-Doyle a05b030085 fix lint 2020-05-08 15:44:07 +12:00
Michael Hudson-Doyle 21ed91d7d3 add comments, contexts for some translatable strings
from scanning though about one third of subiquity.pot
2020-05-08 15:40:59 +12:00
Michael Hudson-Doyle 59c47254e7 use pgettext in one place, add support for extracting it 2020-05-08 15:13:15 +12:00