kexecboot_cfg: fix against unwanted appendings to boot.cfg
PATCH 1/3 kexecboot_cfg: fix against unwanted appendings to boot.cfg
Signed-off-by Andrea Adami <[email protected]>
--- meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb +5 -2
@@ -21,8 +21,11 @@ do_configure_prepend () { } do_install_prepend () { -echo '# First kernel stanza. +echo '# /boot/boot.cfg - KEXECBOOT configuration file. +# +# First kernel stanza. # Show this label in kexecboot menu. +# LABEL=${KEXECBOOT_LABEL} # # Specify full kernel path on target.
@@ -48,7 +51,7 @@ APPEND=${CMDLINE} ${CMDLINE_DEBUG} # LABEL=${KEXECBOOT_LABEL}-test # KERNEL=/boot/${KERNEL_IMAGETYPE}-test # APPEND=${CMDLINE} -#' >> ${S}/boot.cfg +#' > ${S}/boot.cfg } do_install () {
Signature · 1 line
1.8.1.5
PATCH 2/3 linux-yocto-tiny-kexecboot: repair after changes in kernel.bbclass
Add INITRAMFS_TASK to build the cpio on first run and exclude the packaging tasks to avoid the expected errors about modules_split and packaging. The recipe doesn't create any package.
Signed-off-by Andrea Adami <[email protected]>
--- .../recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb | 8 ++++++++ 1 file changed, 8 insertions(+)
meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb +8 -0
@@ -8,6 +8,8 @@ KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${PV}-${PR}-$ KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}" INITRAMFS_IMAGE = "initramfs-kexecboot-klibc-image" +INITRAMFS_TASK = "initramfs-kexecboot-klibc-image:do_rootfs" + do_populate_sysroot() { :
@@ -16,3 +18,9 @@ do_populate_sysroot() { do_install() { : } + +do_package() { +} + +do_package_ipk() { +}
Signature · 1 line
1.8.1.5
PATCH 3/3 linux-yocto-tiny-kexecboot: move from 3.8 to 3.10
In reply to Andrea AdamiSigned-off-by Andrea Adami <[email protected]>
---
...x-yocto-tiny-kexecboot_3.8.bb => linux-yocto-tiny-kexecboot_3.10.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-initramfs/recipes-kernel/linux/{linux-yocto-tiny-kexecboot_3.8.bb => linux-yocto-tiny-kexecboot_3.10.bb} (90%)meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb renamed from meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.8.bb +1 -1
@@ -1,4 +1,4 @@ -require recipes-kernel/linux/linux-yocto-tiny_3.8.bb +require recipes-kernel/linux/linux-yocto-tiny_3.10.bb SUMMARY = "Yocto tiny kernel embedding a minimalistic kexecboot initramfs" PACKAGES = ""
Signature · 1 line
1.8.1.5