summaryrefslogtreecommitdiffstats
path: root/debian/tests/initramfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:49:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:49:18 +0000
commit19e444aab0893f08ded168153ae10a96ede47d1c (patch)
tree1bf7cc1dac509c540b3fac39d2b4bb77b60b9851 /debian/tests/initramfs
parentMerging upstream version 3.20240531.1+nmu1. (diff)
downloadintel-microcode-19e444aab0893f08ded168153ae10a96ede47d1c.tar.xz
intel-microcode-19e444aab0893f08ded168153ae10a96ede47d1c.zip
Merging debian version 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'
+