naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
52b84b
From dd573e5fbac858c20628052acfa19401d3e0d135 Mon Sep 17 00:00:00 2001
52b84b
From: Lennart Poettering <lennart@poettering.net>
52b84b
Date: Fri, 22 Jun 2018 12:52:28 +0200
52b84b
Subject: [PATCH] units: add generic boot-complete.target
52b84b
52b84b
(cherry picked from commit 329d20db3cb02d789473b8f7e4a59526fcbf5728)
52b84b
52b84b
Resolves: #1872243
52b84b
---
52b84b
 units/boot-complete.target | 14 ++++++++++++++
52b84b
 units/meson.build          |  1 +
52b84b
 2 files changed, 15 insertions(+)
52b84b
 create mode 100644 units/boot-complete.target
52b84b
52b84b
diff --git a/units/boot-complete.target b/units/boot-complete.target
52b84b
new file mode 100644
52b84b
index 0000000000..f0b9e57e7c
52b84b
--- /dev/null
52b84b
+++ b/units/boot-complete.target
52b84b
@@ -0,0 +1,14 @@
52b84b
+#  SPDX-License-Identifier: LGPL-2.1+
52b84b
+#
52b84b
+#  This file is part of systemd.
52b84b
+#
52b84b
+#  systemd is free software; you can redistribute it and/or modify it
52b84b
+#  under the terms of the GNU Lesser General Public License as published by
52b84b
+#  the Free Software Foundation; either version 2.1 of the License, or
52b84b
+#  (at your option) any later version.
52b84b
+
52b84b
+[Unit]
52b84b
+Description=Boot Completion Check
52b84b
+Documentation=man:systemd.special(7)
52b84b
+Requires=sysinit.target
52b84b
+After=sysinit.target
52b84b
diff --git a/units/meson.build b/units/meson.build
52b84b
index e118d81888..a1cd2524dc 100644
52b84b
--- a/units/meson.build
52b84b
+++ b/units/meson.build
52b84b
@@ -3,6 +3,7 @@
52b84b
 units = [
52b84b
         ['basic.target',                        ''],
52b84b
         ['bluetooth.target',                    ''],
52b84b
+        ['boot-complete.target',                ''],
52b84b
         ['cryptsetup-pre.target',               'HAVE_LIBCRYPTSETUP'],
52b84b
         ['cryptsetup.target',                   'HAVE_LIBCRYPTSETUP',
52b84b
          'sysinit.target.wants/'],