Refactor to reusable chunks to allow sharing into real rootfs

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add support for command injection during telnet session
Add some docs to the telnet login
Relocate control to /init-ctl/
Be explicit about busybox so this works in a rootfs too
Correct rootfs detection

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Don't use mount -a as we run in both initrd and rootfs

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
We agreed on /data/.stowaways/sailfishos

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Easy exit from injection loop

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Make the steps clearer and remove redundant NEVERBOOT option

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Tidy up CUSTOMPRODUCT use

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Be more androidy in locations for img files

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Heavy refactoring to support booting into both initrd and rootfs with telnetd/dhcpd and extensive auditing

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Ensure hotplugging via mdev is not done in main rootfs init

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Clarify welcome message

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Actually use DEFAULT_OS and set it in Android.mk for now.

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Merge pull request #4 from lbt/hybris-10.1

Refactor and support rootfs booting