Michael Hudson-Doyle
3ea98a47dd
Merge pull request #280 from CanonicalLtd/mwhudson/snap-created-service
...
have a subiquity-service be part of the snap
2018-02-13 13:01:31 +13:00
Michael Hudson-Doyle
09ff455758
ensure footer is cleared properly when install completes
2018-02-13 13:01:16 +13:00
Michael Hudson-Doyle
e8c167d825
this is a more appropriate restart-condition for us i think
2018-02-13 12:42:34 +13:00
Michael Hudson-Doyle
57b36ae093
Merge pull request #286 from CanonicalLtd/mwhudson/move-curtin-sources
...
move more things from curtin command line to config
2018-02-13 12:23:20 +13:00
Michael Hudson-Doyle
274ff22e87
Merge pull request #285 from CanonicalLtd/mwhudson/copy-more-logs
...
copy more logs (subiquity, journal) to target system
2018-02-13 12:23:09 +13:00
Michael Hudson-Doyle
5adce07230
Merge pull request #284 from CanonicalLtd/mwhudson/cope-with-no-serial
...
cope with disks with no serial (e.g. virtio) better
2018-02-13 12:12:04 +13:00
Michael Hudson-Doyle
eddb967155
copy more logs (subiquity, journal) to target system
2018-02-13 12:10:19 +13:00
Michael Hudson-Doyle
703a9003f4
cope with unknown disk serial/model/etc much better
2018-02-13 11:57:09 +13:00
Michael Hudson-Doyle
14164c60e9
Merge pull request #283 from CanonicalLtd/mwhudson/no-fat32-in-general
...
only allow fat32 for /boot/efi partition
2018-02-13 11:29:02 +13:00
Michael Hudson-Doyle
33d1c6b73f
only allow fat32 for /boot/efi partition
2018-02-13 10:07:03 +13:00
Michael Hudson-Doyle
1e1e710a7d
Merge pull request #281 from CanonicalLtd/mwhudson/initial-language
...
have initial language match users choice in isolinux screen
2018-02-13 09:59:15 +13:00
Michael Hudson-Doyle
f28df37113
add example config with a virtio disk
2018-02-13 09:52:12 +13:00
Michael Hudson-Doyle
648959a6a9
move more things into config, remove curtin.py entirely
2018-02-12 22:35:42 +13:00
Michael Hudson-Doyle
a90ded52b3
Merge pull request #282 from CanonicalLtd/mwhudson/moar-travis
...
add a travis test to run through dry-run mode
2018-02-12 22:24:43 +13:00
Michael Hudson-Doyle
efa7dd0e14
add a travis test to run through dry-run mode
2018-02-12 22:13:23 +13:00
Michael Hudson-Doyle
05c5f4218a
make log replay timescale adjustable
...
want to be able to slow it down when hacking on the log view!
2018-02-12 14:44:40 +13:00
Michael Hudson-Doyle
319cd5b568
move curtin sources into configuration from commandline
2018-02-12 13:48:41 +13:00
Michael Hudson-Doyle
1a939844fb
use the journald event reporter that is now part of curtin
2018-02-12 13:37:00 +13:00
Michael Hudson-Doyle
b8860cc671
fix end of install progress in dry-run mode
2018-02-12 13:33:48 +13:00
Michael Hudson-Doyle
2779bac01a
change the log replayer to be more realistic
2018-02-12 13:30:00 +13:00
Michael Hudson-Doyle
4616a600fe
examples/curtin-events-install.json -> examples/curtin-events.json, remove postinstall example events
2018-02-12 13:25:03 +13:00
Michael Hudson-Doyle
b7fe9d6899
answers support for installpath
2018-02-12 12:44:58 +13:00
Michael Hudson-Doyle
7bf9f2b2c1
remove unused signals
2018-02-12 12:41:22 +13:00
Michael Hudson-Doyle
0355f2c316
Merge branch 'master' into maas-option
2018-02-12 12:40:17 +13:00
Michael Hudson-Doyle
795aac592c
set the default language from $LANG
...
which is where the users selection in the bootloader ends up
2018-02-12 10:32:04 +13:00
Michael Hudson-Doyle
91c7015779
select the current language by default on the welcome view
2018-02-12 10:28:48 +13:00
Michael Hudson-Doyle
6d08f080c2
we do not need this any more
2018-02-09 15:10:00 +13:00
Michael Hudson-Doyle
5198ff4b12
chmod u+x bin/subiquity-service :(
2018-02-09 14:18:32 +13:00
Michael Hudson-Doyle
b5a6038f81
have a subiquity-service be part of the snap
2018-02-09 13:53:03 +13:00
Michael Hudson-Doyle
aec27c80cb
fix typo in config
2018-02-08 14:26:01 +13:00
Michael Hudson-Doyle
e1611d9308
put logs and curtin config in installed system at /var/log/installer
2018-02-08 13:48:26 +13:00
Michael Hudson-Doyle
3f2c628fa7
remove the game of running curtin twice in favour of new curtin features
...
subiquity previously ran curtin twice, once to do the install and the second
time to configure the user data. All this second run did was to drop some
files into the fs and now that we can tell curtin not to unmount everything
when it is done, this can be achieved much more simply. So do that, and rip out
a bunch of the complexity having two curtin configs etc brings.
2018-02-08 11:58:34 +13:00
Michael Hudson-Doyle
2cc3989ad2
some keyboard selection fixes I had forgotten to push to github :(
2018-02-08 11:57:52 +13:00
Michael Hudson-Doyle
1794ed53dd
implement keyboard selection ( #276 )
...
A new screen immediately after language.
2018-02-08 10:37:22 +13:00
Michael Hudson-Doyle
3d5bb1a280
remove curtin from the snap
...
livecd-rootfs puts it in the install media for us. this could go the other way
and remove it from the install media but eh, i don't much care and having two
copies is silly.
this requires removing SNAP from the environment before invoking curtin,
because curtin uses SNAP to find bits of itself (this probably means that we
were using a mix of the two copies of curtin we had before this change!)
2018-01-17 15:29:42 +13:00
Michael Hudson-Doyle
0dedddddad
include libsystemd0 in the snap
...
it's needed now that snapcraft is better about not letting things in a classic
snap link to libraries in the host filesystem.
2018-01-17 12:27:39 +13:00
Michael Hudson-Doyle
b5c48fdfb9
only stage the wrappers in the wrapper part
2018-01-16 15:11:49 +13:00
Michael Hudson-Doyle
76e56394de
pip install urwid is broken in bionic for now, switch to archive package
2018-01-16 15:10:51 +13:00
Michael Hudson-Doyle
240231ad1c
rip out signal nonsense
2018-01-12 14:40:49 +13:00
Michael Hudson-Doyle
afe86f618e
small fixes
2018-01-12 14:40:49 +13:00
Dimitri John Ledkov
cf3f7d9e39
Re-add installpath controller, with added MAAS views.
2018-01-12 14:40:49 +13:00
Michael Hudson-Doyle
923df8d0b2
allow forms to override name of cancel button
2018-01-12 12:56:24 +13:00
Michael Hudson-Doyle
124b4e7f20
make the contents of a selector pop up dialog a listbox
...
the one for keyboard layout will need to scroll!
2018-01-12 10:27:44 +13:00
Michael Hudson-Doyle
c9f3bd3ae0
fix behaviour of "up" on views that have done initially focused
...
before this, if you press up on e.g. the network view, focus would go to the first nic
not the last as you might expect. this is pretty obscure but oh well. such is urwid.
2018-01-11 11:50:08 +13:00
Michael Hudson-Doyle
ace30afa66
simplify LocaleModel.get_languages
2018-01-03 15:47:15 +13:00
Michael Hudson-Doyle
f972119126
beef up partition view tests a bit
2017-12-21 14:41:05 +13:00
Michael Hudson-Doyle
4389c1636b
some simple tests for the partition view and fix its creation
2017-12-21 14:11:26 +13:00
Michael Hudson-Doyle
aa509d317a
make it easier to replace the squashfses in an iso
2017-12-21 14:04:17 +13:00
Michael Hudson-Doyle
2eba19e5de
mostly pointless tweaking of inject-subiquity-snap
2017-12-21 12:02:08 +13:00
Michael Hudson-Doyle
ad9c527b51
touch /run/casper-no-prompt if answers are supplied
2017-12-21 11:40:51 +13:00