From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 04:10:49 2020 Received: (at submit) by debbugs.gnu.org; 9 Feb 2020 09:10:49 +0000 Received: from localhost ([127.0.0.1]:52027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0ic4-0000q0-Su for submit@debbugs.gnu.org; Sun, 09 Feb 2020 04:10:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:43303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0ic3-0000pt-QL for submit@debbugs.gnu.org; Sun, 09 Feb 2020 04:10:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0ic2-0006kM-L9 for guix-patches@gnu.org; Sun, 09 Feb 2020 04:10:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0ic1-000184-H1 for guix-patches@gnu.org; Sun, 09 Feb 2020 04:10:46 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j0ic1-000122-BD for guix-patches@gnu.org; Sun, 09 Feb 2020 04:10:45 -0500 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 1C0721C0005 for ; Sun, 9 Feb 2020 09:10:41 +0000 (UTC) From: Brice Waegeneire To: guix-patches@gnu.org Subject: [PATCH] gnu: btrfs-progs: Install udev-rules. Date: Sun, 9 Feb 2020 10:10:39 +0100 Message-Id: <20200209091039.28594-1-brice@waegenei.re> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.197 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/linux.scm (btrfs-progs)[arguments]: Add phase patch-makefile. [native-inputs]: Add lvm2, eudev. --- gnu/packages/linux.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 5535ddf86e..d83297283b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3971,6 +3971,12 @@ and copy/paste text in the console and in xterm.") "static")) ; static versions of the binaries in "out" (arguments '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-makefile + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("\\$\\(DESTDIR\\)\\$\\(udevruledir\\)") + (string-append (assoc-ref outputs "out") + "/lib/udev/rules.d"))))) (add-after 'build 'build-static (lambda _ (invoke "make" "static"))) (add-after 'install 'install-bash-completion @@ -3991,7 +3997,7 @@ and copy/paste text in the console and in xterm.") #:tests? #f ; XXX: require the 'btrfs' kernel module. #:test-target "test" #:parallel-tests? #f)) ; tests fail when run in parallel - (inputs `(("e2fsprogs" ,e2fsprogs) + (inputs `(("e2fsprogs" ,e2fsprogs) ; for btrfs-convert ("libblkid" ,util-linux) ("libblkid:static" ,util-linux "static") ("libuuid" ,util-linux) @@ -4011,6 +4017,8 @@ and copy/paste text in the console and in xterm.") ;; For tests. ("acl" ,acl) ("which" ,which) + ("dmsetup" ,lvm2) + ("udevadm" ,eudev) ;; The tests need 'grep' with perl regexp support. ("grep" ,grep))) (home-page "https://btrfs.wiki.kernel.org/index.php/Main_Page") @@ -5042,6 +5050,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 + `(#:make-flags (list "--with-udev") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "90-backlight.rules" + (("/bin/") "/run/current-system/profile/bin/")) + #t))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake))) -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 04:38:50 2020 Received: (at 39520) by debbugs.gnu.org; 9 Feb 2020 09:38:50 +0000 Received: from localhost ([127.0.0.1]:52070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0j3C-0001aB-40 for submit@debbugs.gnu.org; Sun, 09 Feb 2020 04:38:50 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0j3B-0001a4-6h for 39520@debbugs.gnu.org; Sun, 09 Feb 2020 04:38:49 -0500 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 7FB9560005 for <39520@debbugs.gnu.org>; Sun, 9 Feb 2020 09:38:47 +0000 (UTC) From: Brice Waegeneire To: 39520@debbugs.gnu.org Subject: [PATCH] gnu: btrfs-progs: Install udev-rules. Date: Sun, 9 Feb 2020 10:38:42 +0100 Message-Id: <20200209093842.7882-1-brice@waegenei.re> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39520 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/linux.scm (btrfs-progs)[arguments]: Add phase patch-makefile. [native-inputs]: Add lvm2, eudev. --- gnu/packages/linux.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index d7a984f42d..79430dea3e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4023,6 +4023,12 @@ and copy/paste text in the console and in xterm.") "static")) ; static versions of the binaries in "out" (arguments '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-makefile + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("\\$\\(DESTDIR\\)\\$\\(udevruledir\\)") + (string-append (assoc-ref outputs "out") + "/lib/udev/rules.d"))))) (add-after 'build 'build-static (lambda _ (invoke "make" "static"))) (add-after 'install 'install-bash-completion @@ -4043,7 +4049,7 @@ and copy/paste text in the console and in xterm.") #:tests? #f ; XXX: require the 'btrfs' kernel module. #:test-target "test" #:parallel-tests? #f)) ; tests fail when run in parallel - (inputs `(("e2fsprogs" ,e2fsprogs) + (inputs `(("e2fsprogs" ,e2fsprogs) ; for btrfs-convert ("libblkid" ,util-linux) ("libblkid:static" ,util-linux "static") ("libuuid" ,util-linux) @@ -4063,6 +4069,8 @@ and copy/paste text in the console and in xterm.") ;; For tests. ("acl" ,acl) ("which" ,which) + ("dmsetup" ,lvm2) + ("udevadm" ,eudev) ;; The tests need 'grep' with perl regexp support. ("grep" ,grep))) (home-page "https://btrfs.wiki.kernel.org/index.php/Main_Page") -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 14 16:59:39 2020 Received: (at 39520-done) by debbugs.gnu.org; 14 Feb 2020 21:59:39 +0000 Received: from localhost ([127.0.0.1]:34834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2izr-0007vH-E2 for submit@debbugs.gnu.org; Fri, 14 Feb 2020 16:59:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2izp-0007v5-Kg for 39520-done@debbugs.gnu.org; Fri, 14 Feb 2020 16:59:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2izk-0003EH-1y; Fri, 14 Feb 2020 16:59:32 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44512 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2izi-0007xW-JO; Fri, 14 Feb 2020 16:59:31 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: [bug#39520] [PATCH] gnu: btrfs-progs: Install udev-rules. References: <20200209091039.28594-1-brice@waegenei.re> <20200209093842.7882-1-brice@waegenei.re> Date: Fri, 14 Feb 2020 22:59:28 +0100 In-Reply-To: <20200209093842.7882-1-brice@waegenei.re> (Brice Waegeneire's message of "Sun, 9 Feb 2020 10:38:42 +0100") Message-ID: <87v9o86da7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39520-done Cc: 39520-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Brice Waegeneire skribis: > * gnu/packages/linux.scm (btrfs-progs)[arguments]: Add phase > patch-makefile. > [native-inputs]: Add lvm2, eudev. [...] > + (add-after 'unpack 'patch-makefile > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* "Makefile" > + (("\\$\\(DESTDIR\\)\\$\\(udevruledir\\)") > + (string-append (assoc-ref outputs "out") > + "/lib/udev/rules.d"))))) I added a #t return here and committed. Thanks! Ludo=E2=80=99. From unknown Thu Aug 14 21:56:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Mar 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator