diff --git a/build/core/config.mk b/build/core/config.mk index 71a73d0e..bd5e9f59 100644 --- a/build/core/config.mk +++ b/build/core/config.mk @@ -22,6 +22,11 @@ FRAMEWORK_LINEAGE_API_NEEDS_UPDATE_TEXT := $(TOPDIR)vendor/lineage/build/core/ap BUILD_RRO_SYSTEM_PACKAGE := $(TOPDIR)vendor/lineage/build/core/system_rro.mk +# We modify several neverallows, so let the build proceed +ifneq ($(TARGET_BUILD_VARIANT),user) +SELINUX_IGNORE_NEVERALLOWS := true +endif + # Rules for MTK targets include $(TOPDIR)vendor/lineage/build/core/mtk_target.mk