From fc224aab0c8456ae8d9b8de1e08e4fd0b30cd944 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 12 Oct 2018 09:39:44 +0200 Subject: [PATCH] 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). --- debian/console-conf.console-conf@.service | 2 +- debian/console-conf.serial-console-conf@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/console-conf.console-conf@.service b/debian/console-conf.console-conf@.service index 306cda37..bba997da 100644 --- a/debian/console-conf.console-conf@.service +++ b/debian/console-conf.console-conf@.service @@ -1,7 +1,7 @@ [Unit] Description=Ubuntu Core Firstboot Configuration %I After=systemd-user-sessions.service plymouth-quit-wait.service -After=rc-local.service +After=rc-local.service core18.start-snapd.service IgnoreOnIsolate=yes ConditionPathExists=/dev/tty0 ConditionPathExists=!/var/lib/console-conf/complete diff --git a/debian/console-conf.serial-console-conf@.service b/debian/console-conf.serial-console-conf@.service index ceebd6be..86016405 100644 --- a/debian/console-conf.serial-console-conf@.service +++ b/debian/console-conf.serial-console-conf@.service @@ -2,7 +2,7 @@ Description=Ubuntu Core Firstboot Configuration %I BindsTo=dev-%i.device After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service -After=rc-local.service +After=rc-local.service core18.start-snapd.service ConditionPathExists=!/var/lib/console-conf/complete StartLimitInterval=0