From: Denys Dmytriyenko <denis@denix.org>
To: Nishanth Menon <nm@ti.com>
Cc: reatmon@ti.com, d-gerlach@ti.com, j-humphreys@ti.com,
khilman@ti.com, meta-arago@lists.yoctoproject.org, minas@ti.com,
nikhil.nd@ti.com, praneeth@ti.com, spatton@ti.com
Subject: Re: [master/dunfell PATCH V5 10/12] recipes-bsp: Create a bootstrap-initrd package
Date: Tue, 22 Mar 2022 18:21:54 -0400 [thread overview]
Message-ID: <20220322222154.GU23554@denix.org> (raw)
In-Reply-To: <20220322174808.16341-11-nm@ti.com>
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 <nm@ti.com>
> ---
> Changes since V4: None
>
> V4: https://lore.kernel.org/yocto-meta-arago/20220319123310.8546-11-nm@ti.com/
>
> .../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/20220322162528.15298-7-reatmon@ti.com/
> +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 <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
next prev parent reply other threads:[~2022-03-22 22:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 17:47 [master/dunfell PATCH V5 00/12] recipes-core: Add a bootstrap Linux image Nishanth Menon
2022-03-22 17:47 ` [master/dunfell PATCH V5 01/12] Revert "tisdk-tiny-image: remove packagedata task breaking initramfs packaging" Nishanth Menon
2022-03-22 17:47 ` [master/dunfell PATCH V5 02/12] tisdk-tiny-image: Split common components into include file Nishanth Menon
2022-03-22 17:47 ` [master/dunfell PATCH V5 03/12] tisdk-tiny-image: Add some usability notes Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 04/12] tisdk-base-image: Reformat documentation and clarify usage Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 05/12] tisdk-default-image: " Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 06/12] tisdk-thinlinux-image: Reformat documentation Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 07/12] tisdk-core-bundle: Add documentation to clarify usage Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 08/12] packagegroups: Add a new bootstrap package group Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 09/12] recipes-core: images: Add a basic bootstrap base image Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 10/12] recipes-bsp: Create a bootstrap-initrd package Nishanth Menon
2022-03-22 22:21 ` Denys Dmytriyenko [this message]
2022-03-23 13:10 ` Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 11/12] recipes-core: images: Introduce tisdk-bootstrap-image Nishanth Menon
2022-03-22 17:48 ` [master/dunfell PATCH V5 12/12] images: Build tisdk-bootstrap-image with tisdk-core-bundle Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220322222154.GU23554@denix.org \
--to=denis@denix.org \
--cc=d-gerlach@ti.com \
--cc=j-humphreys@ti.com \
--cc=khilman@ti.com \
--cc=meta-arago@lists.yoctoproject.org \
--cc=minas@ti.com \
--cc=nikhil.nd@ti.com \
--cc=nm@ti.com \
--cc=praneeth@ti.com \
--cc=reatmon@ti.com \
--cc=spatton@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.