[OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image
Burton, Ross
ross.burton at intel.com
Thu Mar 7 09:05:46 UTC 2019
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.chi at 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.chi at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list