meta-arago.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
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: [meta-arago] [master/dunfell PATCH V4 12/12] images: Build tisdk-bootstrap-image with tisdk-core-bundle
Date: Tue, 22 Mar 2022 13:35:54 -0400	[thread overview]
Message-ID: <20220322173554.GK23554@denix.org> (raw)
In-Reply-To: <20220322134750.4tragiw5vpxdxko7@outrank>

On Tue, Mar 22, 2022 at 08:47:50AM -0500, Nishanth Menon wrote:
> On 07:44-20220322, Nishanth Menon via lists.yoctoproject.org wrote:
> > On 00:55-20220322, Denys Dmytriyenko wrote:
> > > On Sat, Mar 19, 2022 at 07:33:10AM -0500, Nishanth Menon wrote:
> > > > Add tisdk-bootstrap-image to the list of TARGET_IMAGES for
> > > > tisdk-core-bundle.
> > > 
> > > I just realized - this won't work (and the patch hasn't been tested).
> > > 
> > > As you can see, there was no tiny image in this list. The reason is that tiny 
> > > image has package management disabled for additional size savings, but that 
> > > also breaks the way SDK installer bundle gets processed for the SW manifest. 
> > > That means any other images that are based on tiny or that disable package 
> > > management, cannot be listed in TARGET_IMAGES of the SDK installer bundle.
> > 
> > 
> > I think you mean IMAGE_FEATURES_remove = "package-management" in
> > tiny-image.inc
> > 
> > I did do MACHINE=xxx bitbake tisdk-core-bundle, but I did'nt wait for it
> > to complete (got to 99%).
> > 
> > I also do see ipks in build/arago-tmp-external-arm-glibc/deploy/ipk/all
> > and in build/arago-tmp-external-arm-glibc/deploy/ipk/aarch64/
> > 
> > During the build, I did notice:
> > WARNING: bootstrap-initrd-1.0-r0 do_package: Manifest /workdir/pub-sdk/oe-layersetup/build/arago-tmp-external-arm-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-tisdk-bootstrap-base-image.packagedata not found in j7_evm aarch64 allarch x86_64_x86_64-nativesdk (variant '')?
> > 
> > And once I waited for the complete build, I got this:
> > https://gist.github.com/nmenon/3ef33a14df77d9c7869f4c87fcfbc990
> > 
> > I guess I have to see how to introduce packagemanagement back in for
> > bootstrap image?
> > 
> 
> Denys: This seems to resolve the build error..  Thoughts?
> 
> diff --git a/meta-arago-distro/recipes-core/images/arago-tiny-image.inc b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc
> index 79c8f6075911..958dd8bb9399 100644
> --- a/meta-arago-distro/recipes-core/images/arago-tiny-image.inc
> +++ b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc
> @@ -2,7 +2,7 @@ ARAGO_SYSVINIT = "1"
>  
>  require arago-image.inc
>  
> -IMAGE_FEATURES_remove = "package-management splash"
> +IMAGE_FEATURES_remove = "splash"
>  
>  IMAGE_INSTALL = " \
>  	packagegroup-arago-sysvinit-boot \
> diff --git a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb
> index 210bc32444f9..528efa2746b4 100644
> --- a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb
> +++ b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb
> @@ -12,6 +12,8 @@ ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= ""
>  
>  require arago-tiny-image.inc
>  
> +IMAGE_FEATURES_remove += "package-management"

s/+=/=/


> +
>  IMAGE_FSTYPES += "cpio cpio.xz"
>  
>  IMAGE_INSTALL += " \

Yeah, this should work.


-- 
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964


  reply	other threads:[~2022-03-22 17:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-19 12:32 [master/dunfell PATCH V4 00/12] recipes-core: Add a bootstrap Linux image Nishanth Menon
2022-03-19 12:32 ` [master/dunfell PATCH V4 01/12] Revert "tisdk-tiny-image: remove packagedata task breaking initramfs packaging" Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 02/12] tisdk-tiny-image: Split common components into include file Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 03/12] tisdk-tiny-image: Add some usability notes Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 04/12] tisdk-base-image: Reformat documentation and clarify usage Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 05/12] tisdk-default-image: " Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 06/12] tisdk-thinlinux-image: Reformat documentation Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 07/12] tisdk-core-bundle: Add documentation to clarify usage Nishanth Menon
2022-03-22 12:18   ` Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 08/12] packagegroups: Add a new bootstrap package group Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 09/12] recipes-core: images: Add a basic bootstrap base image Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 10/12] recipes-bsp: Create a bootstrap-initrd package Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 11/12] recipes-core: images: Introduce tisdk-bootstrap-image Nishanth Menon
2022-03-19 12:33 ` [master/dunfell PATCH V4 12/12] images: Build tisdk-bootstrap-image with tisdk-core-bundle Nishanth Menon
2022-03-22  4:55   ` Denys Dmytriyenko
2022-03-22 12:44     ` Nishanth Menon
     [not found]     ` <16DEB49A300B0672.26416@lists.yoctoproject.org>
2022-03-22 13:47       ` [meta-arago] " Nishanth Menon
2022-03-22 17:35         ` Denys Dmytriyenko [this message]
2022-03-22  4:48 ` [master/dunfell PATCH V4 00/12] recipes-core: Add a bootstrap Linux image Denys Dmytriyenko

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=20220322173554.GK23554@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 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 NNTP newsgroup(s).