Files
Michael Bestas b5acadc7aa Add e2fsck/resize2fs/tune2fs to recovery/vendor_ramdisk
Fixes: [ERROR]: recovery: [libfs_mgr]Unable to enable ext4 verity on
/dev/block/by-name/metadata because /system/bin/tune2fs is missing

in recovery.

Test: e2fsck/resize2fs/tune2fs are present in ramdisks.
Change-Id: I83223f48e4df8b89ff9b27b0912174360c053617
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:41:13 +08:00

31 lines
937 B
Makefile

#
# Copyright (C) 2019 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
PRODUCT_VIRTUAL_AB_OTA := true
PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.enabled=true
PRODUCT_PACKAGES += \
e2fsck_ramdisk \
resize2fs_ramdisk \
tune2fs_ramdisk
# For dedicated recovery partitions, we need to include fs tools
PRODUCT_PACKAGES += \
e2fsck.recovery \
resize2fs.recovery \
tune2fs.recovery