diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:49:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:49:18 +0000 |
commit | 19e444aab0893f08ded168153ae10a96ede47d1c (patch) | |
tree | 1bf7cc1dac509c540b3fac39d2b4bb77b60b9851 /debian/tests | |
parent | Merging upstream version 3.20240531.1+nmu1. (diff) | |
download | intel-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 'debian/tests')
-rw-r--r-- | debian/tests/control | 7 | ||||
-rw-r--r-- | debian/tests/initramfs | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..a5d82d6 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,7 @@ +Tests: initramfs +Architecture: amd64 +Depends: + @, + linux-image-amd64, + initramfs-tools, +Restrictions: needs-root, allow-stderr, superficial 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' + |