File: initramfs

package info (click to toggle)
intel-microcode 3.20251111.1
  • links: PTS, VCS
  • area: non-free-firmware
  • in suites: forky, sid
  • size: 23,760 kB
  • sloc: sh: 175; makefile: 121
file content (18 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -ex -o pipefail

update-initramfs -kall -u
INITRDS=(/boot/initrd.img-*)

unmkinitramfs "${INITRDS[0]}" initramfs/
find initramfs/

# Microcode may be extracted under an early/ subdirectory, depending
# on the version of unmkinitramfs
if [ -d initramfs/early ]; then
    test -e initramfs/early/kernel/x86/microcode/GenuineIntel.bin
else
    test -e initramfs/kernel/x86/microcode/GenuineIntel.bin
fi
echo '# everything seems ok'