diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:11:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:11:02 +0000 |
commit | 7e0d55c5e855f10238cd8b93fd0ab27d87d41240 (patch) | |
tree | 80e4b213385d8810c639ca9c8758d84de5f0e7e2 /debian/intel-microcode.kpreinst | |
parent | Adding upstream version 3.20231114.1~deb12u1. (diff) | |
download | intel-microcode-7e0d55c5e855f10238cd8b93fd0ab27d87d41240.tar.xz intel-microcode-7e0d55c5e855f10238cd8b93fd0ab27d87d41240.zip |
Adding debian version 3.20231114.1~deb12u1.debian/3.20231114.1_deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/intel-microcode.kpreinst')
-rw-r--r-- | debian/intel-microcode.kpreinst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/intel-microcode.kpreinst b/debian/intel-microcode.kpreinst new file mode 100644 index 0000000..d98b40c --- /dev/null +++ b/debian/intel-microcode.kpreinst @@ -0,0 +1,17 @@ +#!/bin/sh +# +# /etc/kernel/preinst.d script for intel-microcode version 3 +# Copyright (C) 2014 Henrique de Moraes Holschuh <hmh@debian.org> +# Released under the GPL v2 or later license +# +# This script makes sure the cpuid module is loaded, before the +# kernel image has a chance to replace it with a new one that +# might not be compatible with the current kernel. +# +# We need the cpuid module for iucode_tool --scan-system, +# which is used by the initramfs hook. +# + +grep -q cpu/cpuid /proc/devices || modprobe -q cpuid || true + +: |