app: aboot: for LE platform set init=/sbin/init
Linux Embedded platform installs the init manager binary at
/sbin/init while generating rootfs image.
Change-Id: I39820b11df9467286b4e81464b5686e7deb6d09c
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index 9d383a4..c183612 100755
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -185,7 +185,11 @@
static const char *baseband_apq_nowgr = " androidboot.baseband=baseband_apq_nowgr";
static const char *androidboot_slot_suffix = " androidboot.slot_suffix=";
static const char *skip_ramfs = " skip_initramfs";
+#ifdef INIT_BIN_LE
+static const char *sys_path_cmdline = " rootwait ro init="INIT_BIN_LE;
+#else
static const char *sys_path_cmdline = " rootwait ro init=/init";
+#endif
#if VERITY_LE
static const char *verity_dev = " root=/dev/dm-0";