From e2c6249c9ea3cf9a69c4e183c763773a2c4ebaef Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Wed, 23 Sep 2020 19:38:54 +0400 Subject: [PATCH] universal8895: Ramdisk: remove restorecon --force flag host_init_verifier: Command 'restorecon --recursive --force /efs' (device/samsung/universal8895-common/ramdisk/etc/init.samsung.rc) failed: bad flag --force Change-Id: I8b4987b05d91aa75a40a2b0a0405466a5c9ae2a5 --- ramdisk/etc/init.samsung.rc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ramdisk/etc/init.samsung.rc b/ramdisk/etc/init.samsung.rc index 6f63f9b..fa69cb2 100644 --- a/ramdisk/etc/init.samsung.rc +++ b/ramdisk/etc/init.samsung.rc @@ -285,11 +285,11 @@ on post-fs-data mkdir /data/app_fonts 0775 system system # [ SEC_SELINUX_PORTING_COMMON - restorecon --recursive --force /efs - restorecon --recursive --force /cpefs - restorecon --recursive --force /mnt/vendor/efs - restorecon --recursive --force /mnt/vendor/cpefs - restorecon --recursive --force /sec_efs + exec u:r:vendor_init:s0 root root -- /vendor/bin/toybox_vendor restorecon -RF /efs + exec u:r:vendor_init:s0 root root -- /vendor/bin/toybox_vendor restorecon -RF /cpefs + exec u:r:vendor_init:s0 root root -- /vendor/bin/toybox_vendor restorecon -RF /mnt/vendor/efs + exec u:r:vendor_init:s0 root root -- /vendor/bin/toybox_vendor restorecon -RF /mnt/vendor/cpefs + exec u:r:vendor_init:s0 root root -- /vendor/bin/toybox_vendor restorecon -RF /sec_efs restorecon_recursive /carrier restorecon /sys/kernel/debug/tracing/trace_marker # ] SEC_SELINUX_PORTING_COMMON -- 2.20.1