From dacbabee0e8c090ca6879554cae23bc2183a7d02 Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Tue, 16 Jan 2018 10:07:18 +0100 Subject: [PATCH] Add role to download and install firmware files --- Manual.org | 20 ++++++++++++++++++++ roles/autoinstall-firmware/tasks/main.yml | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 roles/autoinstall-firmware/tasks/main.yml diff --git a/Manual.org b/Manual.org index a2063d7..cdbf0f0 100644 --- a/Manual.org +++ b/Manual.org @@ -3808,6 +3808,26 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip when: '"0070:4000" in pci or "4444:0016" in pci' notify: [ 'Restart VDR' ] #+END_SRC +** autoinstall-firmware +#+BEGIN_SRC yaml :tangle roles/autoinstall-firmware/tasks/main.yml :padline no +--- + +# This role provides easyily downloadable firmware files + +- name: Firmware for Hauppauge WinTV HD Solo/Duo, PCTV 292e + get_url: + url: https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-demod-si2168-b40-01.fw + checksum: sha256:8507536630d75a316d0719d6b95c04b90c36baa5b457ad457c9bacadafcef134 + dest: /lib/firmware/dvb-demod-si2168-b40-01.fw + when: '"2040:0264" in usb or "2013:025f" in usb' + +- name: Firmware for Hauppauge WinTV-HVR-930C + get_url: + url: https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-fe-xc5000-1.6.114.fw + checksum: sha256:7104bda8df301fe1bd4c09de1708aeb6d0d8e1f9d55505449fecfad82639235f + dest: /lib/firmware/dvb-fe-xc5000-1.6.114.fw + when: '"2040:1605" in usb' +#+END_SRC ** autoinstall-dvbsky-firmware *** defaults #+INCLUDE: "roles/autoinstall-dvbsky-firmware/defaults/main.yml" src yaml diff --git a/roles/autoinstall-firmware/tasks/main.yml b/roles/autoinstall-firmware/tasks/main.yml new file mode 100644 index 0000000..c0de959 --- /dev/null +++ b/roles/autoinstall-firmware/tasks/main.yml @@ -0,0 +1,17 @@ +--- + +# This role provides easyily downloadable firmware files + +- name: Firmware for Hauppauge WinTV HD Solo/Duo, PCTV 292e + get_url: + url: https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-demod-si2168-b40-01.fw + checksum: sha256:8507536630d75a316d0719d6b95c04b90c36baa5b457ad457c9bacadafcef134 + dest: /lib/firmware/dvb-demod-si2168-b40-01.fw + when: '"2040:0264" in usb or "2013:025f" in usb' + +- name: Firmware for Hauppauge WinTV-HVR-930C + get_url: + url: https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-fe-xc5000-1.6.114.fw + checksum: sha256:7104bda8df301fe1bd4c09de1708aeb6d0d8e1f9d55505449fecfad82639235f + dest: /lib/firmware/dvb-fe-xc5000-1.6.114.fw + when: '"2040:1605" in usb'