diff options
Diffstat (limited to 'straper/db/public/boot/etc-kernel/preinst.d')
| -rwxr-xr-x | straper/db/public/boot/etc-kernel/preinst.d/dkms | 11 | ||||
| -rwxr-xr-x | straper/db/public/boot/etc-kernel/preinst.d/intel-microcode | 17 |
2 files changed, 0 insertions, 28 deletions
diff --git a/straper/db/public/boot/etc-kernel/preinst.d/dkms b/straper/db/public/boot/etc-kernel/preinst.d/dkms deleted file mode 100755 index bfc175d..0000000 --- a/straper/db/public/boot/etc-kernel/preinst.d/dkms +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# This script is triggered when the kernel (linux-image) package is being -# installed/upgraded. We're passed the version of the kernel being installed. -inst_kern=$1 - -if command -v dkms > /dev/null; then - dkms kernel_preinst -k "$inst_kern" -fi - -exit 0 diff --git a/straper/db/public/boot/etc-kernel/preinst.d/intel-microcode b/straper/db/public/boot/etc-kernel/preinst.d/intel-microcode deleted file mode 100755 index d98b40c..0000000 --- a/straper/db/public/boot/etc-kernel/preinst.d/intel-microcode +++ /dev/null @@ -1,17 +0,0 @@ -#!/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 - -: |
