GNU bug report logs - #77187
[PATCH] gnu: tlp: Wrap sbin folder

Previous Next

Package: guix-patches;

Reported by: Rutherther <rutherther <at> ditigal.xyz>

Date: Sat, 22 Mar 2025 17:02:02 UTC

Severity: normal

Tags: patch

Done: Ian Eure <ian <at> retrospec.tv>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 77187 in the body.
You can then email your comments to 77187 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org:
bug#77187; Package guix-patches. (Sat, 22 Mar 2025 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rutherther <rutherther <at> ditigal.xyz>:
New bug report received and forwarded. Copy sent to leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org. (Sat, 22 Mar 2025 17:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rutherther <rutherther <at> ditigal.xyz>
To: guix-patches <at> gnu.org
Cc: Rutherther <rutherther <at> ditigal.xyz>
Subject: [PATCH] gnu: tlp: Wrap sbin folder
Date: Sat, 22 Mar 2025 18:00:22 +0100
Seems that tlp recently introduced sbin
folder, this has broken the wrapping for
tlp script. The tlp script can fail in
finding runtime dependencies.

* gnu/packages/linux.scm (tlp): Wrap sbin folder

Change-Id: Id006f21fb42e385dade732b9d237b045f3a863e7
---
 gnu/packages/linux.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b0dc6cbcfd..9bbed7c1df 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8230,7 +8230,9 @@ (define-public tlp
           (add-after 'install 'wrap
             (lambda* (#:key inputs outputs #:allow-other-keys)
               (let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
-                     (bin-files (find-files bin ".*")))
+                     (sbin (string-append (assoc-ref outputs "out") "/sbin"))
+                     (bin-files (find-files bin ".*"))
+                     (sbin-files (find-files sbin ".*")))
                 (define (bin-directory input-name)
                   (let ((p (assoc-ref inputs input-name)))
                     (and p (string-append p "/bin"))))
@@ -8260,7 +8262,7 @@ (define-public tlp
                                                 "pciutils"
                                                 "rfkill"
                                                 "wireless-tools"))))))
-                          bin-files)))))))
+                          (append bin-files sbin-files))))))))
     (home-page "https://linrunner.de/en/tlp/tlp.html")
     (synopsis "Power management tool for Linux")
     (description "TLP is a power management tool for Linux.  It comes with

base-commit: fbfd2b93831978aadbb96f32cafdab997b04c6c6
prerequisite-patch-id: cf473eb15513404ca1d287f5b7eca109c848203c
prerequisite-patch-id: a46e75bdd193acb5e276e0aa31c77197a3254699
-- 
2.49.0




bug closed, send any further explanations to 77187 <at> debbugs.gnu.org and Rutherther <rutherther <at> ditigal.xyz> Request was from Ian Eure <ian <at> retrospec.tv> to control <at> debbugs.gnu.org. (Sat, 22 Mar 2025 17:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 20 Apr 2025 11:24:36 GMT) Full text and rfc822 format available.

This bug report was last modified 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.