From 7142e31d566a965addacdd794c7a1b59fb99fb08 Mon Sep 17 00:00:00 2001 From: Keukhan Date: Fri, 6 Dec 2024 13:40:26 +0900 Subject: [PATCH] Fixed permission issues when registering a repository --- misc/install_xma_driver.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/install_xma_driver.sh b/misc/install_xma_driver.sh index 0f5d5e830..e9c49d1f4 100755 --- a/misc/install_xma_driver.sh +++ b/misc/install_xma_driver.sh @@ -75,9 +75,10 @@ install_videosdk_ubuntu() # https://xilinx.github.io/video-sdk/v3.0/package_feed.html CODE_NAME=$(lsb_release -c -s) # Official repository - sudo echo deb [trusted=yes] https://packages.xilinx.com/artifactory/debian-packages ${CODE_NAME} main > /etc/apt/sources.list.d/xilinx.list + echo "deb [trusted=yes] https://packages.xilinx.com/artifactory/debian-packages ${CODE_NAME} main" | sudo tee /etc/apt/sources.list.d/xilinx.list # Mirror repository - # sudo echo deb [trusted=yes] http://xilinx-repo-mirror.ovenmediaengine.com/artifactory/debian-packages ${CODE_NAME} main > /etc/apt/sources.list.d/xilinx-mirror.list + # echo "deb [trusted=yes] http://xilinx-repo-mirror.ovenmediaengine.com/artifactory/debian-packages ${CODE_NAME} main" | sudo tee /etc/apt/sources.list.d/xilinx.list + # Remove older versions of the Xilinx Video SDK sudo apt-get -y remove xvbm xilinx-u30-xvbm xrmu30decoder xrmu30scaler xrmu30encoder xmpsoccodecs xmultiscaler xlookahead xmaapps xmapropstojson xffmpeg launcher jobslotreservation xcdr