On Tue, Mar 22, 2022 at 12:48:06PM -0500, Nishanth Menon wrote:
> Lets create an bootstrap-initrd package that installs the cpio
> generated in the correct locations.
> 
> Signed-off-by: Nishanth Menon <[email protected]>
> ---
> Changes since V4: None
> 
> V4: https://lore.kernel.org/yocto-meta-arago/[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..2a53efcd9062
> --- /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 = "GPLv2"

I was wondering about the same question I raised in another thread about the 
license[1]:

Default license for OpenEmbedded metadata is MIT, not GPLv2. Any specific 
reason for the change?

[1] 
https://patchwork.yoctoproject.org/project/ti/patch/[email protected]/


> +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 (#13720): 
https://lists.yoctoproject.org/g/meta-arago/message/13720
Mute This Topic: https://lists.yoctoproject.org/mt/89957987/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to