Lets create an bootstrap-initrd package that installs the cpio generated in the correct locations.
Signed-off-by: Nishanth Menon <[email protected]> --- Changes since V5: Switch from GPLV2 to MIT V5: https://lore.kernel.org/all/[email protected]/ .../bootstrap-initrd/bootstrap-initrd_1.0.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb diff --git a/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb b/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb new file mode 100644 index 000000000000..2b21cf5ca9ee --- /dev/null +++ b/meta-arago-distro/recipes-bsp/bootstrap-initrd/bootstrap-initrd_1.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "Prebuilt initramfs with apps for bootstraping new board" + +LICENSE = "MIT" + +CLEANBROKEN = "1" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +S = "${WORKDIR}" + +BOOSTRAP_IMAGE="tisdk-bootstrap-base-image" + +TARGET = "bootstrap-rootfs-${MACHINE}.cpio" + +do_install() { + install -d ${D}/boot + install -m 0644 ${DEPLOY_DIR_IMAGE}/${BOOSTRAP_IMAGE}-${MACHINE}.cpio ${D}/boot/${TARGET} +} + +FILES_${PN} = "/boot" + +do_install[depends] = "${BOOSTRAP_IMAGE}:do_image_complete" -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13740): https://lists.yoctoproject.org/g/meta-arago/message/13740 Mute This Topic: https://lists.yoctoproject.org/mt/89998943/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
