unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Devaure <ajadevaure@gmail.com>
To: 51086@debbugs.gnu.org
Subject: bug#51086: tlp error in tlp-func-base
Date: Thu, 07 Oct 2021 17:53:23 +0100	[thread overview]
Message-ID: <87r1cwepmd.fsf@gmail.com> (raw)

Hi,
During the system boot, tlp generates an error:
/gnu/store/68mpiffl51mcrss7zy26dnqfx3d5v2vv-tlp-1.4.0/share/tlp/tlp-func-base:
line 528 /usr/share/tlp/bat.d/[0-9][0-9]*[a-z]: No such file or
directory.

It looks that the path to the bat.d directory is not modified during the
package creation. I think that the following patch should fix the
problem:
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 34aba8377f..d673a4f281 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6773,6 +6773,7 @@ interface in sysfs, which can be accomplished with the included udev rules.")
                (setenv "TLP_BIN" (string-append out "/bin"))
                (setenv "TLP_TLIB" (string-append out "/share/tlp"))
                (setenv "TLP_FLIB" (string-append out "/share/tlp/func.d"))
+               (setenv "TLP_BATD" (string-append out "/share/tlp/bat.d"))
                (setenv "TLP_ULIB" (string-append out "/lib/udev"))
                (setenv "TLP_CONFDEF"
                        (string-append out "/share/tlp/defaults.conf"))

Regards,
Alex




             reply	other threads:[~2021-10-08 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07 16:53 Alex Devaure [this message]
2021-10-08 16:44 ` bug#51086: tlp error in tlp-func-base Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1cwepmd.fsf@gmail.com \
    --to=ajadevaure@gmail.com \
    --cc=51086@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).