diff options
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' + |