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

Fix make package #460

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Fix make package #460

wants to merge 1 commit into from

Conversation

dforsi
Copy link
Contributor

@dforsi dforsi commented Apr 1, 2023

This PR allows the execution of make package as an ordinary user and prevents the overwriting of a system file.

Fixes:
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: direwolf
CPack: - Install project: direwolf []
CMake Error at .../build/conf/cmake_install.cmake:54 (file):
  file INSTALL cannot copy file
  ".../conf/99-direwolf-cmedia.rules"
  to "/etc/udev/rules.d/99-direwolf-cmedia.rules": Permission denied.
Call Stack (most recent call first):
  .../build/cmake_install.cmake:74 (include)

CPack Error: Error when generating package: direwolf
make: *** [Makefile:71: package] Errore 1
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.

None yet

1 participant