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 26# Debug ramdisk 27PRODUCT_PACKAGES += \ 28 userdebug_plat_sepolicy.cil \ 29 30_my_paths := \ 31 $(TARGET_COPY_OUT_RAMDISK)/ \ 32 $(TARGET_COPY_OUT_DEBUG_RAMDISK)/ \ 33 system/usr/share/zoneinfo/tz_version \ 34 system/usr/share/zoneinfo/tzdata \ 35 36# We use the "relaxed" version here because tzdata / tz_version is only produced 37# by this makefile on a subset of devices. 38# TODO: remove this 39$(call require-artifacts-in-path-relaxed, $(_my_paths), ) 40