[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: relax regex to find kernels with wrong permissions, to not miss some

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Jun 28 16:21:50 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
7666e89c by Holger Levsen at 2023-06-28T17:21:36+02:00
reproducible Debian: relax regex to find kernels with wrong permissions, to not miss some

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -812,11 +812,11 @@ if [ -n "$BADPERMS" ] ; then
 fi
 
 # find kernels we cannot read and fix that
-BADPERMS=$(find /boot/vmlinuz-* ! -perm 644)
+BADPERMS=$(find /boot/vmlinuz* ! -perm 644)
 if [ -n "$BADPERMS" ] ; then
     echo "Fixing kernel permissions:"
     echo $BADPERMS
-    sudo chmod +r /boot/vmlinuz-*
+    sudo chmod +r /boot/vmlinuz*
 fi
 
 # daily mails



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7666e89c92d668806a4c3f474b448fe8cf11b24f

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7666e89c92d668806a4c3f474b448fe8cf11b24f
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/20230628/41d624e7/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list