Skip to content
Snippets Groups Projects
Commit 90731a68 authored by knopp's avatar knopp Committed by Raphael Defosseux
Browse files

minor modifications for rhel7.7 build

parent f4f0fae0
No related branches found
No related tags found
8 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1093Issue in generating NR PRACH for High Speed case,!1074PBCH test case support for non-zero bchpyload,!918Develop nfapi,!847Nr vcd,!782Oai ubuntu docker,!755Integration develop-nr 2020 week 03
...@@ -103,6 +103,7 @@ check_supported_distribution() { ...@@ -103,6 +103,7 @@ check_supported_distribution() {
"fedora24") return 0 ;; "fedora24") return 0 ;;
"rhel7") return 0 ;; "rhel7") return 0 ;;
"rhel7.6") return 0 ;; "rhel7.6") return 0 ;;
"rhel7.7") return 0 ;;
"centos7") return 0 ;; "centos7") return 0 ;;
esac esac
return 1 return 1
...@@ -319,13 +320,13 @@ install_usrp_uhd_driver() { ...@@ -319,13 +320,13 @@ install_usrp_uhd_driver() {
# quick workaround for RHE7.6 # quick workaround for RHE7.6
local distribution=$(get_distribution_release) local distribution=$(get_distribution_release)
if [ -z $1 ]; then if [ -z $1 ]; then
if [[ "$distribution" == "rhel7.6" ]]; then if [[ "$OS_DISTRO" == "rhel" ]]; then
$SUDO /usr/local/bin/uhd_images_downloader $SUDO /usr/local/bin/uhd_images_downloader
else else
$SUDO uhd_images_downloader $SUDO uhd_images_downloader
fi fi
else else
if [[ "$distribution" == "rhel7.6" ]]; then if [[ "$OS_DISTRO" == "rhel" ]]; then
$SUDO /usr/local/bin/uhd_images_downloader -i $1 $SUDO /usr/local/bin/uhd_images_downloader -i $1
else else
$SUDO uhd_images_downloader -i $1 $SUDO uhd_images_downloader -i $1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment