dont do daemon reload in make install

This commit is contained in:
luhuaxin 2021-09-30 20:07:44 +08:00
parent 43053634ef
commit b5b94432a2
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From 829e8d1857fe2ba5941f63eac60ef12c82cc6e9b Mon Sep 17 00:00:00 2001
From: luhuaxin <1539327763@qq.com>
Date: Thu, 30 Sep 2021 20:04:05 +0800
Subject: [PATCH] dont do daemon reload in make install
Signed-off-by: luhuaxin <1539327763@qq.com>
---
Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index ea6fdf3..858346a 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,5 @@ install:
install -m 500 misc/scripts/selinux/*.sh $(SCRIPTS_DIR)/selinux
install -m 600 misc/scripts/selinux/config $(SCRIPTS_DIR)/selinux
install -m 600 misc/pavd.service $(SYSTEMD_DIR)
- systemctl daemon-reload
@echo "END INSTALL secPaver"
--
1.8.3.1

View File

@ -7,6 +7,8 @@ License: Mulan PSL v2
URL: https://gitee.com/openeuler/secpaver URL: https://gitee.com/openeuler/secpaver
Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz
Patch0001: dont-do-daemon-reload-in-make-install.patch
BuildRequires: golang make BuildRequires: golang make
Requires: %{name}-plugin = %{version}-%{release} Requires: %{name}-plugin = %{version}-%{release}