diff --git a/patches/personal/platform_device_phh_treble/0008-Set-builds-to-read-only.patch b/patches/personal/platform_device_phh_treble/0008-Set-builds-to-read-only.patch new file mode 100644 index 0000000..a6fe8d0 --- /dev/null +++ b/patches/personal/platform_device_phh_treble/0008-Set-builds-to-read-only.patch @@ -0,0 +1,22 @@ +From e037b571fd4e2bcaab02760fa7438fe996ad78b5 Mon Sep 17 00:00:00 2001 +From: "Christopher A. Williamson" +Date: Sun, 21 Jan 2024 10:43:26 +0000 +Subject: [PATCH] Set builds to read-only + +--- + board-base.mk | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/board-base.mk b/board-base.mk +index c38e385..97a4d02 100644 +--- a/board-base.mk ++++ b/board-base.mk +@@ -11,3 +11,5 @@ BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true + BUILD_BROKEN_DUP_RULES := true + + BOARD_ROOT_EXTRA_SYMLINKS := $(filter-out $(BOARD_ROOT_EXTRA_SYMLINKS),/mnt/vendor/persist:/persist) ++ ++BOARD_EXT4_SHARE_DUP_BLOCKS := true +-- +2.42.0 + diff --git a/patches/personal/platform_device_phh_treble/0008-builds-Read-Only.patch b/patches/personal/platform_device_phh_treble/0008-builds-Read-Only.patch deleted file mode 100644 index a5f1f14..0000000 --- a/patches/personal/platform_device_phh_treble/0008-builds-Read-Only.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 7c248fb7712ce5f7692434334c30f328bc3ce0dc Mon Sep 17 00:00:00 2001 -From: BoNic -Date: Tue, 14 Nov 2023 09:24:08 +0800 -Subject: [PATCH] builds-Read-Only - ---- - board-base.mk | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/board-base.mk b/board-base.mk -index 2cb5dbc..d6043e5 100644 ---- a/board-base.mk -+++ b/board-base.mk -@@ -10,3 +10,6 @@ BOARD_ROOT_EXTRA_FOLDERS += bt_firmware sec_storage efs persist - BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true - - BOARD_ROOT_EXTRA_SYMLINKS := $(filter-out $(BOARD_ROOT_EXTRA_SYMLINKS),/mnt/vendor/persist:/persist) -+ -+BOARD_EXT4_SHARE_DUP_BLOCKS := true -+BUILD_BROKEN_DUP_RULES := true --- -2.34.1