init: rename mke2fs tools with _static suffix

We build a static version for recovery mode. Give them
different names to avoid conflicts with regular version
in /system/bin/

Bug: 35219933
Change-Id: I738655ad9b9ad71c63ae604d9a4d659b0b671121
This commit is contained in:
Jin Qian 2017-06-09 13:25:46 -07:00
parent 8b1f1ca92f
commit a2421041bf

View file

@ -915,8 +915,8 @@ static void selinux_restore_context() {
selinux_android_restorecon("/dev/block", SELINUX_ANDROID_RESTORECON_RECURSE);
selinux_android_restorecon("/dev/device-mapper", 0);
selinux_android_restorecon("/sbin/mke2fs", 0);
selinux_android_restorecon("/sbin/e2fsdroid", 0);
selinux_android_restorecon("/sbin/mke2fs_static", 0);
selinux_android_restorecon("/sbin/e2fsdroid_static", 0);
}
// Set the UDC controller for the ConfigFS USB Gadgets.