[oe-commits] Paul Sokolovsky : initramfs-module-kexecboot: Fix kexec argument order so it works for any libc.

GIT User account git at amethyst.openembedded.net
Tue Dec 2 11:59:11 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3cabd6a4603ce0837d70a625b7ec9fb07cd72afe
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3cabd6a4603ce0837d70a625b7ec9fb07cd72afe

Author: Paul Sokolovsky <pmiscml at gmail.com>
Date:   Tue Dec  2 14:00:38 2008 +0200

initramfs-module-kexecboot: Fix kexec argument order so it works for any libc.

---

 packages/initrdscripts/files/87-kexecboot.sh       |    4 ++--
 .../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 2a51b4d..0d2f040 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 face730..3080269 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"
 





More information about the Openembedded-commits mailing list