On Tue, Mar 08, 2022 at 08:13:15PM -0600, Nishanth Menon via 
lists.yoctoproject.org wrote:
> Lets create an k3-bootstrap-initrd package that installs the cpio
> generated in the correct locations.

This has k3 in the name - is it really k3-specific? Do you want to set 
COMPATIBLE_MACHINE accordingly?


> Signed-off-by: Nishanth Menon <[email protected]>
> ---
>  .../k3-bootstrap-initrd_1.0.bb                | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 
> meta-arago-distro/recipes-bsp/k3-bootstrap-initrd/k3-bootstrap-initrd_1.0.bb
> 
> diff --git 
> a/meta-arago-distro/recipes-bsp/k3-bootstrap-initrd/k3-bootstrap-initrd_1.0.bb
>  
> b/meta-arago-distro/recipes-bsp/k3-bootstrap-initrd/k3-bootstrap-initrd_1.0.bb
> new file mode 100644
> index 000000000000..452f88a35346
> --- /dev/null
> +++ 
> b/meta-arago-distro/recipes-bsp/k3-bootstrap-initrd/k3-bootstrap-initrd_1.0.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "Prebuilt initramfs with apps for bootstraping new board"
> +
> +LICENSE = "GPLv2"
> +
> +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

-- 
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13623): 
https://lists.yoctoproject.org/g/meta-arago/message/13623
Mute This Topic: https://lists.yoctoproject.org/mt/89653833/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to