add version 4. add shell file pre_oneshot_samgr
This commit is contained in:
parent
f746f51912
commit
ff32c1ff09
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: ft_utils
|
Name: ft_utils
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: common library
|
Summary: common library
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -84,6 +84,7 @@ mkdir -p %{buildroot}/usr/share/sa
|
|||||||
cp -pdf %{_builddir}/kernel_binder/binder/src/binder_linux.ko %{buildroot}/usr/share/sa
|
cp -pdf %{_builddir}/kernel_binder/binder/src/binder_linux.ko %{buildroot}/usr/share/sa
|
||||||
cp -pdf %{_builddir}/kernel_binder/ashmem/src/ashmem_linux.ko %{buildroot}/usr/share/sa
|
cp -pdf %{_builddir}/kernel_binder/ashmem/src/ashmem_linux.ko %{buildroot}/usr/share/sa
|
||||||
cp -pdf %{_builddir}/kernel_binder/ft.pp %{buildroot}/usr/share/sa
|
cp -pdf %{_builddir}/kernel_binder/ft.pp %{buildroot}/usr/share/sa
|
||||||
|
cp -pdf %{_builddir}/kernel_binder/pre_oneshot_samgr %{buildroot}/usr/share/sa
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -91,10 +92,7 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
semodule -X 300 -i /usr/share/sa/ft.pp
|
semodule -X 300 -i /usr/share/sa/ft.pp
|
||||||
insmod /usr/share/sa/ashmem_linux.ko
|
/usr/share/sa/pre_oneshot_samgr
|
||||||
insmod /usr/share/sa/binder_linux.ko
|
|
||||||
chmod 666 /dev/binder
|
|
||||||
chmod 666 /dev/ashmem
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
/usr/include/ft/event_loop/*
|
/usr/include/ft/event_loop/*
|
||||||
@ -103,6 +101,9 @@ chmod 666 /dev/ashmem
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 21 2023 lastcc <ynsy891@gmail.com> - 1.0.0-4
|
||||||
|
- add missing buildrequires
|
||||||
|
|
||||||
* Fri Dec 15 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.0.0-3
|
* Fri Dec 15 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.0.0-3
|
||||||
- add missing buildrequires
|
- add missing buildrequires
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user