Skip to content

Commit 8dad35a

Browse files
committed
Mention minimally required bootimage version in error message
1 parent b15b145 commit 8dad35a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Mention minimal required bootimage version in error message when `KERNEL` environment variable is not set.
2+
13
# 0.5.2
24

35
- Remove redundant import that caused a warning

build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ fn main() {
1515
Ok(kernel) => kernel,
1616
Err(_) => {
1717
eprintln!(
18-
"The KERNEL environment variable must be set for building the bootloader."
18+
"The KERNEL environment variable must be set for building the bootloader.\n\n\
19+
If you use `bootimage` for building you need at least version 0.7.0. You can \
20+
update `bootimage` by running `cargo install bootimage --force`."
1921
);
2022
process::exit(1);
2123
}

0 commit comments

Comments
 (0)