From 47b8ccab8b634ef59072750cebf367dd4d5f2b95 Mon Sep 17 00:00:00 2001 From: David Lin Date: Thu, 15 Jun 2017 20:31:47 -0700 Subject: [PATCH] init: remove persist partition mount This patch removes the /persist partition mount since it's been moved to early-mount. Bug: 62683712 Test: boot & audio sanity test Change-Id: Ifff57f23db3aa221885331eaccc532d753e7e730 Signed-off-by: David Lin --- init.hardware.rc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/init.hardware.rc b/init.hardware.rc index 10788ff6..71e6a06a 100644 --- a/init.hardware.rc +++ b/init.hardware.rc @@ -155,12 +155,6 @@ on fs mount_all /vendor/etc/fstab.${ro.hardware} --early swapon_all /vendor/etc/fstab.${ro.hardware} - # Keeping following partitions outside fstab file. As user may not have - # these partition flashed on the device. Failure to mount any partition in fstab file - # results in failure to launch late-start class. - - wait /dev/block/bootdevice/by-name/persist - mount ext4 /dev/block/bootdevice/by-name/persist /persist nosuid nodev noatime barrier=1 restorecon_recursive /persist mkdir /persist/data 0700 system system mkdir /persist/display 0770 system graphics