update to 0.1.1
First version for test. Support patches restore, remove, auto insmod upatch.ko. Signed-off-by: snoweay <snoweay@163.com>
This commit is contained in:
parent
0064ce9333
commit
697719add3
Binary file not shown.
15
syscare.spec
15
syscare.spec
@ -39,10 +39,21 @@ make
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/usr/lib/systemd/system
|
||||||
|
install -m 0644 %{_builddir}/%{name}-%{version}/misc/%{name}-restore.service %{buildroot}/usr/lib/systemd/system
|
||||||
|
install -m 0644 %{_builddir}/%{name}-%{version}/misc/%{name}-pre.service %{buildroot}/usr/lib/systemd/system
|
||||||
|
|
||||||
|
%post
|
||||||
|
%systemd_post %{name}-restore.service
|
||||||
|
%systemd_post %{name}-pre.service
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%attr(755,root,root) /usr/bin/syscare
|
%attr(755,root,root) /usr/bin/syscare
|
||||||
%attr(755,root,root) /usr/libexec/%{name}/upatch-tool
|
%attr(755,root,root) /usr/libexec/%{name}/upatch-tool
|
||||||
|
%attr(755,root,root) /usr/libexec/%{name}/auto-recovery.sh
|
||||||
|
%attr(644,root,root) /usr/lib/systemd/system/%{name}-restore.service
|
||||||
|
%attr(644,root,root) /usr/lib/systemd/system/%{name}-pre.service
|
||||||
|
|
||||||
%files build
|
%files build
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -52,5 +63,7 @@ make
|
|||||||
%attr(755,root,root) /usr/libexec/%{name}/syscare-build
|
%attr(755,root,root) /usr/libexec/%{name}/syscare-build
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Nov 21 2022 snoweay<snoweay@163.com> - 0.1.1-1
|
* Mon Nov 28 2022 snoweay<snoweay@163.com> - 0.1.1-1
|
||||||
|
- First version for test. Support patches restore, remove, insmod upatch.ko.
|
||||||
|
* Mon Nov 21 2022 snoweay<snoweay@163.com> - 0.1.0-1
|
||||||
- init version for 0.1.1-1.
|
- init version for 0.1.1-1.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user