summaryrefslogtreecommitdiffstats
path: root/debian/tests/initramfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:49:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:49:09 +0000
commit1a3f80aae44ac298397b3b9f80131b5a1c6332c9 (patch)
tree0334a2b4dc1b0108af82d6a9dcbaef4680160511 /debian/tests/initramfs
parentMerging upstream version 3.20240531.1+nmu1. (diff)
downloadintel-microcode-1a3f80aae44ac298397b3b9f80131b5a1c6332c9.tar.xz
intel-microcode-1a3f80aae44ac298397b3b9f80131b5a1c6332c9.zip
Adding debian version 3.20240531.1+nmu1.debian/3.20240531.1+nmu1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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'
+