Re: [poky] [RFC PATCH] distro/poky: enable minidebuginfo DISTRO_FEATURE

Richard Purdie <[email protected]> Thu, 23 Jul 2026 10:24:03 +0100
Newsgroups org.yoctoproject.lists.poky,org.openembedded.lists.openembedded-core
Message-ID <8492f386f53885c1ceda197e034241b9c9ffab57.camel@linuxfoundation.org>
On Wed, 2026-07-15 at 17:24 +0100, Ross Burton via lists.yoctoproject.org w=
rote:
> Enable the "minidebuginfo" DISTRO_FEATURE in poky builds, so that all
> binaries have just enough debuginfo in them to get a useful stack trace.
>=20
> This aids with debugging occasional failures that hit the autobuilder,
> at minimal cost.=C2=A0 For example, core-image-sato with systemd:
>=20
> =C2=A0 core-image-sato: IMAGESIZE changed from 481532 to 486044 (+1%)
> =C2=A0 glibc: PKGSIZE changed from 3715743 to 3805871 (+2%)
> =C2=A0 sqlite3: PKGSIZE changed from 462840 to 469056 (+1%)
>=20
> Signed-off-by: Ross Burton <[email protected]>
> ---
> =C2=A0meta-poky/conf/distro/poky.conf | 2 +-
> =C2=A01 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky=
.conf
> index 2ba98f4ba2..86576e48a0 100644
> --- a/meta-poky/conf/distro/poky.conf
> +++ b/meta-poky/conf/distro/poky.conf
> @@ -13,7 +13,7 @@ TARGET_VENDOR =3D "-poky"
> =C2=A0LOCALCONF_VERSION =3D "2"
> =C2=A0
> =C2=A0# Override these in poky based distros
> -POKY_DEFAULT_DISTRO_FEATURES =3D ""
> +POKY_DEFAULT_DISTRO_FEATURES =3D "minidebuginfo"
> =C2=A0POKY_DEFAULT_EXTRA_RDEPENDS =3D "packagegroup-core-boot"
> =C2=A0POKY_DEFAULT_EXTRA_RRECOMMENDS =3D "kernel-module-af-packet"

Thinking about this, I think we should do this in core by default,
which will help sstate reuse generally as well.

Cheers,

Richard