summaryrefslogtreecommitdiffstats
path: root/debian/firmware-intel-misc.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 16:45:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 16:46:46 +0000
commit28d04b08d78a9cdb3d35b49934481e24244707fc (patch)
treeb4007c0bd405f63d5ef127ed15a9129dea6e2f02 /debian/firmware-intel-misc.postinst
parentMerging upstream version 20240709. (diff)
downloadfirmware-nonfree-28d04b08d78a9cdb3d35b49934481e24244707fc.tar.xz
firmware-nonfree-28d04b08d78a9cdb3d35b49934481e24244707fc.zip
Merging debian version 20240709-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/firmware-intel-misc.postinst')
-rw-r--r--debian/firmware-intel-misc.postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/firmware-intel-misc.postinst b/debian/firmware-intel-misc.postinst
new file mode 100644
index 0000000..10cc8f8
--- /dev/null
+++ b/debian/firmware-intel-misc.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; 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" \
+ --remove "/lib/firmware/$f"
+ done
+fi
+
+#DEBHELPER#
+
+exit 0