diff mbox series

[RFC] distro/poky: enable minidebuginfo DISTRO_FEATURE

Message ID 20260715162410.639632-1-ross.burton@arm.com (mailing list archive)
State New
Headers show
Series [RFC] distro/poky: enable minidebuginfo DISTRO_FEATURE | expand

Commit Message

Ross Burton July 15, 2026, 4:24 p.m. UTC
Enable the "minidebuginfo" DISTRO_FEATURE in poky builds, so that all
binaries have just enough debuginfo in them to get a useful stack trace.

This aids with debugging occasional failures that hit the autobuilder,
at minimal cost.  For example, core-image-sato with systemd:

  core-image-sato: IMAGESIZE changed from 481532 to 486044 (+1%)
  glibc: PKGSIZE changed from 3715743 to 3805871 (+2%)
  sqlite3: PKGSIZE changed from 462840 to 469056 (+1%)

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Purdie July 23, 2026, 9:24 a.m. UTC | #1
On Wed, 2026-07-15 at 17:24 +0100, Ross Burton via lists.yoctoproject.org wrote:
> Enable the "minidebuginfo" DISTRO_FEATURE in poky builds, so that all
> binaries have just enough debuginfo in them to get a useful stack trace.
> 
> This aids with debugging occasional failures that hit the autobuilder,
> at minimal cost.  For example, core-image-sato with systemd:
> 
>   core-image-sato: IMAGESIZE changed from 481532 to 486044 (+1%)
>   glibc: PKGSIZE changed from 3715743 to 3805871 (+2%)
>   sqlite3: PKGSIZE changed from 462840 to 469056 (+1%)
> 
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  meta-poky/conf/distro/poky.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 = "-poky"
>  LOCALCONF_VERSION = "2"
>  
>  # Override these in poky based distros
> -POKY_DEFAULT_DISTRO_FEATURES = ""
> +POKY_DEFAULT_DISTRO_FEATURES = "minidebuginfo"
>  POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
>  POKY_DEFAULT_EXTRA_RRECOMMENDS = "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
diff mbox series

Patch

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 = "-poky"
 LOCALCONF_VERSION = "2"
 
 # Override these in poky based distros
-POKY_DEFAULT_DISTRO_FEATURES = ""
+POKY_DEFAULT_DISTRO_FEATURES = "minidebuginfo"
 POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
 POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"