summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-10-11 19:18:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:18:15 +0100
commite4953031de8f47953de6715bd0921da1a8e470a1 (patch)
tree57f5c8464891327206703667c321b44f5fbd8cf9 /meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
parentcd898bfd96b5ed9274e28a75372b00fd42062864 (diff)
downloadpoky-e4953031de8f47953de6715bd0921da1a8e470a1.tar.gz
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; (From OE-Core rev: 3fc8cec53038f41d31344040c56d62aac90ba7e0) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
index b404f8c600..e85a0e1189 100644
--- a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
@@ -1,9 +1,10 @@
1DESCRIPTION = "A live image init script" 1DESCRIPTION = "A live image init script"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4RDEPENDS = "udev"
4SRC_URI = "file://init-live.sh" 5SRC_URI = "file://init-live.sh"
5 6
6PR = "r6" 7PR = "r7"
7 8
8do_install() { 9do_install() {
9 install -m 0755 ${WORKDIR}/init-live.sh ${D}/init 10 install -m 0755 ${WORKDIR}/init-live.sh ${D}/init