Ryan Harper
a84dd2b272
Encoding input when running commands
2018-05-21 13:35:26 -05:00
Ryan Harper
74ae9b9fde
Drop use of encoding kwarg to subprocess for python3.5 compat
2018-05-21 11:54:34 -05:00
Michael Hudson-Doyle
3d5efcaf9c
actually pass new defaults to run, oops
2018-05-18 13:53:25 +12:00
Michael Hudson-Doyle
1e4992a5e7
stop testing on xenial, we depend on python 3.6 now
2018-05-18 13:38:13 +12:00
Michael Hudson-Doyle
cb61144144
small tweaks
2018-05-18 13:21:38 +12:00
Michael Hudson-Doyle
c6468982ae
Thin the wrappers around subprocess functions
...
Some of this stuff is not needed with modern Python.
Breaks everything of course, updates to follow.
2018-05-18 13:00:43 +12:00
Michael Hudson-Doyle
a14b8debda
try different process for exit to shell
2018-02-13 15:38:55 +13:00
Mathieu Trudel-Lapierre
3098d108b2
Support special paths for environment check binaries in snaps.
2017-03-06 13:28:44 -05:00
Michael Hudson-Doyle
2408dda6c7
remove references to firstboot (an old name for console-conf?)
2017-01-26 11:18:03 +13:00
Michael Hudson-Doyle
78ca3c610f
make disable_subiquity work again
...
this makes selecting "quit installer" at the end of installation work
2017-01-25 14:38:03 +13:00
Michael Hudson-Doyle
a4d6682478
simpler api for doing stuff in a background thread
2017-01-18 12:03:56 +13:00
Michael Hudson-Doyle
9cb0c00271
remove some unused code from utils.py
2017-01-13 15:08:31 +13:00
Michael Hudson-Doyle
17b943209e
remove subiquitycore/async.py
...
it was just a glorified global variable.
2017-01-13 15:08:31 +13:00
Mathieu Trudel-Lapierre
87b8dc3ccc
Support conditional 'shell=True' calls, required for top's redirection, and not supported in curtin...
2016-12-22 22:15:02 -05:00
Mathieu Trudel-Lapierre
862684efbc
Fix stop calls for subiquity service.
2016-12-22 22:12:03 -05:00
Mathieu Trudel-Lapierre
449688f9a1
Fix controller ordering and disable step for subiquity
2016-12-20 15:42:04 -05:00
Michael Hudson-Doyle
65daafde05
fix run_command of a non-existent command
2016-11-22 21:31:51 +13:00
Michael Hudson-Doyle
7bef718e18
re-work logic, including having console-conf generate the file to show
2016-11-09 14:33:58 +13:00
Michael Hudson-Doyle
0e56b0cba0
Clean up systemd jobs.
...
The main visible effect of this is that if console-conf crashes or is killed
it restarts instantly rather than 90 seconds later. It also removes the flicker
where a getty gets started and then instantly killed during startup.
2016-09-01 22:33:00 +12:00
Michael Hudson-Doyle
ef01c7d291
break run_command in two
...
and use the two halves when applying network config (to allow cancellation)
2016-08-22 17:02:42 +12:00
Mathieu Trudel-Lapierre
1980c4e483
fake-merge mwhudson/network
2016-08-12 22:31:31 -04:00
Michael Hudson-Doyle
070a96bcc4
Write stamp file and logs to somewhere more sensible.
2016-08-05 14:41:50 +12:00
Mathieu Trudel-Lapierre
1c7fbac977
Update paths to /writable for snappy
2016-07-27 22:16:26 +12:00
Michael Hudson-Doyle
2c749d944c
Have console-conf and subiquity check differing environments.
...
This means that console-conf no longer needs to have hdparm installed.
I'm not sure console-conf needs to call this at all TBH.
2016-07-26 15:09:44 +12:00
Michael Hudson-Doyle
264f698299
Fix flake8 warnings in subiquitycore.
...
Except for line length warnings, because life is too short of that.
A few of these are real bugs.
2016-07-25 14:44:51 +12:00
Mathieu Trudel-Lapierre
e1970b6477
Rename subiquity to subiquitycore -- will serve as base classes for everything
...
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:17:01 -04:00