summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:49:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:49:09 +0000
commit1a3f80aae44ac298397b3b9f80131b5a1c6332c9 (patch)
tree0334a2b4dc1b0108af82d6a9dcbaef4680160511 /debian/rules
parentMerging upstream version 3.20240531.1+nmu1. (diff)
downloadintel-microcode-1a3f80aae44ac298397b3b9f80131b5a1c6332c9.tar.xz
intel-microcode-1a3f80aae44ac298397b3b9f80131b5a1c6332c9.zip
Adding debian version 3.20240531.1+nmu1.debian/3.20240531.1+nmu1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index eac0d2e..97c06a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,13 +32,13 @@ override_dh_auto_install:
dh_install
# split microcode pack
- $(IUCODE_TOOL) -q --write-firmware="$(PKGDIR)/lib/firmware/intel-ucode" $(IUCODE_FILE)
+ $(IUCODE_TOOL) -q --write-firmware="$(PKGDIR)/usr/lib/firmware/intel-ucode" $(IUCODE_FILE)
# apply best-effort blacklist
if [ -r debian/ucode-blacklist.txt ] ; then \
cat debian/ucode-blacklist.txt | while read -r fn crap ; do \
- if [ -r "$(PKGDIR)/lib/firmware/intel-ucode/$${fn}" ] ; then \
- mv "$(PKGDIR)/lib/firmware/intel-ucode/$${fn}" "$(PKGDIR)/lib/firmware/intel-ucode/$${fn}.initramfs" ;\
+ if [ -r "$(PKGDIR)/usr/lib/firmware/intel-ucode/$${fn}" ] ; then \
+ mv "$(PKGDIR)/usr/lib/firmware/intel-ucode/$${fn}" "$(PKGDIR)/usr/lib/firmware/intel-ucode/$${fn}.initramfs" ;\
echo "Renaming blacklisted microcode $${fn}" ; \
fi ; \
done ; \