1# 2# Copyright (C) 2020 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17# This makefile installs contents of the generic ramdisk. 18# Inherit from this makefile to declare that this product uses generic ramdisk. 19# This makefile checks that other makefiles must not install things to the 20# ramdisk. 21 22# Ramdisk 23PRODUCT_PACKAGES += \ 24 init_first_stage \ 25 e2fsck.ramdisk \ 26 fsck.f2fs.ramdisk \ 27 tune2fs.ramdisk \ 28 snapuserd.ramdisk \ 29 30# Debug ramdisk 31PRODUCT_PACKAGES += \ 32 adb_debug.prop \ 33 userdebug_plat_sepolicy.cil \ 34 35_my_paths := \ 36 $(TARGET_COPY_OUT_RAMDISK)/ \ 37 $(TARGET_COPY_OUT_DEBUG_RAMDISK)/ \ 38 system/usr/share/zoneinfo/tz_version \ 39 system/usr/share/zoneinfo/tzdata \ 40 41# We use the "relaxed" version here because tzdata / tz_version is only produced 42# by this makefile on a subset of devices. 43# TODO: remove this 44$(call require-artifacts-in-path-relaxed, $(_my_paths), ) 45