* [kirkstone][PATCH] meta-ti-extras: Update jailhouse recipe to delete irrevelant files
@ 2023-12-21 9:22 Paresh Bhagat
2023-12-21 23:28 ` [meta-ti] " Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Paresh Bhagat @ 2023-12-21 9:22 UTC (permalink / raw)
To: meta-ti, praneeth, reatmon; +Cc: c-shilwant, s-adivi, khasim, g-gupta
Remove config files from /usr/share/jailhouse as they are not required.
Package only the cell files for respective devices and not all k3 files.
Update FILES:PN to use wildcard.
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
.../recipes-ti/jailhouse/jailhouse_git.bb | 34 +++++--------------
1 file changed, 9 insertions(+), 25 deletions(-)
diff --git a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
index 387b0806..70d6a0b6 100644
--- a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
+++ b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
@@ -46,6 +46,8 @@ INMATES_DIR ?= "${JH_DATADIR}/inmates"
JH_CELL_FILES ?= "*.cell"
JH_CELL_FILES:k3 ?= "k3-*.cell"
+JH_CELL_FILES:am62xx ?= "k3-am625-*.cell"
+JH_CELL_FILES:am62pxx ?= "k3-am62p5-*.cell"
JH_INMATE_DTB ?= ""
JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb"
@@ -147,6 +149,8 @@ do_install() {
chmod +x ${D}${JH_DATADIR}/linux-demo.sh
fi
+ rm ${D}${JH_DATADIR}/root-cell-config.c.tmpl
+ rm ${D}${JH_DATADIR}/jailhouse-config-collect.tmpl
}
PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
@@ -181,30 +185,10 @@ python __anonymous () {
FILES:${PN} = " \
- /boot \
+ /boot/* \
/usr/libexec \
- /usr/sbin/ivshmem-demo \
- /usr/sbin/jailhouse \
- /usr/libexec/jailhouse \
- /usr/libexec/jailhouse/jailhouse-config-check \
- /usr/libexec/jailhouse/jailhouse-config-collect \
- /usr/libexec/jailhouse/jailhouse-hardware-check \
- /usr/libexec/jailhouse/jailhouse-cell-stats \
- /usr/libexec/jailhouse/linux-loader.bin \
- /usr/libexec/jailhouse/jailhouse-cell-linux \
- /usr/libexec/jailhouse/jailhouse-config-create \
- /usr/share/jailhouse \
- /usr/share/jailhouse/linux-demo.sh \
- /usr/share/jailhouse/inmate-k3-am625-sk.dtb \
- /usr/share/jailhouse/inmates \
- /usr/share/jailhouse/cells \
- /usr/share/jailhouse/inmates/gic-demo.bin \
- /usr/share/jailhouse/inmates/ivshmem-demo.bin \
- /usr/share/jailhouse/inmates/uart-demo.bin \
- /usr/share/jailhouse/cells/k3-am625-sk.cell \
- /usr/share/jailhouse/cells/k3-am625-sk-inmate-demo.cell \
- /usr/share/jailhouse/cells/k3-am625-sk-linux-demo.cell \
- /lib/firmware \
- /lib/firmware/jailhouse.bin \
- /boot/tisdk-tiny-image-am62xx-evm.cpio \
+ /usr/sbin/* \
+ /usr/libexec/* \
+ /usr/share/* \
+ /lib/firmware/* \
"
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-ti] [kirkstone][PATCH] meta-ti-extras: Update jailhouse recipe to delete irrevelant files
2023-12-21 9:22 [kirkstone][PATCH] meta-ti-extras: Update jailhouse recipe to delete irrevelant files Paresh Bhagat
@ 2023-12-21 23:28 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2023-12-21 23:28 UTC (permalink / raw)
To: p-bhagat; +Cc: meta-ti, praneeth, reatmon, c-shilwant, s-adivi, khasim, g-gupta
"irrevelant" typo?
On Thu, Dec 21, 2023 at 02:52:15PM +0530, Paresh Bhagat via lists.yoctoproject.org wrote:
> Remove config files from /usr/share/jailhouse as they are not required.
> Package only the cell files for respective devices and not all k3 files.
> Update FILES:PN to use wildcard.
>
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> ---
> .../recipes-ti/jailhouse/jailhouse_git.bb | 34 +++++--------------
> 1 file changed, 9 insertions(+), 25 deletions(-)
>
> diff --git a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
> index 387b0806..70d6a0b6 100644
> --- a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
> +++ b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb
> @@ -46,6 +46,8 @@ INMATES_DIR ?= "${JH_DATADIR}/inmates"
>
> JH_CELL_FILES ?= "*.cell"
> JH_CELL_FILES:k3 ?= "k3-*.cell"
> +JH_CELL_FILES:am62xx ?= "k3-am625-*.cell"
> +JH_CELL_FILES:am62pxx ?= "k3-am62p5-*.cell"
>
> JH_INMATE_DTB ?= ""
> JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb"
> @@ -147,6 +149,8 @@ do_install() {
> chmod +x ${D}${JH_DATADIR}/linux-demo.sh
> fi
>
> + rm ${D}${JH_DATADIR}/root-cell-config.c.tmpl
> + rm ${D}${JH_DATADIR}/jailhouse-config-collect.tmpl
> }
>
> PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
> @@ -181,30 +185,10 @@ python __anonymous () {
>
>
> FILES:${PN} = " \
> - /boot \
> + /boot/* \
> /usr/libexec \
> - /usr/sbin/ivshmem-demo \
> - /usr/sbin/jailhouse \
> - /usr/libexec/jailhouse \
> - /usr/libexec/jailhouse/jailhouse-config-check \
> - /usr/libexec/jailhouse/jailhouse-config-collect \
> - /usr/libexec/jailhouse/jailhouse-hardware-check \
> - /usr/libexec/jailhouse/jailhouse-cell-stats \
> - /usr/libexec/jailhouse/linux-loader.bin \
> - /usr/libexec/jailhouse/jailhouse-cell-linux \
> - /usr/libexec/jailhouse/jailhouse-config-create \
> - /usr/share/jailhouse \
> - /usr/share/jailhouse/linux-demo.sh \
> - /usr/share/jailhouse/inmate-k3-am625-sk.dtb \
> - /usr/share/jailhouse/inmates \
> - /usr/share/jailhouse/cells \
> - /usr/share/jailhouse/inmates/gic-demo.bin \
> - /usr/share/jailhouse/inmates/ivshmem-demo.bin \
> - /usr/share/jailhouse/inmates/uart-demo.bin \
> - /usr/share/jailhouse/cells/k3-am625-sk.cell \
> - /usr/share/jailhouse/cells/k3-am625-sk-inmate-demo.cell \
> - /usr/share/jailhouse/cells/k3-am625-sk-linux-demo.cell \
> - /lib/firmware \
> - /lib/firmware/jailhouse.bin \
> - /boot/tisdk-tiny-image-am62xx-evm.cpio \
> + /usr/sbin/* \
> + /usr/libexec/* \
> + /usr/share/* \
> + /lib/firmware/* \
> "
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-21 23:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-21 9:22 [kirkstone][PATCH] meta-ti-extras: Update jailhouse recipe to delete irrevelant files Paresh Bhagat
2023-12-21 23:28 ` [meta-ti] " Denys Dmytriyenko
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.