teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0432-units-add-generic-boot-complete.target.patch

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