]> git.openpandora.org Git - openembedded.git/commitdiff
initramfs-module-kexecboot: Fix kexec argument order so it works for any libc.
authorPaul Sokolovsky <pmiscml@gmail.com>
Tue, 2 Dec 2008 12:00:38 +0000 (14:00 +0200)
committerPaul Sokolovsky <pmiscml@gmail.com>
Tue, 2 Dec 2008 12:00:38 +0000 (14:00 +0200)
packages/initrdscripts/files/87-kexecboot.sh
packages/initrdscripts/initramfs-module-kexecboot_1.0.bb

index 2a51b4d9c89d556a6e58db9e0c9cdf4ffdf671b9..0d2f040a836a6526e198fa66e3dd2db15d6da311 100644 (file)
@@ -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
index face73038a113d18c9d03d0cdd9aa5e1b82cf407..3080269920bfed521ec64c22b6bc2c2556746fac 100644 (file)
@@ -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"