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

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 13 Jan 2022 22:23:40 -0500

Hi Jorge!

Jorge Acereda <[email-masked]> 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