[Git][qa/jenkins.debian.net][master] reproducible maintenance: deal with /boot/vmlinuz* being vmlinux* on riscv64
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Feb 16 22:12:00 GMT 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
ebe31528 by Holger Levsen at 2025-02-16T23:11:36+01:00
reproducible maintenance: deal with /boot/vmlinuz* being vmlinux* on riscv64
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- bin/reproducible_maintenance.sh
- hosts/common/etc/sudoers.d/jenkins
- hosts/ionos9-amd64/etc/sudoers.d/jenkins
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -457,11 +457,11 @@ if [ -n "$BADPERMS" ] ; then
fi
# find kernels we cannot read and fix that
-BADPERMS=$(find /boot/vmlinuz* ! -perm 644)
+BADPERMS=$(find /boot/vmlinu* ! -perm 644)
if [ -n "$BADPERMS" ] ; then
echo "Fixing kernel permissions:"
echo $BADPERMS
- sudo chmod +r /boot/vmlinuz*
+ sudo chmod +r /boot/vmlinu*
fi
if [ "$HOSTNAME" = "$MAINNODE" ] ; then
=====================================
hosts/common/etc/sudoers.d/jenkins
=====================================
@@ -68,7 +68,7 @@ jenkins ALL= \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins, \
/bin/chmod -R a+rX /var/lib/libvirt/images, \
- /bin/chmod +r /boot/vmlinuz*
+ /bin/chmod +r /boot/vmlinu*
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset
=====================================
hosts/ionos9-amd64/etc/sudoers.d/jenkins
=====================================
@@ -11,7 +11,7 @@ jenkins ALL= \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins, \
/usr/bin/apt-get update, \
- /bin/chmod +r /boot/vmlinuz*, \
+ /bin/chmod +r /boot/vmlinu*, \
/usr/bin/tee /proc/*/oom_score_adj
# keep these environment variables
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ebe31528a1a8ea6517637ca62e204b9b2228d3ee
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ebe31528a1a8ea6517637ca62e204b9b2228d3ee
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/20250216/3f07e901/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list