mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 15:09:34 -05:00
22 lines
520 B
Plaintext
22 lines
520 B
Plaintext
dm-verity has been supported since KitKat! Why isn't it enabled on all devices???
|
|
|
|
fstab /system
|
|
verify=[metadata partition]
|
|
|
|
device.mk
|
|
ifeq ($(TARGET_BUILD_VARIANT),user)
|
|
PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/by-name/system
|
|
$(call inherit-product, build/target/product/verity.mk)
|
|
endif
|
|
|
|
init.device.rc
|
|
on init
|
|
# Load persistent dm-verity state
|
|
verity_load_state
|
|
on early-boot
|
|
# Update dm-verity state and set partition.*.verified properties
|
|
verity_update_state
|
|
|
|
kernel config
|
|
CONFIG_DM_VERITY=y
|