diff --git a/.github/workflows/build-gsi.yml b/.github/workflows/build-gsi.yml index 8d2589f..d63e8fd 100644 --- a/.github/workflows/build-gsi.yml +++ b/.github/workflows/build-gsi.yml @@ -62,7 +62,8 @@ jobs: run: | # copy vanilla config pushd device/phh/treble - cp -fv ../../../../configs/voltage_vanilla.mk voltage.mk + ls -l ../../../../ + cp -fv ../../../../configs/voltage-vanilla.mk voltage.mk bash generate.sh voltage popd diff --git a/src/device/phh/treble/voltage.mk b/src/device/phh/treble/voltage.mk new file mode 100644 index 0000000..2ec9a78 --- /dev/null +++ b/src/device/phh/treble/voltage.mk @@ -0,0 +1,26 @@ +$(call inherit-product, vendor/voltage/config/common_full_phone.mk) +$(call inherit-product, vendor/voltage/config/BoardConfigVoltage.mk) +$(call inherit-product, device/voltage/sepolicy/common/sepolicy.mk) +-include vendor/voltage/build/core/config.mk + +# Bootanimation (force 720p - 720x1280) +TARGET_BOOT_ANIMATION_RES := 1280 + +# Kernel +TARGET_NO_KERNEL_IMAGE := true +TARGET_NO_KERNEL_OVERRIDE := true + +# Overlay +PRODUCT_PACKAGE_OVERLAYS += \ + $(LOCAL_PATH)/overlay-voltage + +# Packages +PRODUCT_PACKAGES += \ + Apps \ + AuroraStorePrivilegedExtension \ + F-DroidPrivilegedExtension \ + OpenEUICC + +# SELinux +SELINUX_IGNORE_NEVERALLOWS := true +TARGET_USES_PREBUILT_VENDOR_SEPOLICY := true