修复DBus服务配置中字段错误,导致通过DBus调用认证服务不能被正确拉起

This commit is contained in:
liuxinhao 2023-04-24 12:47:16 +08:00
parent f7453b54b2
commit 5f6befcc29
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 537a766a4bb882cfa8bae9bdcc5c87ba48e7f550 Mon Sep 17 00:00:00 2001
From: liuxinhao <liuxinhao@kylinsec.com.cn>
Date: Mon, 24 Apr 2023 12:38:02 +0800
Subject: [PATCH] fix(DBus service): Fix the DBus Service Exec field problem
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修复DBus服务配置Exec字段宏填写错误导致不能正常拉起认证服务的问题
---
data/com.kylinsec.Kiran.Authentication.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/com.kylinsec.Kiran.Authentication.service.in b/data/com.kylinsec.Kiran.Authentication.service.in
index 683c943..278cacf 100644
--- a/data/com.kylinsec.Kiran.Authentication.service.in
+++ b/data/com.kylinsec.Kiran.Authentication.service.in
@@ -1,5 +1,5 @@
[D-BUS Service]
Name=com.kylinsec.Kiran.Authentication
-Exec=@INSTALL_BINDIR@/kiran-authentication-daemon
+Exec=@CMAKE_INSTALL_FULL_BINDIR@/kiran-authentication-daemon
User=root
SystemdService=kiran-authentication-daemon.service
--
2.33.0

View File

@ -1,6 +1,6 @@
Name: kiran-authentication-service
Version: 2.5.0
Release: 4
Release: 5
Summary: Kiran Desktop kiran authentication service
License: MulanPSL-2.0
URL: http://www.kylinsec.com.cn
@ -10,6 +10,7 @@ Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-fix-translate-add-some-translation.patch
Patch0002: 0002-fix-cmake-qt5-cmake-command-compatible.patch
Patch0003: 0003-fix-compile-fix-compile-error-no-match-for-operator-.patch
Patch0004: 0004-fix-DBus-service-Fix-the-DBus-Service-Exec-field-pro.patch
BuildRequires: systemd
BuildRequires: systemd-devel
@ -78,6 +79,9 @@ make %{?_smp_mflags} V=1
%{_includedir}/kiran-authentication-service/kas-authentication-i.h
%changelog
* Mon Apr 24 2023 liuxinaho <liuxinhao@kylinsec.com.cn> - 2.5.0-5
- KYOS-F: fix the DBus Service Exec field problem
* Sat Apr 22 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 2.5.0-4
- KYOS-F: fix compile error: no match for operator<< on gcc 7.3.0.