1 Star 0 Fork 48

苏峰/systemd

forked from src-anolis-os/systemd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0432-units-add-generic-boot-complete.target.patch 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
geliwei 提交于 2021-06-16 16:46 . update to systemd-239-45.el8.src.rpm
From dd573e5fbac858c20628052acfa19401d3e0d135 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 22 Jun 2018 12:52:28 +0200
Subject: [PATCH] units: add generic boot-complete.target
(cherry picked from commit 329d20db3cb02d789473b8f7e4a59526fcbf5728)
Resolves: #1872243
---
units/boot-complete.target | 14 ++++++++++++++
units/meson.build | 1 +
2 files changed, 15 insertions(+)
create mode 100644 units/boot-complete.target
diff --git a/units/boot-complete.target b/units/boot-complete.target
new file mode 100644
index 0000000000..f0b9e57e7c
--- /dev/null
+++ b/units/boot-complete.target
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Boot Completion Check
+Documentation=man:systemd.special(7)
+Requires=sysinit.target
+After=sysinit.target
diff --git a/units/meson.build b/units/meson.build
index e118d81888..a1cd2524dc 100644
--- a/units/meson.build
+++ b/units/meson.build
@@ -3,6 +3,7 @@
units = [
['basic.target', ''],
['bluetooth.target', ''],
+ ['boot-complete.target', ''],
['cryptsetup-pre.target', 'HAVE_LIBCRYPTSETUP'],
['cryptsetup.target', 'HAVE_LIBCRYPTSETUP',
'sysinit.target.wants/'],
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/su-feng-nmg/systemd.git
git@gitee.com:su-feng-nmg/systemd.git
su-feng-nmg
systemd
systemd
a8

搜索帮助