On 12/03/2015 09:50 AM, Elena Reshetova wrote:
>Was the other statement accurate? It failed with the addition of an fc
entry or was it always failing and just not manifesting as a problem
until now?
I don't know if it was visible previously in any logs ever, but as you
know we have a lot of separated file_contexts files and most of them
don't have any newlines at the end.
Despite that they all work and when I see the resulted file_contexts
file, is it correct. Issue started to be visible only for this
particular case.
If it is the last file_contexts file, then it likely doesn't matter
because nothing else will get appended. So in AOSP, where there are only
ever two files (external/sepolicy/file_contexts and
device/*/*/sepolicy/file_contexts), it only shows up if I remove the
terminating newline from external/sepolicy/file_contexts.
Also, it might work out for you if m4 happens to generate a sync line at
the beginning of a new input file, or if the new input file starts with
an empty line or other whitespace.
Otherwise, it shouldn't ever work, but you might not see it at build
time prior to the change that I referenced (which is in master).
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to
[email protected].