We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c41bc commit 3f85804Copy full SHA for 3f85804
include/tests_ports_packages
@@ -1378,7 +1378,7 @@ EOF
1378
if [ "${DPKGBINARY}" ]; then
1379
TESTED=1
1380
KERNEL_PKG_NAMES="linux-image-[0-9]|raspberrypi-kernel|pve-kernel-[0-9]|linux-odroid-5422"
1381
- KERNELS=$(${DPKGBINARY} -l 2> /dev/null | ${GREPBINARY} -E "${KERNEL_PKG_NAMES}" | ${WCBINARY} -l)
+ KERNELS=$(${DPKGBINARY} -l 2> /dev/null | ${GREPBINARY} -E "${KERNEL_PKG_NAMES}" | ${GREPBINARY} -v ^rc | ${WCBINARY} -l)
1382
if [ ${KERNELS} -eq 0 ]; then
1383
LogText "Result: found no kernels from dpkg -l output, which is unexpected"
1384
elif [ ${KERNELS} -gt 5 ]; then
0 commit comments