Skip to content

Commit 464b8ae

Browse files
authored
Merge pull request #167 from intel/update-branch
445 user story enhance bkc automation caller script for handle lnl bkc (#450)
2 parents 3ff2ad1 + bb67277 commit 464b8ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

platforms/coreultra/lnl/setup.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,12 @@ verify_kernel() {
221221
CURRENT_KERNEL_REVISION=$(uname -r | cut -d'-' -f2)
222222
CURRENT_KERNEL_VERSION_REVISION="$CURRENT_KERNEL_VERSION.$CURRENT_KERNEL_REVISION"
223223

224-
if [[ -n "$KERNEL_PACKAGE_NAME" ]]; then
224+
if [[ "$KERNEL_PACKAGE_NAME" != $(uname -r) ]]; then
225225
verify_kernel_package
226226
else
227-
echo "Error: Custom build kernel not yet supported."
228-
exit 1
227+
echo "$S_VALID Kernel version: $(uname -r)"
229228
fi
230-
echo "$S_VALID Kernel version: $(uname -r)"
229+
231230
}
232231
verify_kernel_package() {
233232
echo -e "Verifying kernel package"
@@ -273,6 +272,8 @@ verify_kernel_package() {
273272
echo "Running kernel version: $CURRENT_KERNEL_VERSION_REVISION"
274273
echo "Installed kernel version: $CURRENT_KERNEL_VERSION_INSTALLED"
275274
fi
275+
echo "System reboot is required."
276+
exit 0
276277
}
277278
verify_platform() {
278279
echo -e "\n# Verifying platform"
@@ -308,7 +309,6 @@ setup(){
308309

309310
echo -e "\n# Status"
310311
echo "$S_VALID Platform configured"
311-
echo "System reboot is required."
312312

313313
}
314314

0 commit comments

Comments
 (0)