Debian Codegraph @

debian/tests/initramfs

raw symbols SCIP
1 #!/bin/bash
2 set -ex -o pipefail
3
4 update-initramfs -kall -u
5 INITRDS=(/boot/initrd.img-*)
6
7 unmkinitramfs "${INITRDS[0]}" initramfs/
8 find initramfs/
9
10 # Microcode may be extracted under an early/ subdirectory, depending
11 # on the version of unmkinitramfs
12 if [ -d initramfs/early ]; then
13 test -e initramfs/early/kernel/x86/microcode/GenuineIntel.bin
14 else
15 test -e initramfs/kernel/x86/microcode/GenuineIntel.bin
16 fi
17 echo '# everything seems ok'
18