[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] update_jdn: keep dsa-check-packages when disabling it on future nodes
Holger Levsen (@holger)
gitlab at salsa.debian.org
Fri Jun 9 23:03:59 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
45eed489 by Holger Levsen at 2023-06-10T00:03:47+02:00
update_jdn: keep dsa-check-packages when disabling it on future nodes
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- update_jdn.sh
Changes:
=====================================
update_jdn.sh
=====================================
@@ -58,8 +58,9 @@ set_correct_date() {
disable_dsa_check_packages() {
# disable check for outdated packages as someday in the future
# packages from security.d.o will appear outdated always…
- echo -e "#!/bin/sh\n# disabled dsa-check by update_jdn.sh\nexit 0" | sudo tee /usr/local/bin/dsa-check-packages
- sudo chmod a+rx /usr/local/bin/dsa-check-packages
+ DSACP=/usr/local/bin/dsa-check-packages
+ ( echo -e "#!/bin/sh\n# disabled dsa-check by update_jdn.sh\nexit 0\n" ; cat $DSACP ) | sudo tee $DSACP )
+ sudo chmod a+rx $DSACP
}
echo "--------------------------------------------"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/45eed4893eea88f2d0b3524d6f4f93425adb7759
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/45eed4893eea88f2d0b3524d6f4f93425adb7759
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/20230609/6d8a8512/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list