diff options
Diffstat (limited to 'packages/initrdscripts')
-rw-r--r-- | packages/initrdscripts/initramfs-kexec_1.0.bb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/initrdscripts/initramfs-kexec_1.0.bb b/packages/initrdscripts/initramfs-kexec_1.0.bb deleted file mode 100644 index 1b2ae27cf7..0000000000 --- a/packages/initrdscripts/initramfs-kexec_1.0.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it." -PR = "r6" - -do_compile() { - cat > init.sh << EOF -#!/bin/sh -/bin/mount -t proc proc /proc -/bin/mount -t ${ROOTFS} ${ROOTDEV} /mnt -/usr/sbin/kexec -l /mnt/boot/zImage -/usr/sbin/kexec -e -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" - -ROOTDEV = "/dev/mmcblk0p1" -ROOTFS = "ext2" -#ROOTDEV = "mtd2" -#ROOTFS = "jffs2" |