From: "Nishanth Menon" <nm@ti.com>
To: Denys Dmytriyenko <denis@denix.org>, Ryan Eatmon <reatmon@ti.com>
Cc: Dave Gerlach <d-gerlach@ti.com>,
"Humphreys, Jonathan" <j-humphreys@ti.com>, <praneeth@ti.com>,
<minas@ti.com>, "Hilman, Kevin" <khilman@ti.com>,
"Patton, Schuyler" <spatton@ti.com>,
"Devshatwar, Nikhil" <nikhil.nd@ti.com>,
<meta-arago@lists.yoctoproject.org>, Nishanth Menon <nm@ti.com>
Subject: [dunfell/master PATCH 5/6] recipes-bsp: Create a k3-bootstrap-initrd package
Date: Tue, 8 Mar 2022 20:13:15 -0600 [thread overview]
Message-ID: <20220309021316.28370-6-nm@ti.com> (raw)
In-Reply-To: <20220309021316.28370-1-nm@ti.com>
Lets create an k3-bootstrap-initrd package that installs the cpio
generated in the correct locations.
Signed-off-by: Nishanth Menon <nm@ti.com>
---
.../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
next prev parent reply other threads:[~2022-03-09 2:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-09 2:13 [dunfell/master PATCH 0/6] recipes-core: Lets add a bootstrap Linux image Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 1/6] tisdk-tiny-image: Split common components into include file Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 2/6] tisdk-tiny-image: Add some usability notes Nishanth Menon
2022-03-11 17:38 ` Denys Dmytriyenko
2022-03-18 12:34 ` Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 3/6] packagegroups: Add a new bootstrap package group Nishanth Menon
2022-03-11 17:43 ` [meta-arago] " Denys Dmytriyenko
2022-03-11 17:43 ` Denys Dmytriyenko
2022-03-18 12:35 ` Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 4/6] recipes-core: images: Add a basic bootstrap base image Nishanth Menon
2022-03-11 17:53 ` Denys Dmytriyenko
2022-03-18 12:36 ` Nishanth Menon
[not found] ` <16DB65153852778E.24530@lists.yoctoproject.org>
2022-03-11 18:18 ` [meta-arago] " Denys Dmytriyenko
2022-03-18 12:38 ` Nishanth Menon
2022-03-09 2:13 ` Nishanth Menon [this message]
2022-03-11 18:06 ` [meta-arago] [dunfell/master PATCH 5/6] recipes-bsp: Create a k3-bootstrap-initrd package Denys Dmytriyenko
2022-03-18 12:37 ` Nishanth Menon
2022-03-09 2:13 ` [dunfell/master PATCH 6/6] recipes-core: images: Introduce tisdk-bootstrap-image Nishanth Menon
2022-03-11 21:34 ` [meta-arago] " Denys Dmytriyenko
2022-03-18 12:39 ` 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=20220309021316.28370-6-nm@ti.com \
--to=nm@ti.com \
--cc=d-gerlach@ti.com \
--cc=denis@denix.org \
--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=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.