diff options
author | Thomas Kunze <thommycheck@gmx.de> | 2008-08-04 13:12:22 +0000 |
---|---|---|
committer | Thomas Kunze <thommycheck@gmx.de> | 2008-08-04 13:12:22 +0000 |
commit | 7efe32a8489c41f1fedb5bcca5b4ffdbc4713359 (patch) | |
tree | 077efcbed5c7e72bb0d6283e517baa28a402f7a4 /packages/kexecboot/initramfs-kexecboot_1.0.bb | |
parent | 2f3a8dec220aeb3c9dcd2b661cda56bb9abdbf6d (diff) |
kexecboot-initramfs: wait some seconds before startup
linux-kexecboot: remove debug output
kexecboot: pass rootdelay to all kernels
Diffstat (limited to 'packages/kexecboot/initramfs-kexecboot_1.0.bb')
-rw-r--r-- | packages/kexecboot/initramfs-kexecboot_1.0.bb | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/packages/kexecboot/initramfs-kexecboot_1.0.bb b/packages/kexecboot/initramfs-kexecboot_1.0.bb index e1337419b8..75fb8e8708 100644 --- a/packages/kexecboot/initramfs-kexecboot_1.0.bb +++ b/packages/kexecboot/initramfs-kexecboot_1.0.bb @@ -1,11 +1,18 @@ DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it." -PR = "r6" -RDEPENDS = "kexecboot" +PR = "r7" +RDEPENDS = "kexecboot klibc-utils-static-mount klibc-utils-static-sh klibc-utils-static-sleep" + +FBANGLE = "270" +INPUTDEV = "/dev/event0" + + do_compile() { cat > init.sh << EOF #!/bin/sh +/bin/sleep 3 /bin/mount -t proc proc /proc -/usr/bin/kexecboot -a 270 -i /dev/event0 +echo "0 4 1 7" > /proc/sys/kernel/printk +/usr/bin/kexecboot -a ${FBANGLE} -i ${INPUTDEV} EOF } |