Michael Hudson-Doyle
fb649bf7d5
pre-process keyboard auto detection steps into API friendly format
...
Continuing the theme of previous work, this branch parses pc105.tree
into API-friendly attr-based classes at snap build time (which also lets
us check some constraints then and not at run time).
2021-03-16 16:02:23 +13:00
Michael Hudson-Doyle
5d93eb824a
process keyboard data into api friendly format when building snap
...
This is a bit sideways from the real thing I'm working on which is
moving most of the logic of keyboard handling to the server side but
anyway. This also lets me check some assumptions while processing the
data rather than in the view code.
2021-03-16 16:02:23 +13:00
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
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
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
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
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
d1afc54389
switch to github actions
2021-02-18 13:01:45 +13:00
Michael Hudson-Doyle
047a903353
fail if -report_el_torito fails
2021-02-12 15:42:31 +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
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
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
ef78e7d01c
re-run snap-preseed in inject-subiquity-snap.sh
2021-01-06 14:04:50 +13:00
Michael Hudson-Doyle
7381df63d5
Merge pull request #859 from mwhudson/lp-1896497
...
use -report_el_torito as_mkisofs option of xorriso to find command to repack ISO
2020-11-04 15:30:26 +13:00
Michael Hudson-Doyle
449ad839aa
update integration tests
2020-11-04 10:57:22 +13:00
Michael Hudson-Doyle
d7a070962b
fix shell quoting
2020-11-04 09:30:52 +13:00
Michael Hudson-Doyle
8987ab792c
use -report_el_torito as_mkisofs option of xorriso to find command to repack ISO
2020-10-28 16:32:24 +13:00
Lucas Kanashiro
8cfa8c64d4
scripts/test-this-branch.sh: install needed dependencies
2020-08-22 14:11:52 -03:00
Foster "Forst" Snowhill
dca298a815
inject-subiquity-snap: recalculate MD5 for installer.squashfs
...
The inject-subiquity-snap.sh script rebuilds the installer.squashfs filesystem, but does not recalculate its MD5 hash.
This leads to an error message during bootup process, complaining about one of the files being damaged, that file
being installer.squashfs.
This commit introduces an extra step to recalculate the MD5 hash of the installer.squashfs and write it into
md5sum.txt, as well as to remove the GPG signature of the installer filesystem, since it's invalid anyway.
2020-08-02 18:05:34 +02:00
Michael Hudson-Doyle
d9cea264f1
clean up the xorriso arguments in inject-subiquity-snap a bit
2020-07-22 15:06:29 +12:00
Michael Hudson-Doyle
bbfcdd7b25
sort installer cloud config after 90_dpkg.cfg
2020-06-16 13:55:30 +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
99ad097306
snapcraft.yaml fixery
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
3c98f68fcf
use a real locale in examples/autoinstall.yaml
2020-05-21 10:49:42 +12:00
Dimitri John Ledkov
2e85a2ecd6
i18n: add scripts to help with translation updates.
...
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-06 13:22:13 +01:00
Michael Hudson-Doyle
ba106bbbed
tests
2020-05-05 23:05:59 +12:00
Michael Hudson-Doyle
f814d9514f
use more general context machinery to feed install events to progress view
2020-05-04 19:05:42 +12:00
Michael Hudson-Doyle
4564871ad2
fix tests
2020-05-04 15:28:42 +12:00
Michael Hudson-Doyle
8a84e470c5
make sure the size of a partition gets set to int
2020-05-04 14:16:03 +12:00
Michael Hudson-Doyle
f8eef1d16a
fix Subiquity.restart dry-run path now we actually hit that in runtests.sh
2020-04-29 19:46:17 +12:00
Michael Hudson-Doyle
05ca96d7ba
run netplan generate --root .subiquity after each integration test
2020-04-29 19:39:10 +12:00
Michael Hudson-Doyle
670c9c838a
add test for locale: in autoinstall file
2020-04-20 20:34:08 +12:00
Michael Hudson-Doyle
18e4d977e9
fix autoinstall refresh code to (a) match docs (b) work
2020-04-19 22:48:27 +12:00
Michael Hudson-Doyle
e91f8bbf89
fix for omitting identity section when passing user-data
2020-04-19 21:44:09 +12:00
Michael Hudson-Doyle
e3ec05a6c1
always include partition number in curtin config
2020-04-14 10:21:29 +12:00
Michael Hudson-Doyle
96a6dfd010
add integration-style test for reusing an existing partitions
2020-04-14 09:50:56 +12:00
Michael Hudson-Doyle
be146972da
fix travis
2020-04-07 21:37:42 +12:00
Michael Hudson-Doyle
b0302484d2
fix tty check for autoinstalls
2020-04-07 20:34:38 +12:00
Michael Hudson-Doyle
467257ff9a
hack for testing in lxd
2020-04-02 11:11:25 +13:00
Michael Hudson-Doyle
9a68ce91c1
fix not supplying snaps in autoinstall, oops
2020-04-02 10:47:47 +13:00
Michael Hudson-Doyle
c1c33dee03
add a simple integration test for autoinstall
2020-04-02 10:22:08 +13:00
Dimitri John Ledkov
897fe56213
Try overriding zfs-mount.service
2020-03-05 16:53:35 +00:00
Dimitri John Ledkov
cbaab430a3
Switch script to use python3, as python is no longer available
...
I guess good luck to the Jenkins CI?
2020-01-29 18:00:54 +00:00
Michael Hudson-Doyle
683d1932ac
have replayed curtin runs create a log file too
2019-11-21 14:55:23 +13:00