diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 6 |
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 ; \ |