From d32cf515b01244d75b29bfd7ea6272d3414d9f62 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Thu, 26 Mar 2026 13:15:38 +0000 Subject: [PATCH] overlay profiles: Drop /usr/lib/debug/.build-id from INSTALL_MASK A recent Portage fix should avoid any collisions by salting the debug files with the package name and version. The fix inadvertently broke the debuglink CRC, which gdb checks, but this went unnoticed in Gentoo because gdb prefers looking up symbols with the build-id instead. However, this was noticed in Flatcar because of the INSTALL_MASK! This has now also been fixed in Gentoo. We can drop the INSTALL_MASK now to rely on the build-id instead of the debuglink. Signed-off-by: James Le Cuirot --- .../coreos-overlay/profiles/coreos/base/make.defaults | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults index 60494bf9f2..34e2a6cbbb 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults @@ -91,13 +91,11 @@ CONFIG_PROTECT=" # Remove libtool .la files for non-plugin libraries. # Remove Gentoo init files since we use systemd. -# Remove build-id, there is some issue with it causing collisions. # Remove default files from sys-power/acpid. # Do not install default repos.conf, we always put repository configuration in /etc. INSTALL_MASK=" /usr/lib*/*.la /etc/init.d /etc/conf.d /etc/user/conf.d /etc/user/init.d - /usr/lib/debug/.build-id /etc/acpi /usr/share/portage/config/repos.conf "