!57 修复自启动失败的问题

From: @luoqing_kylinsec 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2022-08-16 00:28:22 +00:00 committed by Gitee
commit 16d0f6d5ff
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,7 @@ index 722a639..7cdf14e 100755
set -e
+# probe to test if autospawn works, else resort to starting manually
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
+@PACTL_BINARY@ info > /dev/null 2>&1 || /usr/bin/pulseaudio --start "$@"
+
if [ -n "$1" ] ; then
case $1 in

View File

@ -6,7 +6,7 @@
Name: pulseaudio
Summary: Improved Linux Sound Server
Version: 16.1
Release: 1
Release: 2
License: LGPLv2+
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
@ -232,6 +232,9 @@ exit 0
%{_mandir}/man*/*
%changelog
* Mon Aug 15 2022 luoqing <luoqing@kylinsec.com.cn> - 16.1-2
- fix the problem that autostart failed
* Thu Aug 04 2022 Qingqing Li <liqingqing3@huawei.com> - 16.1-1
- upgrade to 16.1