mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-08 13:46:39 +02:00
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:
parent
e6643c8048
commit
6b46f5e9d1
@ -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
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user