Merge pull request #4004 from deitch/missing-kernel-hashes

add missing hashes for kernel version-specific test cases
This commit is contained in:
Avi Deitcher 2024-03-04 05:12:28 -08:00 committed by GitHub
commit 83efa26b65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 22 additions and 16 deletions

View File

@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.10.104
image: linuxkit/kernel:5.10.104-9005a97e2b2cba68b4374092167b079a2874f66b
cmdline: "console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:45a1ad5919f0b6acf0f0cf730e9434abfae11fe6

View File

@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.15.27
image: linuxkit/kernel:5.15.27-9005a97e2b2cba68b4374092167b079a2874f66b
cmdline: "console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:45a1ad5919f0b6acf0f0cf730e9434abfae11fe6

View File

@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:6.6.13
image: linuxkit/kernel:6.6.13-4f0f536b9a057590102379043a0815d2f0e28209
cmdline: "console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:07d37c3ae7fad5ddcb54c8dc65774ae050851f04

View File

@ -3,7 +3,7 @@
# In the last stage, it creates a package, which can be used for
# testing.
FROM linuxkit/kernel:5.4.172 AS ksrc
FROM linuxkit/kernel:5.4.172-9005a97e2b2cba68b4374092167b079a2874f66b AS ksrc
# Extract headers and compile module
FROM linuxkit/kernel:5.4.172-builder AS build

View File

@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:5.4.156
docker pull linuxkit/kernel:5.4.172-9005a97e2b2cba68b4374092167b079a2874f66b
# Build a package
docker build -t ${IMAGE_NAME} .

View File

@ -3,7 +3,7 @@
# In the last stage, it creates a package, which can be used for
# testing.
FROM linuxkit/kernel:5.10.104 AS ksrc
FROM linuxkit/kernel:5.10.104-9005a97e2b2cba68b4374092167b079a2874f66b AS ksrc
# Extract headers and compile module
FROM linuxkit/kernel:5.10.104-builder AS build

View File

@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:5.10.76
docker pull linuxkit/kernel:5.10.104-9005a97e2b2cba68b4374092167b079a2874f66b
# Build a package
docker build -t ${IMAGE_NAME} .

View File

@ -3,7 +3,7 @@
# In the last stage, it creates a package, which can be used for
# testing.
FROM linuxkit/kernel:5.15.27 AS ksrc
FROM linuxkit/kernel:5.15.27-9005a97e2b2cba68b4374092167b079a2874f66b AS ksrc
# Extract headers and compile module
FROM linuxkit/kernel:5.15.27-builder AS build

View File

@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:5.12.14
docker pull linuxkit/kernel:5.15.27-9005a97e2b2cba68b4374092167b079a2874f66b
# Build a package
docker build -t ${IMAGE_NAME} .

View File

@ -3,7 +3,7 @@
# In the last stage, it creates a package, which can be used for
# testing.
FROM linuxkit/kernel:6.6.13 AS ksrc
FROM linuxkit/kernel:6.6.13-4f0f536b9a057590102379043a0815d2f0e28209 AS ksrc
# Extract headers and compile module
FROM linuxkit/kernel:6.6.13-builder AS build

View File

@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:6.6.13
docker pull linuxkit/kernel:6.6.13-4f0f536b9a057590102379043a0815d2f0e28209
# Build a package
docker build -t ${IMAGE_NAME} .

View File

@ -5,7 +5,7 @@
set -e
KERNEL=linuxkit/kernel:5.4.156
KERNEL=linuxkit/kernel:5.4.172-9005a97e2b2cba68b4374092167b079a2874f66b
# just include the common test
. ../tags.sh

View File

@ -5,7 +5,7 @@
set -e
KERNEL=linuxkit/kernel:5.10.76
KERNEL=linuxkit/kernel:5.10.104-9005a97e2b2cba68b4374092167b079a2874f66b
# just include the common test
. ../tags.sh

View File

@ -5,7 +5,7 @@
set -e
KERNEL=linuxkit/kernel:5.12.14
KERNEL=linuxkit/kernel:5.15.27-9005a97e2b2cba68b4374092167b079a2874f66b
# just include the common test
. ../tags.sh

View File

@ -5,7 +5,7 @@
set -e
KERNEL=linuxkit/kernel:6.6.13
KERNEL=linuxkit/kernel:6.6.13-4f0f536b9a057590102379043a0815d2f0e28209
# just include the common test
. ../tags.sh

View File

@ -27,7 +27,13 @@ clean_up() {
trap clean_up EXIT
# check the kernel images for tags, labels, files
BUILDER=${KERNEL}-builder
# builder image is based on semver, i.e. 5.10.104-builder
# and not hash, i.e. 5.10.104-9005a97e2b2cba68b4374092167b079a2874f66b-builder,
# so get basic semver
KERNEL_IMAGE=${KERNEL%%:*}
KERNEL_TAG=${KERNEL##*:}
KERNEL_SEMVER=${KERNEL_TAG%%-*}
BUILDER=${KERNEL_IMAGE}:${KERNEL_SEMVER}-builder
BUILDERFILE=/tmp/kernel-builder-$$
docker pull ${KERNEL}