mirror of https://github.com/wb2osz/direwolf.git
This commit is contained in:
parent
0770811047
commit
33beb24fb3
|
@ -25,8 +25,13 @@ string(REGEX REPLACE "^%C%([^\n]*)" "\\1" file_content "${file_content}")
|
||||||
file(WRITE "${CMAKE_BINARY_DIR}/direwolf.conf" "${file_content}")
|
file(WRITE "${CMAKE_BINARY_DIR}/direwolf.conf" "${file_content}")
|
||||||
|
|
||||||
# install udev rules for CM108
|
# install udev rules for CM108
|
||||||
|
# There are two locations. The one in /etc/udev/rules.d is meant for local customization and
|
||||||
|
# takes precedence for the same name.
|
||||||
|
# https://sources.debian.org/src/direwolf/1.7+dfsg-2/debian/patches/lib-udev-rules/
|
||||||
|
# says that we should use the /usr/lib/udev/rules.d location.
|
||||||
if(LINUX)
|
if(LINUX)
|
||||||
install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /etc/udev/rules.d/)
|
#install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /etc/udev/rules.d/)
|
||||||
|
install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /usr/lib/udev/rules.d/)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(FILES "${CMAKE_BINARY_DIR}/direwolf.conf" DESTINATION ${INSTALL_CONF_DIR})
|
install(FILES "${CMAKE_BINARY_DIR}/direwolf.conf" DESTINATION ${INSTALL_CONF_DIR})
|
||||||
|
|
Loading…
Reference in New Issue