The booting from initramfs requires /init, so it should be
created. Add /init file as symlink to /sbin/init. Also, in
initramfs devtmpfs is not mounted automatically, so, it
should be mounted manually.
Both are fine on case of ext4 initrd image also.
Change-Id: Ic90bb8cc44df331017858903b24eb0a91fe95a53
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
/sbin/init:@INITRD_RECOVERY_LIBEXEC_DIR@/init
/sbin/minireboot:@INITRD_RECOVERY_LIBEXEC_DIR@/minireboot
/sbin/reboot:@INITRD_RECOVERY_LIBEXEC_DIR@/minireboot
+/init:sbin/init
"
VERBATIMS="
"$MOUNT" -t smackfs smackfs /smack
"$MOUNT" -t tmpfs tmpfs /run -o rw,nosuid,nodev,mode=755
"$MOUNT" -t tmpfs tmpfs /tmp -o mode=1777,smackfsroot=*
+ "$MOUNT" -t devtmpfs devtmpfs /dev -o nosuid,strictatime,mode=755
"$MKDIR" /dev/pts
"$MOUNT" -t devpts devpts /dev/pts