!24 fix root can not input passwd bug

From: @hua_yadong
Reviewed-by: @dou33
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2021-12-09 12:38:10 +00:00 committed by Gitee
commit a97d3c75a3
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,32 @@
From 6740159fcdaa0276824fbac93501c4fd79b23d03 Mon Sep 17 00:00:00 2001
From: huayadong <huayadong@kylinos.cn>
Date: Thu, 9 Dec 2021 18:01:43 +0800
Subject: [PATCH] fix root can not input passwd bug
---
data/ukui-screensaver-qt | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/data/ukui-screensaver-qt b/data/ukui-screensaver-qt
index 6af045a..25d81df 100755
--- a/data/ukui-screensaver-qt
+++ b/data/ukui-screensaver-qt
@@ -1,11 +1,5 @@
-@include common-auth
-auth optional pam_gnome_keyring.so
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
-
-#If you are using Arch,comment out the
-#above and use the following.
-
-#auth include system-auth
-#account include system-auth
-#password include system-auth
-#session include system-auth
--
2.30.0

View File

@ -1,6 +1,6 @@
Name: ukui-screensaver
Version: 3.0.1
Release: 15
Release: 16
Summary: parallels toolbox for UKUI
License: GPL-3+ GPL-2+
URL: http://www.ukui.org
@ -40,6 +40,7 @@ patch10: 0011-Add-gitattriutes-files.patch
patch11: 0012-add-build-requires-packages.patch
patch12: 0013-Update-package-version.patch
patch13: fix-root-user-had-not-face-icon.patch
Patch14: fix-root-can-not-input-passwd-bug.patch
%description
The ukui-sidebar is mainly used in the desktop operating system.
@ -63,6 +64,7 @@ patch13: fix-root-user-had-not-face-icon.patch
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
cmake .
@ -91,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
#%%{_datadir}/ukui-screensaver/screensaver-en.ini
%changelog
* Thu Dec 09 2021 huayadong <huayadong@kylinos.cn> - 3.0.1-16
- add patch14: fix-root-can-not-input-passwd-bug.patch
* Thu Dec 09 2021 huayadong <huayadong@kylinos.cn> - 3.0.1-15
- add patch13:fix-root-user-had-not-face-icon.patch