diff --git a/dont-do-daemon-reload-in-make-install.patch b/dont-do-daemon-reload-in-make-install.patch new file mode 100644 index 0000000..b0e7c31 --- /dev/null +++ b/dont-do-daemon-reload-in-make-install.patch @@ -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 + diff --git a/secpaver.spec b/secpaver.spec index 214dce4..23b1612 100755 --- a/secpaver.spec +++ b/secpaver.spec @@ -7,6 +7,8 @@ License: Mulan PSL v2 URL: https://gitee.com/openeuler/secpaver Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz +Patch0001: dont-do-daemon-reload-in-make-install.patch + BuildRequires: golang make Requires: %{name}-plugin = %{version}-%{release}