当前位置:   article > 正文

android11展锐 Selinux 添加设备节点问题修改及具体实现_ums9620 开发板

ums9620 开发板

android11展锐 Selinux 添加设备节点问题修改及具体实现

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
  • 1
  • 2
  • 3
  • 4

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最后方留一行空格,即可解决编译问题

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/人工智能uu/article/detail/1005121
推荐阅读
相关标签
  

闽ICP备14008679号