Commit Graph

15 Commits

Author SHA1 Message Date
Ian Johnson 7696cf2112 debian/console-conf*.service: add core18 services as After deps
These are currently applied with hacks in the core18 repo when building the
core18 snap, but that was always meant to be a temporary thing until it was
upstreamed... here's the upstreaming.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2020-02-25 15:55:30 +01:00
Maciek Borzecki 3e14aa2ae5 debian/console-conf.*.service: run after snapd.recovery-chooser-trigger.service
On Core20 devices, the user may decice to invoke a recovery chooser by holding
down a specific key. Make sure that the recovery chooser trigger detection
service runs before, so that by the time console-conf runs, the trigger
detection window is closed and we may launch the chooser if needed.

Note, the patch only includes the bits for ensuring the correct order during
boot.

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
2020-02-25 11:30:27 +01:00
Maciek Borzecki 06f528bb7f debian/console-conf.*.service: refactor the dependency on core.start-snapd.service
The service is named core.start-snapd.service in core20. Add a comment
explaining why we need this.

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
2020-02-25 11:29:08 +01:00
Michael Vogt fc224aab0c services: run console-conf after core18.start-snapd.service
On core18 the firstboot seeding happens via the core18.start-snapd
service. This service will do the initial start of snapd when the
system is unseeded. This service will wait until the system is
fully seeded.

We cannot run console-conf before that because it uses the "snap"
command which will not be available before the system is seeded.

Once that has landed https://github.com/snapcore/core18/pull/74
can be reverted (in fact the hooks/200-console-conf-after.chroot
file can be removed entirely).
2020-02-25 11:05:09 +01:00
Łukasz 'sil2100' Zemczak 14c3d43b24 agetty needs an explicit -i to not to display the /etc/issue file before the login prompt. This was the default in the past probably. 2018-08-03 11:46:32 +02:00
Michael Hudson-Doyle 10a6b7cd55 Disable restart rate limiting in console-conf service files
For https://bugs.launchpad.net/bugs/1650091
2016-12-15 20:49:37 +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
Mathieu Trudel-Lapierre 98cf79175e More shuffling for gettys: reinstate the wrapper for VTs, make sure we display the issue file. 2016-08-30 22:20:00 -04:00
Mathieu Trudel-Lapierre 7c9f75b4ee Yet more agetty tweaks to start console-conf correctly in a lazy manner. 2016-08-30 20:02:19 -04:00
Mathieu Trudel-Lapierre 9065a68dc8 Misc bugfix for issues starting on serial console.
* debian/console-conf.*.serial: Start the console-conf wrappers from
  their path in /usr/share/subiquity; no need to have them in /usr/bin.
* bin/console-conf-serial-wrapper: add --serial to the command-line.
* debian/console-conf.serial-console-conf@.service: don't pass --serial,
  this is meant to be parameters to agetty, not to the login program.
2016-08-30 14:00:14 -04:00
Michael Hudson-Doyle acbaa05eb7 Add a shell wrapper for console-conf
This is Steve's idea for reducing the RAM used at rest.
2016-08-30 12:16:42 +12:00
Michael Hudson-Doyle 070a96bcc4 Write stamp file and logs to somewhere more sensible. 2016-08-05 14:41:50 +12:00
Michael Hudson-Doyle a21aba4f11 use a drop-in file to run console-conf before getty 2016-08-05 14:35:00 +12:00
Michael Hudson-Doyle fc1a828ad5 update firstboot-complete path in service files 2016-07-27 22:16:46 +12:00
Mathieu Trudel-Lapierre 4e1bab7f55 Install systemd service files 2016-07-08 21:43:07 -04:00