meta-ti.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: p-bhagat@ti.com
Cc: meta-ti@lists.yoctoproject.org, praneeth@ti.com, reatmon@ti.com,
	c-shilwant@ti.com, s-adivi@ti.com, khasim@ti.com, g-gupta@ti.com
Subject: Re: [meta-ti] [kirkstone][PATCH] meta-ti-extras: Update jailhouse recipe to delete irrevelant files
Date: Thu, 21 Dec 2023 18:28:47 -0500	[thread overview]
Message-ID: <20231221232847.GL11745@denix.org> (raw)
In-Reply-To: <20231221092215.2598739-1-p-bhagat@ti.com>

"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
> 


      reply	other threads:[~2023-12-21 23:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=20231221232847.GL11745@denix.org \
    --to=denis@denix.org \
    --cc=c-shilwant@ti.com \
    --cc=g-gupta@ti.com \
    --cc=khasim@ti.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=p-bhagat@ti.com \
    --cc=praneeth@ti.com \
    --cc=reatmon@ti.com \
    --cc=s-adivi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).