add sa profile
This commit is contained in:
parent
d92a51adb4
commit
25f3ac5e25
14
huks_service.xml
Executable file
14
huks_service.xml
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<info>
|
||||||
|
<process>huks_service</process>
|
||||||
|
<loadlibs>
|
||||||
|
<libpath>libhuks_service.z.so</libpath>
|
||||||
|
</loadlibs>
|
||||||
|
<systemability>
|
||||||
|
<name>3510</name>
|
||||||
|
<libpath>libhuks_service.z.so</libpath>
|
||||||
|
<run-on-create>true</run-on-create>
|
||||||
|
<distributed>false</distributed>
|
||||||
|
<dump-level>1</dump-level>
|
||||||
|
</systemability>
|
||||||
|
</info>
|
||||||
@ -6,13 +6,14 @@
|
|||||||
|
|
||||||
Name: security_huks
|
Name: security_huks
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Key management service
|
Summary: Key management service
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://gitee.com/openharmony/security_huks
|
URL: https://gitee.com/openharmony/security_huks
|
||||||
Source1: https://gitee.com/openharmony/security_huks/repository/archive/OpenHarmony-v3.2-Release.tar.gz #/security_huks-OpenHarmony-v3.2-Release.tar.gz
|
Source1: https://gitee.com/openharmony/security_huks/repository/archive/OpenHarmony-v3.2-Release.tar.gz #/security_huks-OpenHarmony-v3.2-Release.tar.gz
|
||||||
Source2: huks.BUILD.gn
|
Source2: huks.BUILD.gn
|
||||||
Source3: huks.bundle.json
|
Source3: huks.bundle.json
|
||||||
|
Source4: huks_service.xml
|
||||||
|
|
||||||
Patch1: 0001-adapt-compilation-tailor-dependencies.patch
|
Patch1: 0001-adapt-compilation-tailor-dependencies.patch
|
||||||
|
|
||||||
@ -65,6 +66,7 @@ mv %{security_path}/%{name}-%{oh_version} %{security_path}/huks
|
|||||||
install -d -m 0755 %{buildroot}/%{_includedir}/huks
|
install -d -m 0755 %{buildroot}/%{_includedir}/huks
|
||||||
install -d -m 0755 %{buildroot}/%{_libdir}
|
install -d -m 0755 %{buildroot}/%{_libdir}
|
||||||
install -d -m 0755 %{buildroot}/system/lib64
|
install -d -m 0755 %{buildroot}/system/lib64
|
||||||
|
install -d -m 0755 %{buildroot}/system/profile
|
||||||
install -d -m 0755 %{buildroot}%{build_opt}/openeuler/compiler_gn/base/security/huks/interfaces/innerkits/huks_standard/main/
|
install -d -m 0755 %{buildroot}%{build_opt}/openeuler/compiler_gn/base/security/huks/interfaces/innerkits/huks_standard/main/
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
@ -90,6 +92,9 @@ install -m 0755 %{SOURCE3} %{buildroot}%{build_opt}/openeuler/compiler_gn/base/s
|
|||||||
#cp gn file
|
#cp gn file
|
||||||
install -m 0755 %{SOURCE2} %{buildroot}%{build_opt}/openeuler/compiler_gn/base/security/huks/interfaces/innerkits/huks_standard/main/BUILD.gn
|
install -m 0755 %{SOURCE2} %{buildroot}%{build_opt}/openeuler/compiler_gn/base/security/huks/interfaces/innerkits/huks_standard/main/BUILD.gn
|
||||||
|
|
||||||
|
# cp profile file
|
||||||
|
install -m 0755 %{SOURCE4} %{buildroot}/system/profile
|
||||||
|
|
||||||
#cp yaml file
|
#cp yaml file
|
||||||
install -m 0755 %{_builddir}/base/security/huks/hisysevent.yaml %{buildroot}%{build_opt}/openeuler/compiler_gn/base/security/huks
|
install -m 0755 %{_builddir}/base/security/huks/hisysevent.yaml %{buildroot}%{build_opt}/openeuler/compiler_gn/base/security/huks
|
||||||
|
|
||||||
@ -103,9 +108,14 @@ ln -s /usr/include/huks %{buildroot}%{build_opt}/openeuler/compiler_gn/base/sec
|
|||||||
# %{bundle_dir}/*
|
# %{bundle_dir}/*
|
||||||
/system/*
|
/system/*
|
||||||
%{build_opt}/*
|
%{build_opt}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Oct 30 2023 Yuying Mu <muyuying1@huawei.com> - 1.0.0-1
|
* Fri Dec 15 2023 Peng He <hepeng68@huawei.com> - 1.0.0-3
|
||||||
|
- add sa profile file
|
||||||
|
|
||||||
|
* Mon Oct 30 2023 Yuying Mu <muyuying1@huawei.com> - 1.0.0-2
|
||||||
- add gn file
|
- add gn file
|
||||||
|
|
||||||
* Sat Oct 07 2023 Peng He <hepeng68@huawei.com> - 1.0.0-1
|
* Sat Oct 07 2023 Peng He <hepeng68@huawei.com> - 1.0.0-1
|
||||||
* Tue Nov 21 2023 JiaQi Zhao <zhaojiaqi18@huawei.com> - 1.0.0-1
|
* Tue Nov 21 2023 JiaQi Zhao <zhaojiaqi18@huawei.com> - 1.0.0-1
|
||||||
- adapt compilation, tailor dependencies on hitrace and hisysevent
|
- adapt compilation, tailor dependencies on hitrace and hisysevent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user