Wouldn't it be better to add that dependency to the packages which need it?
Ross On Thu, 7 Mar 2019 at 06:53, Zhixiong Chi <zhixiong....@windriver.com> wrote: > > Add the libgcc package into the initramfs image to avoid multithread > function error in the userspace(eg: pthread_cancel). > > Signed-off-by: Zhixiong Chi <zhixiong....@windriver.com> > --- > meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb > b/meta/recipes-core/images/core-image-minimal-initramfs.bb > index 7df8ab1ebd..3cf2c7b01f 100644 > --- a/meta/recipes-core/images/core-image-minimal-initramfs.bb > +++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb > @@ -11,7 +11,7 @@ INITRAMFS_SCRIPTS ?= "\ > initramfs-module-install-efi \ > " > > -PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} udev > base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" > +PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} udev > base-passwd libgcc ${ROOTFS_BOOTSTRAP_INSTALL}" > > # Do not pollute the initrd image with rootfs features > IMAGE_FEATURES = "" > -- > 2.17.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core