diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-12-02 14:00:38 +0200 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-12-02 14:00:38 +0200 |
commit | 3cabd6a4603ce0837d70a625b7ec9fb07cd72afe (patch) | |
tree | d032bccf11d5ed4675c7ede964d11ca92e35d117 /packages | |
parent | 54d6feaee525858c0222045530bd873eb227bf5a (diff) |
initramfs-module-kexecboot: Fix kexec argument order so it works for any libc.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/initrdscripts/files/87-kexecboot.sh | 4 | ||||
-rw-r--r-- | packages/initrdscripts/initramfs-module-kexecboot_1.0.bb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/initrdscripts/files/87-kexecboot.sh b/packages/initrdscripts/files/87-kexecboot.sh index 2a51b4d9c8..0d2f040a83 100644 --- a/packages/initrdscripts/files/87-kexecboot.sh +++ b/packages/initrdscripts/files/87-kexecboot.sh @@ -11,9 +11,9 @@ if [ -n "$BOOT_ROOT" -a -f "$BOOT_ROOT/boot/zImage" ]; then ls -l "$BOOT_ROOT/boot/initramfs.bin" initramfs="--initrd=$BOOT_ROOT/boot/initramfs.bin" fi - echo /usr/sbin/kexec -f "$BOOT_ROOT/boot/zImage" $initramfs --command-line="$CMDLINE nokexec" >$CONSOLE + echo /usr/sbin/kexec $initramfs --command-line="$CMDLINE nokexec" -f "$BOOT_ROOT/boot/zImage" >$CONSOLE sleep 10 - /usr/sbin/kexec -f "$BOOT_ROOT/boot/zImage" $initramfs --command-line="$CMDLINE nokexec" + /usr/sbin/kexec $initramfs --command-line="$CMDLINE nokexec" -f "$BOOT_ROOT/boot/zImage" sleep 10000 fi fi diff --git a/packages/initrdscripts/initramfs-module-kexecboot_1.0.bb b/packages/initrdscripts/initramfs-module-kexecboot_1.0.bb index face73038a..3080269920 100644 --- a/packages/initrdscripts/initramfs-module-kexecboot_1.0.bb +++ b/packages/initrdscripts/initramfs-module-kexecboot_1.0.bb @@ -1,5 +1,5 @@ SRC_URI = "file://87-kexecboot.sh" -PR = "r1" +PR = "r2" DESCRIPTION = "An initramfs module for kexecing kernel from rootfs." RDEPENDS = "initramfs-uniboot kexec-static" |