sm8250-common: add A/B partitions and scripts
This commit is contained in:
parent
9138731f53
commit
eb9bfcf820
@ -62,6 +62,19 @@ TARGET_KERNEL_CONFIG := vendor/kona-perf_defconfig
|
|||||||
BOARD_USES_QCOM_HARDWARE := true
|
BOARD_USES_QCOM_HARDWARE := true
|
||||||
TARGET_BOARD_PLATFORM := kona
|
TARGET_BOARD_PLATFORM := kona
|
||||||
|
|
||||||
|
# A/B
|
||||||
|
AB_OTA_UPDATER := true
|
||||||
|
|
||||||
|
AB_OTA_PARTITIONS += \
|
||||||
|
boot \
|
||||||
|
dtbo \
|
||||||
|
product \
|
||||||
|
system \
|
||||||
|
system_ext \
|
||||||
|
vbmeta \
|
||||||
|
vbmeta_system \
|
||||||
|
vendor
|
||||||
|
|
||||||
# Metadata
|
# Metadata
|
||||||
BOARD_USES_METADATA_PARTITION := true
|
BOARD_USES_METADATA_PARTITION := true
|
||||||
|
|
||||||
|
32
sm8250.mk
Normal file
32
sm8250.mk
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2022 The LineageOS 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# A/B
|
||||||
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
|
RUN_POSTINSTALL_system=true \
|
||||||
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
||||||
|
FILESYSTEM_TYPE_system=ext4 \
|
||||||
|
POSTINSTALL_OPTIONAL_system=true
|
||||||
|
|
||||||
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
|
RUN_POSTINSTALL_vendor=true \
|
||||||
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
||||||
|
FILESYSTEM_TYPE_vendor=ext4 \
|
||||||
|
POSTINSTALL_OPTIONAL_vendor=true
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
checkpoint_gc \
|
||||||
|
otapreopt_script
|
Loading…
x
Reference in New Issue
Block a user