me
/
guix
Archived
1
0
Fork 0

gnu: grub: Strip debug symbols.

This is a follow-up of 71aa29911c. Grub does not
support modules stripped with --strip-unneeded but supports the --strip-debug
option.

* gnu/packages/bootloaders.scm (grub)[arguments]<#:strip-binaries>: Set to
true and use ...
<#:strip-flags>: ... to pass --strip-debug instead of --strip-unneeded.
master
Mathieu Othacehe 2021-09-20 09:12:01 +00:00
parent b452fe87e0
commit 650e85d855
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@
;; calling the true binary instead. Python is only needed during
;; bootstrapping (for genptl.py), not when building from a release.
(list "PYTHON=true")
;; Grub fails to load stripped modules.
#:strip-binaries? #f
;; Grub fails to load modules stripped with --strip-unneeded.
#:strip-flags '("--strip-debug" "--enable-deterministic-archives")
#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-stuff
(lambda* (#:key native-inputs inputs #:allow-other-keys)