GNU bug report logs - #39308
[PATCH] gnu: Install the udev rules for light to its output.

Previous Next

Package: guix-patches;

Reported by: Amin Bandali <mab <at> gnu.org>

Date: Mon, 27 Jan 2020 14:55:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#39308: closed ([PATCH] gnu: Install the udev rules for light
 to its output.)
Date: Mon, 27 Jan 2020 18:03:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 Jan 2020 20:01:38 +0200
with message-id <20200127180138.GV1603 <at> 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
help-debbugs <at> gnu.org.)


-- 
39308: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39308
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Amin Bandali <mab <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Amin Bandali <mab <at> gnu.org>
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



[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Amin Bandali <mab <at> gnu.org>
Cc: 39308-done <at> debbugs.gnu.org
Subject: Re: [bug#39308] [PATCH] gnu: Install the udev rules for light to its
 output.
Date: Mon, 27 Jan 2020 20:01:38 +0200
[Message part 4 (text/plain, inline)]
Looks good to me! Patch pushed.


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 110 days ago.

Previous Next


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