Skip to content

Commit

Permalink
fix: Update linux image used in tests
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
roypat committed May 8, 2024
1 parent 7ba7b3b commit db0b391
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .buildkite/download_resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

set -e

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

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

mkdir -p ${EXTRACT_PATH}
Expand Down
Binary file added src/loader/x86_64/bzimage/bzimage
Binary file not shown.
2 changes: 1 addition & 1 deletion src/loader/x86_64/bzimage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ mod tests {
0x20f
);
assert_eq!(loader_result.setup_header.unwrap().loadflags, 1);
assert_eq!(loader_result.kernel_end, 0x8B1600);
assert_eq!(loader_result.kernel_end, 0x8B2680);

// load bzImage without kernel_offset
loader_result = BzImage::load(
Expand Down

0 comments on commit db0b391

Please sign in to comment.