Browse Source

sepolicy: set fsck_untrusted to permissive in recovery

Breaks installation from SD card in some cases otherwise.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
replicant-6.0
Wolfgang Wiedmeyer 3 years ago
parent
commit
f14027ae6b
No known key found for this signature in database GPG Key ID: 5816A24C10757FC4
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      sepolicy/recovery.te

+ 3
- 0
sepolicy/recovery.te View File

@@ -1,5 +1,8 @@
recovery_only(`

# file system operations for sdcard
permissive fsck_untrusted;

# Secure adb (setup_adbd)
allow adbd adb_keys_file:dir search;
allow recovery adb_keys_file:dir r_dir_perms;


Loading…
Cancel
Save