Bug#820802: dahdi-firmware-nonfree: get-digium-firmware fails

Bertrand LUPART bertrand.lupart at free.fr
Tue Apr 12 13:30:14 UTC 2016


Package: dahdi-firmware-nonfree
Version: 2.10.0-1
Severity: important
Tags: patch

Hello,


get_digium_firmware fails with the following error :

$ sudo /usr/share/dahdi/get-digium-firmware 
make: Entering directory '/var/lib/dahdi/digium-firm'
make: ../../../build_tools/install_firmware: Command not found
Makefile:132: recipe for target 'hotplug-install' failed
make: *** [hotplug-install] Error 127
make: Leaving directory '/var/lib/dahdi/digium-firm'


Applying the following patch seems to do the trick :

/var/lib/dahdi/digium-firm$ diff -u Makefile.2016041200 Makefile
--- Makefile.2016041200	2014-08-13 16:15:11.000000000 -0400
+++ Makefile	2016-04-12 09:12:37.695628655 -0400
@@ -84,7 +84,7 @@
 # Force usage of wget, for now
 DOWNLOAD=wget
 WGET=wget
-INSTALL_FIRMWARE=../../../build_tools/install_firmware
+INSTALL_FIRMWARE=/usr/src/modules/dahdi/build_tools/install_firmware
 RUN_INST=$(INSTALL_FIRMWARE) $(1) $(2) $(DESTDIR)
 
 # If "fetch" is used, --continue is not a valid option.


$ sudo /usr/share/dahdi/get-digium-firmware 
make: Entering directory '/var/lib/dahdi/digium-firm'
Installing dahdi-fw-oct6114-032.bin to /lib/firmware
Installing dahdi-fw-oct6114-064.bin to /lib/firmware
Installing dahdi-fw-oct6114-128.bin to /lib/firmware
Installing dahdi-fw-oct6114-256.bin to /lib/firmware
Installing dahdi-fw-tc400m.bin to /lib/firmware
Installing dahdi-fw-hx8.bin to /lib/firmware
Installing dahdi-fw-vpmoct032.bin to /lib/firmware
Installing dahdi-fw-te820.bin to /lib/firmware
Installing dahdi-fw-te133.bin to /lib/firmware
Installing dahdi-fw-te134.bin to /lib/firmware
Installing dahdi-fw-te435.bin to /lib/firmware
Installing dahdi-fw-te436.bin to /lib/firmware
Installing dahdi-fw-a8a.bin to /lib/firmware
Installing dahdi-fw-a8b.bin to /lib/firmware
Installing dahdi-fw-a4a.bin to /lib/firmware
Installing dahdi-fw-a4b.bin to /lib/firmware
make: Leaving directory '/var/lib/dahdi/digium-firm'
$ echo $?
0


Greetings,


-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
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
Init: systemd (via /run/systemd/system)

-- no debconf information



More information about the Pkg-voip-maintainers mailing list