/ data /上的以下类型必须与“ core_data_file_type”属性关联:netmgrd_data_file

时间:2019-12-27 16:35:15

标签: android-kernel

[ 33% 5152/15457] build /rom/tb8504/out/target/product/TB8504/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
FAILED: /rom/tb8504/out/target/product/TB8504/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests 
/bin/bash -c "(/rom/tb8504/out/host/linux-x86/bin/sepolicy_tests -l /rom/tb8504/out/host/linux-x86/lib64/libsepolwrap.so         -f /rom/tb8504/out/target/product/TB8504/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts  -f /rom/tb8504/out/target/product/TB8504/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts  -p /rom/tb8504/out/target/product/TB8504/obj/ETC/sepolicy_intermediates/sepolicy ) && (touch /rom/tb8504/out/target/product/TB8504/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests )"
The following types on /data/ must be associated with the "core_data_file_type" attribute: netmgrd_data_file

[ 33% 5169/15457] //external/llvm:libLLVM_android link libLLVM_android.so
ninja: build stopped: subcommand failed.
10:30:10 ninja failed with: exit status 1

设备树:https://github.com/dazza5000/android_device_lenovo_TB8504

供应商树:= https://github.com/dazza5000/android_vendor_lenovo_TB8504

内核源:= https://github.com/dazza5000/android_kernel_lenovo_TB8504

ROM源:= https://github.com/LineageOS/android

急速或Dogbin网址:= https://del.dog/cemofukino.txt

我在https://github.com/LineageOS/android_device_qcom_sepolicy/blob/lineage-16.0/vendor/common/file.te#L46处手动更新了文件,使其包含core_data_file_type,但这听起来不像是合法的解决方法,并且不会留下痕迹-它也无法帮助我确定根本原因

0 个答案:

没有答案