teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

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

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