Check property type in host_init_verifier
We have all of the 'type' information for properties available during build time, so let's check this when setting properties in init. Test: setprop apexd.status bad results in: host_init_verifier: Command 'setprop apexd.status bad' (out/soong/.intermediates/system/core/rootdir/init.rc/android_x86_core/init.rc:927) failed: Property type check failed, value doesn't match expected type 'enum starting ready' host_init_verifier: Failed to parse init script 'out/soong/.intermediates/system/core/rootdir/init.rc/android_x86_core/init.rc' with 1 errors Test: CF builds without that error Change-Id: Ia1b24ab42e2193e3298021bc86ee2309ca7a381f
Loading
Please register or sign in to comment