Commit Graph

4017 Commits

Author SHA1 Message Date
Michael Hudson-Doyle d1cc1cf593 make the snaps produced by slimy-update-snap.sh pass review
I mean we /probably/ shouldn't be using the snaps this makes for
anything serious but it can be useful for testing emergency fixes...
2021-08-24 11:43:24 +12:00
Michael Hudson-Doyle 1c06aba1ec
Merge pull request #1029 from mwhudson/reboot-flexibility
add more flexibility for shutdown time
2021-08-22 22:00:56 +12:00
Michael Hudson-Doyle a9d7e46b5f add autoinstall config to choose shutdown mode 2021-08-22 09:36:41 +12:00
Michael Hudson-Doyle 7f1beb1d64 add a mode argument to shutdown to allow reboot or power off 2021-08-22 09:36:41 +12:00
Michael Hudson-Doyle a2675b6ca6 add an immediate parameter to request immediate reboot 2021-08-22 09:36:41 +12:00
Michael Hudson-Doyle fc39247073 rename "reboot" controller/endpoint to "shutdown" 2021-08-22 09:36:41 +12:00
Michael Hudson-Doyle d44d29b3a5
Merge pull request #1032 from mwhudson/translations-update
update translations from launchpad
2021-08-20 14:17:15 +12:00
Michael Hudson-Doyle c96f0302da
Merge pull request #1031 from mwhudson/update-part-wtf
unset GIT_DIR in update-part.py
2021-08-20 10:33:14 +12:00
Michael Hudson-Doyle 107428628e update translations from launchpad
A while ago I set up subiquity for translations at
https://translations.launchpad.net/subiquity by uploading the pot and po
files that were current at the time and set it to export translations to
lp:~canonical-foundations/subiquity/translations-export (unfortunately,
launchpad translations only support exporting to bzr).  This commit
contains the po files from that branch. The diff is noisy but I don't
think there are many actual changes (although there are a few so some
people must have found this).

