Am Dienstag, 16. Juli 2019 21:53:24 UTC+2 schrieb jeffv:
>
> The error message suggests how oww to fix it. In your device-specific 
> selinux policy, you need to add the suggested attributes. e.g.
>
> Change:
> type sysfs_sec, file_type; 
> To:
> type sysfs_sec, file_type, sysfs_type;
>
> Similarly add core_data_file_type for gps_data_file and tee_data_file.
>
>
>
> On Tuesday, July 16, 2019 at 10:21:00 AM UTC-7, Simon Schoenmackers wrote:
>>
>> Im trying to build AOSPextended but the build fails with this error:
>>
>>
>> FAILED: /home/simon/AOSP_Extended/out/target/product/a5y17lte/obj/ETC/
>> sepolicy_tests_intermediates/sepolicy_tests 
>> /bin/bash -c 
>> "(/home/simon/AOSP_Extended/out/host/linux-x86/bin/sepolicy_tests 
>> -l /home/simon/AOSP_Extended/out/host/linux-x86/lib64/libsepolwrap.so       
>>    -f 
>> /home/simon/AOSP_Extended/out/target/product/a5y17lte/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts
>>  
>>  -f 
>> /home/simon/AOSP_Extended/out/target/product/a5y17lte/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts
>>  
>>  -p 
>> /home/simon/AOSP_Extended/out/target/product/a5y17lte/obj/ETC/sepolicy_intermediates/sepolicy
>>  
>> ) && (touch 
>> /home/simon/AOSP_Extended/out/target/product/a5y17lte/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
>>  
>> )"
>> The following types on /sys/ must be associated with the "sysfs_type" 
>> attribute: sysfs_sec
>> The following types on /data/ must be associated with the 
>> "core_data_file_type" attribute: gps_data_file tee_data_file
>>
>> Anyone knows how to fix this?
>>
>

Thanks for the answer.
I fixed the sysfs_sec and gps_data_file errors but I cant seem to find any 
tee_data_file entry in my sepolicy files.
Any ideas?

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/82cdeabe-5dda-4428-a5d5-7ad09e4e9e5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to