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 via email to