]> code.ossystems Code Review - openembedded-core.git/commit
initramfs-live-boot: make it more generic and easy to use
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 11 Oct 2011 19:18:50 +0000 (19:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Oct 2011 11:53:30 +0000 (12:53 +0100)
commit3fc8cec53038f41d31344040c56d62aac90ba7e0
treea9071a02c411227cdc3eda60ba6fa994e719036e
parent989238c366499aa3420c5594a7e256e50c78cc4b
initramfs-live-boot: make it more generic and easy to use

The script was making some assumptions that enforced many requirement
in the machine kernel configuration and usage, besides it were too
while booting.

Changes included:

 * fix indentation;
 * rdepends on udev;
 * allow use of isofs as module;
 * remove rootdelay param parsing as it was unused;
 * don't verbosely kill udevd and mknod;
 * mount devtmpfs into rootfs, if available, before swithing root;

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/recipes-core/initrdscripts/files/init-live.sh
meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb