Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
sys-kernel/coreos-module: use strip-debug instead of strip-unneeded
Browse files Browse the repository at this point in the history
With `--strip-unneeded` some static symbols are also stripped from modules, making stacktraces
incomplete, and making it harder to debug kernel issues. Switch to the default setting of
`--strip-debug`, which keeps symbols intact and does not appear to lead to a measurable
size increase of the /usr partition.
  • Loading branch information
jepio authored Sep 29, 2022
1 parent 2f6a980 commit 2fa703f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys-kernel/coreos-modules/coreos-modules-5.15.70.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ src_install() {
# The linux-firmware package will be used instead.
# Stripping must be done here, not portage, to preserve sigs.
kmake INSTALL_MOD_PATH="${D}/usr" \
INSTALL_MOD_STRIP="--strip-unneeded" \
INSTALL_MOD_STRIP="--strip-debug" \
INSTALL_FW_PATH="${T}/fw" \
modules_install

Expand Down

0 comments on commit 2fa703f

Please sign in to comment.