diff options
Diffstat (limited to 'meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb')
-rw-r--r-- | meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb index 804ec32350..d8134b228c 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb @@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda SRC_URI = "file://icon.xpm" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" -do_install_prepend () { +do_install:prepend () { echo '# /boot/boot.cfg - KEXECBOOT configuration file. # # First kernel stanza. @@ -19,9 +20,15 @@ LABEL=${KEXECBOOT_LABEL} # Specify full kernel path on target. KERNEL=/boot/${KERNEL_IMAGETYPE} # +# Specify which device tree blob to use +# DTB=/boot/my-own-dtb +# # Append this tags to the kernel cmdline. APPEND=${CMDLINE} ${CMDLINE_DEBUG} # +# Overwrite kernel command line instead of appending to it +# CMDLINE=console=/dev/tty0 root=/dev/sdb1 +# # Specify optional initrd/initramfs. # INITRD=/boot/initramfs.cpio.gz # @@ -49,7 +56,7 @@ do_install () { PACKAGE_ARCH = "${MACHINE_ARCH}" -FILES_${PN} += "/boot/*" +FILES:${PN} += "/boot/*" CMDLINE ?= "" CMDLINE_DEBUG ?= "quiet" |