Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit e9798cb

Browse files
authored
Merge pull request #673 from gao-feng/hyperstart
update hyperstart kernel path
2 parents eef6556 + 8c5d9cf commit e9798cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hack/lib/hyperstart.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ hyper::hyperstart::build() {
1414

1515
KERNEL_PATH="${HYPER_TEMP}/hyperstart/build/kernel"
1616
if [ ! -f ${KERNEL_PATH} ]; then
17-
return 1
17+
KERNEL_PATH="${HYPER_TEMP}/hyperstart/build/arch/x86_64/kernel"
18+
if [ ! -f ${KERNEL_PATH} ]; then
19+
return 1
20+
fi
1821
fi
1922
INITRD_PATH="${HYPER_TEMP}/hyperstart/build/hyper-initrd.img"
2023
if [ ! -f ${INITRD_PATH} ]; then

0 commit comments

Comments
 (0)