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 <[email protected]> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13696): https://lists.yoctoproject.org/g/meta-arago/message/13696 Mute This Topic: https://lists.yoctoproject.org/mt/89887444/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
