From: Jan Altensen Date: Wed, 23 Sep 2020 15:38:54 +0000 (+0400) Subject: universal8895: Ramdisk: remove restorecon --force flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2c6249c9ea3cf9a69c4e183c763773a2c4ebaef;p=GitHub%2Fexynos8895%2Fandroid_device_samsung_universal8895-common.git 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 --- 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