emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#39308: closed ([PATCH] gnu: Install the udev rules for light to its


From: GNU bug Tracking System
Subject: bug#39308: closed ([PATCH] gnu: Install the udev rules for light to its output.)
Date: Mon, 27 Jan 2020 18:03:02 +0000

Your message dated Mon, 27 Jan 2020 20:01:38 +0200
with message-id <20200127180138.GV1603@E5400>
and subject line Re: [bug#39308] [PATCH] gnu: Install the udev rules for light 
to its output.
has caused the debbugs.gnu.org bug report #39308,
regarding [PATCH] gnu: Install the udev rules for light to its output.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
39308: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39308
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Install the udev rules for light to its output. Date: Mon, 27 Jan 2020 09:52:47 -0500
* gnu/packages/linux.scm (light): Add install-udev-rules phase to copy the
90-backlight.rules file from the root of the repository to the special
lib/udev/rules.d/ directory of the out output.
---
 gnu/packages/linux.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9b0dfd8eb7..dfbe2f88bd 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5042,6 +5042,15 @@ monitoring tools for Linux.  These include 
@code{mpstat}, @code{iostat},
         (base32 "0zrjipd392bzjvxx0rjrb0cgi0ix1d83fwgw1mcy8kc4d16cgyjg"))
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-udev-rules
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (install-file
+                "90-backlight.rules" (string-append out "/lib/udev/rules.d"))
+               #t))))))
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)))
-- 
2.25.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#39308] [PATCH] gnu: Install the udev rules for light to its output. Date: Mon, 27 Jan 2020 20:01:38 +0200
Looks good to me! Patch pushed.


-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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