[Git][qa/jenkins.debian.net][master] jenkins nodes maintenance: fix matching old installed kernels
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Jun 7 09:37:37 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
cb29e917 by Holger Levsen at 2025-06-07T10:37:27+02:00
jenkins nodes maintenance: fix matching old installed kernels
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_node_health_check.sh
Changes:
=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -127,7 +127,7 @@ case $HOSTNAME in
esac
if [ $KERNEL -gt $MAX_KERNEL ] ; then
RUNNING=$(uname -r)
- OLDEST_KERNEL=$(ls /boot/vmlinu*|sed 's#/boot/vmlinu.-##g'|head -1)
+ OLDEST_KERNEL=$(ls /boot/vmlinu?-*|sed 's#/boot/vmlinu.-##g'|head -1)
if [ "$RUNNING" != "$OLDEST_KERNEL" ] ; then
echo "Warning: too many kernels, $OLDEST_KERNEL should be removed."
else
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cb29e917f6afc488127178580cf316a36332e158
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cb29e917f6afc488127178580cf316a36332e158
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250607/9ee30191/attachment.htm>
More information about the Qa-jenkins-scm
mailing list