15bbf6e98Sopenharmony_ci# Copyright (C) 2022 Huawei Device Co., Ltd.
25bbf6e98Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35bbf6e98Sopenharmony_ci# you may not use this file except in compliance with the License.
45bbf6e98Sopenharmony_ci# You may obtain a copy of the License at
55bbf6e98Sopenharmony_ci#
65bbf6e98Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75bbf6e98Sopenharmony_ci#
85bbf6e98Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95bbf6e98Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105bbf6e98Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115bbf6e98Sopenharmony_ci# See the License for the specific language governing permissions and
125bbf6e98Sopenharmony_ci# limitations under the License.
135bbf6e98Sopenharmony_ci
145bbf6e98Sopenharmony_cion post-fs-data
155bbf6e98Sopenharmony_ci    mkdir /data/service/el1/public/device_attest
165bbf6e98Sopenharmony_ci    chown device_attest device_attest /data/service/el1/public/device_attest
175bbf6e98Sopenharmony_ci    start devattest_service
185bbf6e98Sopenharmony_ci
195bbf6e98Sopenharmony_ciservice devattest_service /system/bin/sa_main /system/profile/devattest_service.json
205bbf6e98Sopenharmony_ci    class z_core
215bbf6e98Sopenharmony_ci    user device_attest
225bbf6e98Sopenharmony_ci    group device_attest system shell
23