Source: uhd
Version: 3.7.3-1
Severity: normal
Tags: patch

Dear Maintainer,

If the images (fpga/firmware) have not been downloaded when starting
some uhd commands that need to reach the USRP, it is suggested to run
uhd_images_downloader.py, but the path which is displayed is wrong.
It may lead to some frustration because one may quickly waste some time
to get the USRP up running the first time.


This patch fixes it:

Description: When the images cannot be found, a command is suggested,
 but the path to this command is wrong which leads to some frustration.
 This patch fixes this. 
Author: Ruben Undheim
Forwarded: does not make sense

--- uhd-3.7.3.orig/host/lib/utils/images.cpp
+++ uhd-3.7.3/host/lib/utils/images.cpp
@@ -42,7 +42,7 @@ std::string uhd::find_image_path(const s
 }
 
 std::string uhd::find_images_downloader(void){
-    return fs::path(fs::path(uhd::get_pkg_path()) / UHD_LIB_DIR / "uhd" / 
"utils" / "uhd_images_downloader.py").string();
+    return fs::path(fs::path(uhd::get_pkg_path()) / "lib" / "uhd" / "utils" / 
"uhd_images_downloader.py").string();
 }
 
 std::string uhd::print_images_error(void){


END PATCH

Best regards,
Ruben Undheim



-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to