!2 acpid: fix acpid.service start failed
Merge pull request !2 from luocheng382548/master
This commit is contained in:
commit
d67bd9b71e
12
acpid.spec
12
acpid.spec
@ -1,6 +1,6 @@
|
|||||||
Name: acpid
|
Name: acpid
|
||||||
Version: 2.0.30
|
Version: 2.0.30
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Advanced Configuration and Power Interface event daemon
|
Summary: Advanced Configuration and Power Interface event daemon
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://sourceforge.net/projects/acpid2/
|
URL: http://sourceforge.net/projects/acpid2/
|
||||||
@ -40,7 +40,7 @@ rm -rf %{buildroot}/*
|
|||||||
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/events
|
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/events
|
||||||
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/actions
|
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/actions
|
||||||
mkdir -p -m 755 %{buildroot}%{_unitdir}
|
mkdir -p -m 755 %{buildroot}%{_unitdir}
|
||||||
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig/acpid
|
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig
|
||||||
%make_install docdir=%{_docdir}/%{name}
|
%make_install docdir=%{_docdir}/%{name}
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/acpi/events/powerconf
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/acpi/events/powerconf
|
||||||
install -p -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh
|
install -p -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh
|
||||||
@ -76,9 +76,13 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/acpid
|
|||||||
%systemd_postun_with_restart %{name}.socket %{name}.service
|
%systemd_postun_with_restart %{name}.socket %{name}.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 10 2020 wuxu_wu <wuxu.wu@huawei.com> - 2.0.32
|
* Tue Jan 21 2020 luochunsheng <luochunsheng@huawei.com> - 2.0.30-4
|
||||||
|
- fix acpid.service start failed: Mishandling the acpid sysconfig file
|
||||||
|
as a directory
|
||||||
|
|
||||||
|
* Fri Jan 10 2020 wuxu_wu <wuxu.wu@huawei.com> - 2.0.30-3
|
||||||
- delete useless configuration file
|
- delete useless configuration file
|
||||||
|
|
||||||
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.31
|
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.30-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user