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 been fixed in Gentoo, pending a new Portage release. We can drop
the INSTALL_MASK now to rely on the build-id instead of the debuglink.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2026-03-26 13:15:38 +00:00
parent e6643c8048
commit 6b46f5e9d1
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -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
"