Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udev rules installing to wrong directory #966

Closed
spetroce opened this issue May 27, 2020 · 2 comments
Closed

udev rules installing to wrong directory #966

spetroce opened this issue May 27, 2020 · 2 comments

Comments

@spetroce
Copy link

Thank you for giving feedback to the stlink project.

In order to allow developers and other contributors to isolate and target your respective issue, please take some time to fill out each of the following items appropriate to your specific problem:

  • Programmer/board type: NUCLEO-H745ZI-Q with STLINK-V3
  • Programmer firmware version: link007_V2-36-26
  • Operating system and version: Fedora 31
  • Stlink tools version and/or git commit hash: fd856dd
  • Stlink commandline tool name: st-flash
  • Target chip (and board if applicable): STM32-H745

Futher we kindly ask you to describe the detected problem as detailed as possible and to add debug output if available, by using the following template:

Commandline-Output:

-- Installing: /usr/local/etc/stlink/udev/rules.d/49-stlinkv1.rules
-- Installing: /usr/local/etc/stlink/udev/rules.d/49-stlinkv2-1.rules
-- Installing: /usr/local/etc/stlink/udev/rules.d/49-stlinkv2.rules
-- Installing: /usr/local/etc/stlink/udev/rules.d/49-stlinkv3.rules

Expected/description:

During the installation, the etc directory is being prefixed with the default system wide installation directory. Should be the following:

-- Installing: /etc/stlink/udev/rules.d/49-stlinkv1.rules
-- Installing: /etc/stlink/udev/rules.d/49-stlinkv2-1.rules
-- Installing: /etc/stlink/udev/rules.d/49-stlinkv2.rules
-- Installing: /etc/stlink/udev/rules.d/49-stlinkv3.rules

NOTICE: This bug report may be closed without further notice, if not enough information is provided!

Thank you for your support.

The stlink project maintainers

@Nightwalker-87
Copy link
Member

Nightwalker-87 commented May 27, 2020

Yes, that is indeed an issue, but installation should go to /etc/udev/rules.d/ actually.

@Nightwalker-87 Nightwalker-87 added this to the v1.6.1 milestone May 27, 2020
@Nightwalker-87 Nightwalker-87 added this to To do in Release v1.6.1 via automation May 27, 2020
@Nightwalker-87 Nightwalker-87 self-assigned this May 27, 2020
Release v1.6.1 automation moved this from To do to Done May 27, 2020
@Nightwalker-87
Copy link
Member

Related to #557.

@stlink-org stlink-org locked as resolved and limited conversation to collaborators Jun 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants