SELinux-related 6.0 fixes

* Run restorecon on /data/.layout_version
* Fix firmware image mounting, remove obsolete fw_mounter
* Add mechanism to append things to rc files
This commit is contained in:
Vojtech Bocek
2016-02-06 20:51:50 +01:00
parent cae487184e
commit c61c3a4ebf
9 changed files with 185 additions and 139 deletions

View File

@@ -85,7 +85,7 @@ static void inject_file_contexts(void)
fclose(f);
INFO("Injecting /file_contexts");
INFO("Injecting /file_contexts\n");
f = fopen("/file_contexts", "ae");
if(!f)
{