I haven't publicized this or asked the ubuntu-translators team to work
on the translations because I am still uncertain about what the best way
to manage translations for subiquity is. But this still seems better
than nothing.
2021-08-20 09:26:12 +12:00
Michael Hudson-Doyle a29d14a3f1 unset GIT_DIR in update-part.py
Otherwise very confusing things happen (it turns out GIT_DIR is set when
running an exec command during rebase).
2021-08-19 17:12:16 +12:00
Michael Hudson-Doyle c75ff1fccf
Merge pull request #1021 from mwhudson/variant-flexibility
redo how install variant determines which models to wait for
2021-08-17 16:08:54 +12:00
Michael Hudson-Doyle 0948a6c4f8
Merge pull request #1028 from mwhudson/curtin-update
update curtin
2021-08-12 13:19:14 +12:00
Michael Hudson-Doyle fbfbf67eb5 update curtin 2021-08-12 13:11:04 +12:00
Michael Hudson-Doyle 9be3d84dfa
Merge pull request #1027 from mwhudson/curtin-update
update curtin
2021-08-11 10:38:45 +12:00
Michael Hudson-Doyle 0bdb965444 update curtin 2021-08-11 10:34:22 +12:00
Michael Hudson-Doyle 782672816a
Merge pull request #1026 from dbungert/installdeps
make: fix install_deps order
2021-08-11 09:47:46 +12:00
Dan Bungert ee38a4506f deps: +build-essential 2021-08-10 13:14:08 -06:00
Dan Bungert cd05295db6 make: fix install_deps order
Getting the apt packages needs to be first, as processing probert is
more than a trivial git clone and needs some of those apt packages.
Drop probert as a requirement since it's redundant with the git
checkout.
2021-08-10 13:14:08 -06:00
Michael Hudson-Doyle 1875dcf064
Merge pull request #1024 from dbungert/no-groovy
Remove groovy from CI image matrix
2021-08-10 10:42:32 +12:00
Michael Hudson-Doyle 629a8f0e18
Merge pull request #1023 from dbungert/has-bitlocker
Add /storage/has_bitlocker convenience API
2021-08-10 10:42:08 +12:00
Dan Bungert 7b066f24b6 Remove groovy from CI image matrix 2021-08-09 11:07:05 -06:00
Dan Bungert ffc4bbde0a runtests support - first API test, has_bitlocker 2021-08-09 10:41:54 -06:00
Dan Bungert a688b37a6f Add /storage/has_bitlocker convenience API 2021-08-09 10:41:54 -06:00
J-P Nurmi b2794ebfef
Specify a large keepalive timeout to help UDI stay connected (#1022) 2021-08-06 09:49:02 -06:00
J-P Nurmi 95e63b7bf6
Make install_deps depend on gitdeps (#1019)
The installer defines PYTHONPATH correspondingly to ensure correct
versions of curtin and probert.
2021-08-05 15:00:45 -06:00
Michael Hudson-Doyle 545d5cc4c1 expand DESIGN.md a bit 2021-08-05 16:19:13 +12:00
Michael Hudson-Doyle a5ae411c55 allow app state transition from NEEDS_CONFIRMATION to WAITING
consider the following scenario, admittedly one that is not possible
today:

 * There is an "install model" that is required for server and not
   desktop (let's say "mirror")
 * The user initially selects a desktop install and moves through the
   screens until they are asked for confirmation.
 * At this point the user moves back through the screens and selects a
   server variant.  Now the application state of NEEDS_CONFIRMATION is
   misleading; the state needs to move back to WAITING until the mirror
   model is configured.

This is all probably excessively general but I feel like the core
control flow of the installer needs to be able to handle this sort of
thing...
2021-08-05 16:19:12 +12:00
Michael Hudson-Doyle 9080a56804 tweak when x-status: confirm gets sent 2021-08-05 16:18:18 +12:00
Michael Hudson-Doyle e7d2959625 have SubiquityModel know which models are required for which variants 2021-08-05 16:17:48 +12:00
Michael Hudson-Doyle fdd1879d50 adapt SubiquityModel api to allow a bit more flexibility 2021-08-05 13:41:05 +12:00
Michael Hudson-Doyle f651a7c950
Merge pull request #1020 from mwhudson/slimy-update-curtin
have slimy-update-snap.sh update curtin in the snap too
2021-08-05 12:35:11 +12:00
Michael Hudson-Doyle 88384f0a98 have slimy-update-snap.sh update curtin in the snap too
Also tweak scripts/update-part.py to work better when switching
repositories.
2021-08-05 10:46:39 +12:00
Michael Hudson-Doyle 0bc2cf4a95
Merge pull request #1014 from dbungert/with-open
Convert a bare open() call to with open()
2021-08-04 14:43:22 +12:00
Michael Hudson-Doyle d41e83189b
Merge pull request #1018 from mwhudson/curtin-update
update curtin, you know the drill
2021-08-04 13:18:41 +12:00
Michael Hudson-Doyle 31cceabba9 update curtin, you know the drill 2021-08-04 12:51:49 +12:00
Michael Hudson-Doyle c940378138
Merge pull request #1017 from mwhudson/fix-partitioning-existing-raid
fix adding a partition to an existing raid
2021-08-04 10:30:54 +12:00
Michael Hudson-Doyle 3152e5ce13 fix adding a partition to an existing raid
found this by mistake by accident when trying to test something else...
2021-08-03 14:09:38 +12:00
Michael Hudson-Doyle 5d566aebe0
Merge pull request #1016 from dbungert/probert-bitlocker
Update probert for bitlocker changes
2021-08-03 13:24:27 +12:00
Dan Bungert 9d3c156686 Update probert for bitlocker changes 2021-08-02 19:02:09 -06:00
Michael Hudson-Doyle fae91a0ce7
Merge pull request #1013 from mwhudson/curtin-update
update curtin to get raid, zipl config, unmounting fixes
2021-08-03 12:46:55 +12:00
Michael Hudson-Doyle e973b87b92 grab another 2 curtin commits 2021-08-03 12:30:23 +12:00
Michael Hudson-Doyle 81e8c89a81
Merge pull request #1015 from dbungert/fr-1183-bitlocker-detection
Add probert output for win10 & bitlocker (FR-1183)
2021-08-03 11:59:51 +12:00
Dan Bungert 0aa5e91670 Add probert output for win10 & bitlocker 2021-08-02 15:04:07 -06:00
Dan Bungert 18a00153bd Convert a bare open() call to with open() 2021-08-02 11:53:13 -06:00
Michael Hudson-Doyle ae7af3ed4c update curtin to get raid, zipl config, unmounting fixes 2021-08-02 14:39:29 +12:00
Michael Hudson-Doyle ad18b58f4e
Merge pull request #1011 from mwhudson/curtin-update
update curtin
2021-07-26 09:24:10 +12:00
Michael Hudson-Doyle c340c6db22 update curtin
this brings in the unmounting fix and lets PYTHON be set in the
environment to choose which python to use
2021-07-23 12:26:49 +12:00
Dan Bungert 2940bfeb76
In dryrun, run simulated curtin with same python (#1009) 2021-07-21 10:42:24 -06:00
Michael Hudson-Doyle d423d71f2a
Merge pull request #1008 from mwhudson/use-livefs-editor
use livefs-editor to make customized isos
2021-07-21 12:10:11 +12:00
Michael Hudson-Doyle 9e0f11c02e update quick-test-this-branch.sh too 2021-07-21 10:42:25 +12:00