赞
踩
file_contexts文件修改时,最后一行必须要有一个空行,否则会编译不过。
FAILED: out/target/product/ums9620_1h10/obj/FAKE/vendor_file_contexts_test_intermediates/vendor_file_contexts_test/bin/bash -c "(out/host/linux-x86/bin/checkfcout/target/product/ ums9620_1h10/obj/ETC/sepolicy_intermediates/sepolicy out/target/product/ums9620_1h10/ vendor/etc/selinux/vendor_file_contexts ) && (mkdir -p out/target/product/ ums9620_1h10/obj/FAKE/ vendor_file_contexts_test_intermediates/ ) && (touch out/target/product/ums9620_1h10/obj/FAKE/vendor_file_contexts_test_intermediates/vendor_file_contexts_test )"
out/target/product/ums9620_1h10/vendor/etc/selinux/vendor_file_contexts: line 152 has invalid file type u:object_r:ise_data_file:s0/(vendor|system/vendor)/bin/connmgr
out/target/product/ums9620_1h10/vendor/etc/selinux/vendor_file_contexts: line 152 has invalid file type u:object_r:ise_data_file:s0/(vendor|system/vendor)/bin/connmgr
Error: could not load context file from out/target/product/ums9620_1h10/vendor/etc/selinux/vendor_file_contexts
FAILED: out/target/product/ums9620/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin
**
Error: could not load context file from out/target/product/ums9620/obj/ETC/file_contexts.bin_intermediates/file_contexts.concat.tmp
解决方法:在file_contexts最后方留一行空格,即可解决编译问题
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。