Merge pull request #1261 from jsegitz/reboot_test

check /boot/vmlinuz as a symlink in the reboot test
This commit is contained in:
Michael Boelen 2022-01-31 16:38:38 +01:00 committed by GitHub
commit 8604431e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -667,7 +667,10 @@
ReportException "${TEST_NO}:1" "Can't determine kernel version on disk, need debug data"
fi
elif [ -f ${ROOTDIR}boot/vmlinuz-linux ] || [ -f ${ROOTDIR}boot/vmlinuz-linux-lts ] || [ -f "$(${LSBINARY} -t ${ROOTDIR}boot/vm[l0-9]* 2> /dev/null | ${HEADBINARY} -1)" ]; then
if [ -f ${ROOTDIR}boot/vmlinuz-linux ]; then
if [ -f ${ROOTDIR}boot/vmlinuz ]; then
LogText "Result: found ${ROOTDIR}boot/vmlinuz"
FOUND_VMLINUZ=${ROOTDIR}boot/vmlinuz
elif [ -f ${ROOTDIR}boot/vmlinuz-linux ]; then
LogText "Result: found ${ROOTDIR}boot/vmlinuz-linux"
FOUND_VMLINUZ=${ROOTDIR}boot/vmlinuz-linux
elif [ -f ${ROOTDIR}boot/vmlinuz-linux-lts ]; then