1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos.gni") 15 16updater_ueventd_cfg = "//base/startup/init/services/etc/ueventd.cfg" 17 18ohos_prebuilt_etc("updater_ueventd.cfg") { 19 source = "${updater_ueventd_cfg}" 20 install_images = [ "updater" ] 21 part_name = "rockchip_products" 22} 23 24ohos_prebuilt_etc("updater_init.cfg") { 25 source = "config/init.cfg" 26 install_images = [ "updater" ] 27 part_name = "rockchip_products" 28} 29 30ohos_prebuilt_etc("updater_init_rk3568_usb.cfg") { 31 source = "config/init.rk3568.usb.cfg" 32 install_images = [ "updater" ] 33 part_name = "rockchip_products" 34} 35 36ohos_prebuilt_etc("signing_cert.crt") { 37 source = "config/signing_cert.crt" 38 module_install_dir = "etc/certificate" 39 install_images = [ 40 "system", 41 "updater", 42 ] 43 part_name = "rockchip_products" 44} 45 46ohos_prebuilt_etc("fstab.updater") { 47 source = "config/fstab.updater" 48 install_images = [ "updater" ] 49 part_name = "rockchip_products" 50} 51 52group("updater_files") { 53 deps = [ 54 ":fstab.updater", 55 ":signing_cert.crt", 56 ":updater_init.cfg", 57 ":updater_init_rk3568_usb.cfg", 58 ":updater_ueventd.cfg", 59 ] 60} 61