mising boardsepolicy for mediatek ?
- /e/ version: v1-s ( v1.13-rc.4-s at present i think )
- Device model(s): emerald
Summary
after getting device proprietary vendor files from an OTA, the extractor doesn't report that any files were missing, however when attempting a build, i get the error
device/teracube/mt6765-common/BoardConfigCommon.mk:103: error: device/mediatek/sepolicy/BoardSEPolicyConfig.mk: No such file or directory
The problem
- pull the docker image
- create the directories in /srv/e/
- run
-v "/srv/e/src:/srv/src" \
-v "/srv/e/zips:/srv/zips" \
-v "/srv/e/logs:/srv/logs" \
-v "/srv/e/ccache:/srv/ccache" \
-e "BRANCH_NAME=v1-s" \
-e "DEVICE_LIST=emerald" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
- run the ./extract-files.sh script from a rom, i used https://downloads2.myteracube.com/T2e/2021-emerald/A12-Beta/full_emerald-ota-12.1.0%2Bd6d906b.emerald.user_signed.zip
- attempt to build
What is the current behavior?
it's missing the boardsepolicyconfig
What is the expected correct behavior?
it should've extracted it i guess ? i'm not really sure what went wrong
Solutions
Workaround
i solved this by cloning https://github.com/teracube-mt6765-devs/android_device_mediatek_sepolicy into the directory it was asking for
Possible fixes