Commit Graph

3993 Commits

Author SHA1 Message Date
Michael Hudson-Doyle b25d899f7c use rsync instead of git archive to get uncommitted changes 2021-03-10 09:05:15 +13:00
Michael Hudson-Doyle d645ca1642 add a couple of super hacky scripts for quickly testing subiquity changes
The first of these scripts mashes the current branch's code over that of
a pre-existing subiquity snap.

The second uses the first to mash the current branch's code over the
subiquity snap from an ISO and then creates a new ISO with this new
snap.

It's all a bit terrifying but being able to get your changes into a
bootable ISO in about 30s is quite a large improvement on building the
snap from scratch.
2021-03-09 17:34:59 +13:00
Michael Hudson-Doyle 41e42e0f39 improve lvm name validation message a bit 2021-03-09 17:30:32 +13:00
Michael Hudson-Doyle 7f7866919a support deleting a VG and creating one with the same name 2021-03-09 17:27:20 +13:00
Michael Hudson-Doyle 3a54e8b107 do not try to reuse a name of an existing vg in guided_lvm
for https://bugs.launchpad.net/bugs/1905412
2021-03-09 16:13:29 +13:00
Dan Bungert 3427ccf579
Merge pull request #903 from mwhudson/schema-simplify
simplify schema generation
2021-03-03 15:05:25 -07:00
Michael Hudson-Doyle 82e20f27cf simplify schema generation
autoinstall stuff is a strictly server side thing
2021-03-04 10:52:38 +13:00
Michael Hudson-Doyle df4234e050
Merge pull request #902 from dbungert/fix-make-schema
Schema generation fix and test
2021-03-04 10:21:20 +13:00
Dan Bungert 3ac6785e2a Fix lint 2021-03-03 11:38:39 -07:00
Dan Bungert 2c6474f3cb Lock in current schema
Accidental schema updates are unintended, so enforce that.  Schema
updates that don't break API are fine, we can handle that by manually
regenerating the schema at such time.
2021-03-03 11:31:04 -07:00
Dan Bungert f823a1243f Generate schema json file on `make schema` 2021-03-03 11:30:43 -07:00
Dan Bungert 906d081273 Fix schema generation
It seems this schema generation tool was not updated with the big
server/client seperation.  Address that.
2021-03-03 11:11:41 -07:00
Michael Hudson-Doyle b916c96b0a
Merge pull request #900 from paride/log-xorriso-errors
inject-subiquity-snap: log xorriso errors
2021-02-24 09:20:55 +13:00
Paride Legovini 8bfa0d705c inject-subiquity-snap: log xorriso errors
In command substitution stderr is not grabbed, so it's safe to drop the
/dev/null redirect to log it.
2021-02-23 13:11:54 +01:00
Michael Hudson-Doyle 56baa2418c
Merge pull request #899 from mwhudson/update-urls
update github urls to new organization
2021-02-23 12:08:20 +13:00
Michael Hudson-Doyle 58af29b933 update github urls to new organization 2021-02-23 12:03:37 +13:00
Michael Hudson-Doyle a76581cd2b
Merge pull request #898 from mwhudson/lp-1912957
do not stop listening to curtin events when the curtin process exits
2021-02-22 11:52:04 +13:00
Michael Hudson-Doyle a355e26bae
Merge pull request #897 from mwhudson/initial-language-harder
another locale fix
2021-02-22 11:51:54 +13:00
Michael Hudson-Doyle 3cf514436f do not stop listening to curtin events the instant the curtin process exits 2021-02-19 15:33:02 +13:00
Michael Hudson-Doyle 38f5c0ebdf another locale fix 2021-02-19 15:28:25 +13:00
Michael Hudson-Doyle 1454cb807a
Merge pull request #896 from mwhudson/update-probert-url
probert moved to the canonical github org a while ago
2021-02-19 11:44:10 +13:00
Michael Hudson-Doyle d448adb1c1 probert moved to the canonical github org a while ago 2021-02-19 10:33:38 +13:00
Michael Hudson-Doyle 10d28cdf06
Merge pull request #895 from mwhudson/fix-actions
make github action work on ubuntu-20.04
2021-02-19 09:47:44 +13:00
Michael Hudson-Doyle 2d8e288ac4 run lint on ubuntu-20.04 too 2021-02-19 09:37:05 +13:00
Michael Hudson-Doyle 2bdddd7858 update zfs service override 2021-02-19 09:36:17 +13:00
Michael Hudson-Doyle 7ce8bdfa81 fix github action, apparently we are running on 20.04 now
this worked yesterday, I promise!
2021-02-19 09:24:20 +13:00
Michael Hudson-Doyle 9630cd5c76
Merge pull request #894 from mwhudson/initial-language
fix initial language selection
2021-02-19 09:14:51 +13:00
Michael Hudson-Doyle 4f241d830b
Merge pull request #892 from mwhudson/lp-1914587
fail if -report_el_torito fails
2021-02-19 09:14:27 +13:00
Michael Hudson-Doyle bcc0e5c1f9
Merge pull request #893 from mwhudson/github-actions
switch to github actions
2021-02-19 09:13:59 +13:00
Michael Hudson-Doyle 2b3476002e fix initial language selection
there were two issues: the client never set up translation based on the
initial setting and the server contined to strip ".UTF-8" off the $LANG
value so the client didn't find a matching value to highlight the
initial language correctly.
2021-02-18 13:35:17 +13:00
Michael Hudson-Doyle d1afc54389 switch to github actions 2021-02-18 13:01:45 +13:00
Michael Hudson-Doyle 458dad5744
Merge pull request #889 from mwhudson/lp-1913417
fix crash on refresh: change ids are strings in the snapd api
2021-02-15 11:12:26 +13:00
Michael Hudson-Doyle 5305f0b7be
Merge pull request #891 from mwhudson/lp-1913624-big
put a full locale (language/location/codeset) in languagelist
2021-02-15 11:12:10 +13:00
Michael Hudson-Doyle 047a903353 fail if -report_el_torito fails 2021-02-12 15:42:31 +13:00
Michael Hudson-Doyle 0f1b1646a9 be a bit smarter about the locale that gets written to the cloud init config 2021-02-12 15:03:10 +13:00
Michael Hudson-Doyle d39c52e4c4 put a full locale (language/location/codeset) in languagelist
the location is the default location for a language in
localechooser-data.
2021-02-12 15:03:10 +13:00
Michael Hudson-Doyle a8610e205a fix lint 2021-02-12 15:02:44 +13:00
Michael Hudson-Doyle 7ae9797a7f
Merge pull request #887 from xnox/occitan
scripts: fix make-language-lists for non-languagelist languages
2021-02-12 14:07:06 +13:00
Michael Hudson-Doyle 5593f305b1 fix cloud-init status invocation 2021-02-12 13:57:54 +13:00
Michael Hudson-Doyle 8943b253e4
Merge pull request #879 from mwhudson/start-api-server-before-cloud-init
wait for cloud-init to complete after starting api server
2021-02-12 10:39:54 +13:00
Michael Hudson-Doyle 565a570328 tidy code slightly and add a comment 2021-02-10 14:28:51 +13:00
Michael Hudson-Doyle f6b70096df restore special case for kab, as iso-codes in bionic is too old 2021-02-10 14:28:04 +13:00
Michael Hudson-Doyle 6fa1d9bbd0 fix crash on refresh: change ids are strings in the snapd api
for https://bugs.launchpad.net/subiquity/+bug/1913417
2021-02-10 11:43:58 +13:00
Dimitri John Ledkov 257ba251db
Update languagelist 2021-02-04 14:53:50 +00:00
Dimitri John Ledkov ff4a578308
scripts: fix lookup of languages without 639-3 translations
Fixes https://github.com/CanonicalLtd/subiquity/pull/886
2021-02-04 14:53:16 +00:00
Dimitri John Ledkov bb98d57fa0
scripts: fix make-language-lists for non-languagelist languages
Fixes #885
2021-02-04 14:39:54 +00:00
Michael Hudson-Doyle e813726aaa yaml is bad 2021-01-27 15:20:32 +13:00
Michael Hudson-Doyle 4394382d0d
Merge pull request #883 from mwhudson/curtin-update
use curtin 21.2 release
2021-01-27 14:56:50 +13:00
Michael Hudson-Doyle 0ff1739d19 use curtin 21.2 release 2021-01-27 14:55:52 +13:00
Michael Hudson-Doyle beae2d4974
Merge pull request #881 from mwhudson/lp-1912967
switch language in the client, not the server
2021-01-27 11:21:25 +13:00