Commit Graph

3544 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 2a3afa5c19 use any() instead of a for loop in a few places
suggested in review
2020-06-15 15:36:29 +12:00
Michael Hudson-Doyle 820315e02c look at the typecode to detect an ESP on MBR 2020-06-15 15:32:42 +12:00
Michael Hudson-Doyle f0661f39b9 add a property to tell if a partition is an ESP
the only change in behaviour is that you can now delete bootloader
partitions that apply to the booted system.
2020-06-15 15:32:42 +12:00
Michael Hudson-Doyle a9425e6f54
Merge pull request #789 from mwhudson/autoinstall-shell
allow starting a shell when connecting to a session running an autoinstall
2020-06-15 15:31:27 +12:00
Michael Hudson-Doyle 2ddde49a43 use the "None" datasource for on-first-boot configuration
Using the NoCloud source meant that a filesystem label of "cidata"
(probably containing autoinstall config) could override the cloud-init
nocloud seed subiquity wrote and then users would not get created. So
instead write cloud config directly that hardcodes using the
DataSourceNone source and config for it.

https://bugs.launchpad.net/subiquity/+bug/1879103
2020-06-15 15:07:03 +12:00
Michael Hudson-Doyle cfb31695cf allow starting a shell when connecting to a session running an autoinstall 2020-06-12 15:35:59 +12:00
Michael Hudson-Doyle b8c9ca2484 add mirror to examples/autoinstall.yaml 2020-06-12 15:31:15 +12:00
Michael Hudson-Doyle 4de58b2554
Merge pull request #788 from mwhudson/lp-1881887
do not crash in NetworkController._data_ready if ui.body is not a widgetwrap
2020-06-12 15:18:36 +12:00
Michael Hudson-Doyle 97b5c64805 do not crash in NetworkController._data_ready if ui.body is not a widgetwrap
for https://bugs.launchpad.net/subiquity/+bug/1881887
2020-06-12 15:01:58 +12:00
Michael Hudson-Doyle b4e9269e9e
Merge pull request #787 from mwhudson/refresh-crash
catch errors raised by checking for a snap update
2020-06-12 14:57:27 +12:00
Michael Hudson-Doyle 7314d1a197
Merge pull request #786 from mwhudson/help-crash
fix crash on opening a help topic when a help topic is already open
2020-06-12 14:50:05 +12:00
Michael Hudson-Doyle 5016f228f7 catch errors raised by checking for a snap update
I am not sure when I dropped this :(
2020-06-12 14:44:36 +12:00
Michael Hudson-Doyle 5f3e79f8c6 fix crash on opening a help topic when a help topic is already open 2020-06-12 13:12:31 +12:00
Michael Hudson-Doyle 6b99a1c399
Merge pull request #784 from PuffyZA/patch-1
Fix incorrect key in user_info
2020-06-12 11:27:47 +12:00
Michael Hudson-Doyle 574b73a137
Merge pull request #785 from mwhudson/curtin-update
go back to getting curtin from ubuntu/devel branch
2020-06-12 09:44:37 +12:00
Michael Hudson-Doyle cad2dd4e5f handle move of get_architecture from curtin.util to curtin.distro 2020-06-12 09:35:35 +12:00
Puffy eb9547b3a9
Fix incorrect key in user_info
The key lock-passwd in the user_info is incorrect, should be lock_passwd.
2020-06-09 16:45:17 +02:00
Michael Hudson-Doyle 999edebc46 go back to getting curtin from ubuntu/devel branch 2020-06-04 07:34:09 +12:00
Michael Hudson-Doyle fa5f60c9ae update translations from launchpad 2020-05-22 13:45:09 +12:00
Dimitri John Ledkov 4ef44df38d
Merge pull request #771 from mvo5/subiquity-show-install-logs
console-conf-wrapper: show snapd log during install
2020-05-21 14:22:04 +01:00
Michael Hudson-Doyle 6b0428b095
Merge pull request #762 from mwhudson/better-language-lists
make language list at snap build time
2020-05-21 14:37:52 +12:00
Michael Hudson-Doyle a16b017f32 Merge branch 'master' into better-language-lists 2020-05-21 14:11:50 +12:00
Michael Hudson-Doyle 9a779f40c2
Merge pull request #780 from mwhudson/rich-mode-cleanups
make it easier to open a help topic
2020-05-21 14:11:06 +12:00
Michael Hudson-Doyle afe22f2982 Merge branch 'master' into better-language-lists 2020-05-21 12:40:28 +12:00
Michael Hudson-Doyle a9dd3757f1
Merge pull request #761 from mwhudson/still-better-i18n
more work towards being able to provide good translations
2020-05-21 12:38:51 +12:00
Michael Hudson-Doyle 317121ab41 make it easier to open a help topic
meant to do this before landing my recent branch
2020-05-21 12:23:22 +12:00
Michael Hudson-Doyle 07d8f046b7 Merge branch 'master' into better-language-lists 2020-05-21 12:08:32 +12:00
Michael Hudson-Doyle 3e881df107
Merge pull request #778 from mwhudson/ascii-toggle
start in a super basic mode on serial, offer upgrade immediately
2020-05-21 12:05:47 +12:00
Michael Hudson-Doyle 05bbdb4ac9 fix mis-merge 2020-05-21 12:04:29 +12:00
Dimitri John Ledkov e2fe2a0693
Merge pull request #773 from xnox/snap-create-user-error
console_conf: fix showing error messages, when snap create-user fails
2020-05-21 01:02:31 +01:00
Michael Hudson-Doyle 35f1d511a6 fix some silly mistakes 2020-05-21 11:54:49 +12:00
Michael Hudson-Doyle 99ad097306 snapcraft.yaml fixery 2020-05-21 11:54:49 +12:00
Michael Hudson-Doyle 0216f1c6fc advertize that SSH gets you more languages 2020-05-21 11:54:49 +12:00
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