Skip to content

Commit db0b391

Browse files
committed
fix: Update linux image used in tests
The debian image we had been using was taken down, so update the download URL to the new version. See also 77fb41e Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
1 parent 7ba7b3b commit db0b391

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.buildkite/download_resources.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
set -e
44

5-
DEB_NAME="linux-image-5.10.0-22-amd64-unsigned_5.10.178-3_amd64.deb"
5+
DEB_NAME="linux-image-5.10.0-28-amd64-unsigned_5.10.209-2_amd64.deb"
66
DEB_URL="http://ftp.us.debian.org/debian/pool/main/l/linux/${DEB_NAME}"
77

88
TMP_PATH="/tmp/linux-loader/"
99
DEB_PATH="${TMP_PATH}/${DEB_NAME}"
1010
EXTRACT_PATH="${TMP_PATH}/src/bzimage-archive"
11-
BZIMAGE_PATH="${EXTRACT_PATH}/boot/vmlinuz-5.10.0-22-amd64"
11+
BZIMAGE_PATH="${EXTRACT_PATH}/boot/vmlinuz-5.10.0-28-amd64"
1212
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
1313

1414
mkdir -p ${EXTRACT_PATH}

src/loader/x86_64/bzimage/bzimage

6.71 MB
Binary file not shown.

src/loader/x86_64/bzimage/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ mod tests {
253253
0x20f
254254
);
255255
assert_eq!(loader_result.setup_header.unwrap().loadflags, 1);
256-
assert_eq!(loader_result.kernel_end, 0x8B1600);
256+
assert_eq!(loader_result.kernel_end, 0x8B2680);
257257

258258
// load bzImage without kernel_offset
259259
loader_result = BzImage::load(

0 commit comments

Comments
 (0)