4 Star 0 Fork 9

OpenCloudOS Stream/dracut

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-rename-systemd-pcrphase-binary-to-systemd-pcrextend.patch 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
From b7c2be52e3b4afc4fccc40da137ecdfa86311b5d Mon Sep 17 00:00:00 2001
From: nilusyi <[email protected]>
Date: Mon, 22 Jan 2024 17:25:17 +0800
Subject: [PATCH] rename systemd-pcrphase binary to systemd-pcrextend
---
modules.d/01systemd-pcrphase/module-setup.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules.d/01systemd-pcrphase/module-setup.sh b/modules.d/01systemd-pcrphase/module-setup.sh
index 3dbb497..b9817e6 100755
--- a/modules.d/01systemd-pcrphase/module-setup.sh
+++ b/modules.d/01systemd-pcrphase/module-setup.sh
@@ -6,7 +6,7 @@
check() {
# If the binary(s) requirements are not fulfilled the module can't be installed.
- require_binaries "$systemdutildir"/systemd-pcrphase || return 1
+ require_binaries "$systemdutildir"/systemd-pcrextend || return 1
# Return 255 to only include the module, if another module requires it.
return 255
@@ -27,7 +27,7 @@ depends() {
install() {
inst_multiple -o \
- "$systemdutildir"/systemd-pcrphase \
+ "$systemdutildir"/systemd-pcrextend \
"$systemdsystemunitdir"/systemd-pcrphase.service \
"$systemdsystemunitdir/systemd-pcrphase.service.d/*.conf" \
"$systemdsystemunitdir"/systemd-pcrphase-sysinit.service \
--
2.41.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/dracut.git
[email protected]:opencloudos-stream/dracut.git
opencloudos-stream
dracut
dracut
master

搜索帮助