File: intel-microcode.kpreinst

package info (click to toggle)
intel-microcode 3.20250512.1
  • links: PTS, VCS
  • area: non-free-firmware
  • in suites: forky, sid, trixie
  • size: 22,124 kB
  • sloc: sh: 171; makefile: 121
file content (17 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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

: