!12 ko安装手动化、非root用户input可访问

From: @lastcc 
Reviewed-by: @yanansong 
Signed-off-by: @yanansong
This commit is contained in:
openeuler-ci-bot 2023-12-22 12:05:03 +00:00 committed by Gitee
commit 25568f2883
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@
Name: ft_utils
Version: 1.0.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: common library
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/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/pre_oneshot_samgr %{buildroot}/usr/share/sa
%endif
%clean
@ -91,8 +92,6 @@ rm -rf %{buildroot}
%post
semodule -X 300 -i /usr/share/sa/ft.pp
insmod /usr/share/sa/ashmem_linux.ko
insmod /usr/share/sa/binder_linux.ko
%files
/usr/include/ft/event_loop/*
@ -101,6 +100,9 @@ insmod /usr/share/sa/binder_linux.ko
%endif
%changelog
* Thu Dec 21 2023 lastcc <ynsy891@gmail.com> - 1.0.0-4
- update pre script before launch samgr
* Fri Dec 15 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.0.0-3
- add missing buildrequires

Binary file not shown.