Skip to content

Comments

Fix install path of udev rules on linux#179

Merged
Sapd merged 2 commits intoSapd:masterfrom
ianliu:master
Oct 23, 2021
Merged

Fix install path of udev rules on linux#179
Sapd merged 2 commits intoSapd:masterfrom
ianliu:master

Conversation

@ianliu
Copy link
Contributor

@ianliu ianliu commented Oct 20, 2021

The previous install method didn't obey the DESTDIR make variable, used to make packages in a different root tree; it was silently failing to install if no permissions were given.

Also, the install destination was not standard, since packages should place their udev rules at lib/udev/rules.d, while the /etc prefix is reserved for custom system modifications.

This patch fixes both issues.

ianliu and others added 2 commits October 20, 2021 09:35
The previous install method didn't obey the `DESTDIR` make variable,
used to make packages in a different root tree; it was silently
failing to install if no permissions were given.

Also, the install destination was not standard, since packages should
place their udev rules at `lib/udev/rules.d`, while the `/etc` prefix is
reserved for custom system modifications.

This patch fixes both issues.
@Sapd Sapd merged commit 13b420b into Sapd:master Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants