From cefb9bb3cb800983851a6b69180df6a93e8b14c2 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Sun, 3 Aug 2008 23:58:58 +0000 Subject: kexecboot: fix build of initramfs-kexecboot-image --- packages/kexecboot/initramfs-kexecboot_1.0.bb | 20 ++++++++++++++++++++ packages/kexecboot/initramfs_kexecboot_1.0.bb | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 packages/kexecboot/initramfs-kexecboot_1.0.bb delete mode 100644 packages/kexecboot/initramfs_kexecboot_1.0.bb diff --git a/packages/kexecboot/initramfs-kexecboot_1.0.bb b/packages/kexecboot/initramfs-kexecboot_1.0.bb new file mode 100644 index 0000000000..e1337419b8 --- /dev/null +++ b/packages/kexecboot/initramfs-kexecboot_1.0.bb @@ -0,0 +1,20 @@ +DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it." +PR = "r6" +RDEPENDS = "kexecboot" +do_compile() { + cat > init.sh << EOF +#!/bin/sh +/bin/mount -t proc proc /proc +/usr/bin/kexecboot -a 270 -i /dev/event0 +EOF +} + +do_install() { + install -m 0755 ${S}/init.sh ${D}/init + install -d ${D}/proc + install -d ${D}/mnt +} + +PACKAGE_ARCH = "all" + +FILES_${PN} = "/init /proc /mnt" diff --git a/packages/kexecboot/initramfs_kexecboot_1.0.bb b/packages/kexecboot/initramfs_kexecboot_1.0.bb deleted file mode 100644 index e1337419b8..0000000000 --- a/packages/kexecboot/initramfs_kexecboot_1.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it." -PR = "r6" -RDEPENDS = "kexecboot" -do_compile() { - cat > init.sh << EOF -#!/bin/sh -/bin/mount -t proc proc /proc -/usr/bin/kexecboot -a 270 -i /dev/event0 -EOF -} - -do_install() { - install -m 0755 ${S}/init.sh ${D}/init - install -d ${D}/proc - install -d ${D}/mnt -} - -PACKAGE_ARCH = "all" - -FILES_${PN} = "/init /proc /mnt" -- cgit v1.2.3