diff options
Diffstat (limited to '')
-rw-r--r-- | debian/firmware-intel-misc.preinst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/firmware-intel-misc.preinst b/debian/firmware-intel-misc.preinst new file mode 100644 index 0000000..4f081fa --- /dev/null +++ b/debian/firmware-intel-misc.preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then + for f in e100/d101m_ucode.bin e100/d101s_ucode.bin e100/d102e_ucode.bin hfi1_dc8051.fw hfi1_fabric.fw hfi1_pcie.fw hfi1_sbus.fw intel/ice/ddp/ice-1.3.30.0.pkg intel/ice/ddp/ice.pkg qat_895xcc.bin qat_895xcc_mmp.bin qat_c3xxx.bin qat_c3xxx_mmp.bin qat_c62x.bin qat_c62x_mmp.bin qat_mmp.bin; do + dpkg-divert --package firmware-intel-misc --no-rename --quiet \ + --divert "/lib/firmware/$f.usr-is-merged" \ + --add "/lib/firmware/$f" + done +fi + +#DEBHELPER# + +exit 0 |