summaryrefslogtreecommitdiffstats
path: root/debian/tests/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/initramfs')
-rw-r--r--debian/tests/initramfs12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/tests/initramfs b/debian/tests/initramfs
new file mode 100644
index 0000000..2cd833c
--- /dev/null
+++ b/debian/tests/initramfs
@@ -0,0 +1,12 @@
+#!/bin/bash
+set -ex -o pipefail
+
+update-initramfs -kall -u
+INITRDS=(/boot/initrd.img-*)
+
+unmkinitramfs "${INITRDS[0]}" initramfs/
+find initramfs/
+
+test -e initramfs/early/kernel/x86/microcode/GenuineIntel.bin
+echo '# everything seems ok'
+