Debian Codegraph @

debian/tests/initramfs

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/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 findscip-shell system . . find. initramfs/
9
10 # Microcode may be extracted under an early/ subdirectory, depending
11 # on the version of unmkinitramfs
12 if [scip-shell system . . `[`. -d initramfs/early ]; then
13 testscip-shell system . . test. -e initramfs/early/kernel/x86/microcode/GenuineIntel.bin
14 else
15 testscip-shell system . . test. -e initramfs/kernel/x86/microcode/GenuineIntel.bin
16 fi
17 echoscip-shell system . . echo. '# everything seems ok'
18