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"
+
 IMAGE_FSTYPES += "cpio cpio.xz"
 
 IMAGE_INSTALL += " \
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 
849D 1736 249D


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13695): 
https://lists.yoctoproject.org/g/meta-arago/message/13695
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]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to