aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/redhat
diff options
context:
space:
mode:
authorMatt Reilly <kb1vc@kb1vc.org>2019-01-22 20:58:41 -0500
committerMartin Braun <martin.braun@ettus.com>2019-01-28 14:18:44 +0100
commit1f254f1ce19c4732de9cca8f543a4fb676cdd93d (patch)
tree617523832eed701969925444291d857f69798deb /host/cmake/redhat
parent0ebb4cc18441d335b951973641b6b94cf4a5eff6 (diff)
downloaduhd-1f254f1ce19c4732de9cca8f543a4fb676cdd93d.tar.gz
uhd-1f254f1ce19c4732de9cca8f543a4fb676cdd93d.tar.bz2
uhd-1f254f1ce19c4732de9cca8f543a4fb676cdd93d.zip
cpack: Fix RPM generation
UHDPackage.cmake produced new directory entries ("%dir" directives) for /usr/local and other folders... This produced conflicts with the filesystem package on Fedora 28 (at least). Added set of CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION to the cmake rpm package instructions. This fixes the problem and produces a working rpm for Fedora 28 x86_64. The redhat post_install.in file was referring to the /usr/lib tree, which is now /usr/lib64, so the script failed to install the uhd-usrp.rules. That's been fixed too.
Diffstat (limited to 'host/cmake/redhat')
-rwxr-xr-xhost/cmake/redhat/post_install.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/redhat/post_install.in b/host/cmake/redhat/post_install.in
index d02ba4441..c7820ff98 100755
--- a/host/cmake/redhat/post_install.in
+++ b/host/cmake/redhat/post_install.in
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
-cp @CMAKE_INSTALL_PREFIX@/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
+cp @CMAKE_INSTALL_PREFIX@/lib64/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules
udevadm trigger
ldconfig