sepolicy: tequila

This commit is contained in:
Bartłomiej Rudecki 2024-09-05 19:49:14 +00:00
parent 2275b987de
commit c9c313fa0a
7 changed files with 22 additions and 22 deletions

View file

@ -5,8 +5,8 @@
ifneq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
BOARD_SEPOLICY_DIRS += \
device/lineage/sepolicy/atv/vendor
device/tequila/sepolicy/atv/vendor
endif
PRODUCT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/atv/private
device/tequila/sepolicy/atv/private

View file

@ -5,7 +5,7 @@
/system/bin/mkfs\.ntfs u:object_r:mkfs_exec:s0
# OTA packages
/data/lineageos_updates(/.*)? u:object_r:ota_package_file:s0
/data/tequila_updates(/.*)? u:object_r:ota_package_file:s0
# Postinstall
/system/bin/backuptool_ab\.functions u:object_r:otapreopt_chroot_exec:s0

View file

@ -1,2 +1,2 @@
[@MEDIASHELL]
ALL : device/lineage/sepolicy/common/private/certs/mediashell/mediashell-release.x509.pem
ALL : device/tequila/sepolicy/common/private/certs/mediashell/mediashell-release.x509.pem

View file

@ -10,22 +10,22 @@ endif
endif
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/public
device/tequila/sepolicy/common/public
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/private
device/tequila/sepolicy/common/private
ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/dynamic \
device/lineage/sepolicy/common/system
device/tequila/sepolicy/common/dynamic \
device/tequila/sepolicy/common/system
else
BOARD_VENDOR_SEPOLICY_DIRS += \
device/lineage/sepolicy/common/dynamic \
device/lineage/sepolicy/common/vendor
device/tequila/sepolicy/common/dynamic \
device/tequila/sepolicy/common/vendor
endif
# Include atv rules on atv product
ifeq ($(PRODUCT_IS_ATV), true)
include device/lineage/sepolicy/atv/sepolicy.mk
include device/tequila/sepolicy/atv/sepolicy.mk
endif

View file

@ -10,14 +10,14 @@ endif
endif
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/exynos/private
device/tequila/sepolicy/exynos/private
ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/exynos/dynamic \
device/lineage/sepolicy/exynos/system
device/tequila/sepolicy/exynos/dynamic \
device/tequila/sepolicy/exynos/system
else
BOARD_VENDOR_SEPOLICY_DIRS += \
device/lineage/sepolicy/exynos/dynamic \
device/lineage/sepolicy/exynos/vendor
device/tequila/sepolicy/exynos/dynamic \
device/tequila/sepolicy/exynos/vendor
endif

View file

@ -1,2 +1,2 @@
BOARD_VENDOR_SEPOLICY_DIRS += \
device/lineage/sepolicy/libperfmgr/vendor
device/tequila/sepolicy/libperfmgr/vendor

View file

@ -10,16 +10,16 @@ endif
endif
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/private
device/tequila/sepolicy/qcom/private
ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/dynamic \
device/lineage/sepolicy/qcom/system
device/tequila/sepolicy/qcom/dynamic \
device/tequila/sepolicy/qcom/system
else
BOARD_VENDOR_SEPOLICY_DIRS += \
device/lineage/sepolicy/qcom/dynamic \
device/lineage/sepolicy/qcom/vendor
device/tequila/sepolicy/qcom/dynamic \
device/tequila/sepolicy/qcom/vendor
endif
ifeq (,$(filter msm8937 msm8953 msm8996 msm8998 sdm660 sdm710 sdm845, $(TARGET_BOARD_PLATFORM)))