guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: grub: Strip debug symbols.


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: grub: Strip debug symbols.
Date: Mon, 20 Sep 2021 05:18:08 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 650e85d  gnu: grub: Strip debug symbols.
650e85d is described below

commit 650e85d85514c5fae06adf97ae615643a41bbbd8
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Mon Sep 20 09:12:01 2021 +0000

    gnu: grub: Strip debug symbols.
    
    This is a follow-up of 71aa29911cf3f4e6db5f9bff9237308b5f93283d. 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.
---
 gnu/packages/bootloaders.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index c0fa16f..cc23d77 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]