--- Begin Message ---
Subject: |
[PATCH] gnu: openocd: Fix udev rules. |
Date: |
Thu, 13 Jan 2022 21:53:14 +0100 |
* gnu/packages/embedded.scm (openocd)[arguments]<#:phases>[change-udev-group]:
Fix plugdev->dialout group replacement.
---
gnu/packages/embedded.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index ea1a585f0f..b33a23e9cb 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -618,7 +618,7 @@ (define-public openocd
(("-DPKGBLDDATE=") "-DDISABLED_PKGBLDDATE="))
(patch-shebang "bootstrap")
(invoke "./bootstrap" "nosubmodule")))
- (add-after 'autoreconf 'change-udev-group
+ (add-after 'unpack 'change-udev-group
(lambda _
(substitute* "contrib/60-openocd.rules"
(("plugdev") "dialout"))
2.34.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#53239: [PATCH] gnu: openocd: Fix udev rules. |
Date: |
Thu, 13 Jan 2022 22:23:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Jorge!
Jorge Acereda <jacereda@gmail.com> writes:
> * gnu/packages/embedded.scm (openocd)[arguments]<#:phases>[change-udev-group]:
> Fix plugdev->dialout group replacement.
> ---
> gnu/packages/embedded.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
> index ea1a585f0f..b33a23e9cb 100644
> --- a/gnu/packages/embedded.scm
> +++ b/gnu/packages/embedded.scm
> @@ -618,7 +618,7 @@ (define-public openocd
> (("-DPKGBLDDATE=") "-DDISABLED_PKGBLDDATE="))
> (patch-shebang "bootstrap")
> (invoke "./bootstrap" "nosubmodule")))
> - (add-after 'autoreconf 'change-udev-group
> + (add-after 'unpack 'change-udev-group
> (lambda _
> (substitute* "contrib/60-openocd.rules"
> (("plugdev") "dialout"))
> 2.34.0
Good catch! I've deleted the phases trailing #t, normalized the commit
message a bit, and pushed as 1e8b999717.
Thank you!
Maxim
--- End Message ---