diff mbox series

[bug#53239] gnu: openocd: Fix udev rules.

Message ID e20eb74025ab7b8cfa19c186b07eba1d619600f0.1642107106.git.jacereda@gmail.com
State New
Headers show
Series [bug#53239] gnu: openocd: Fix udev rules. | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Jorge Acereda Jan. 13, 2022, 8:53 p.m. UTC
* 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(-)

2.34.0

Comments

Maxim Cournoyer Jan. 14, 2022, 3:23 a.m. UTC | #1
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
diff mbox series

Patch

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"))