Skip to content
Commits on Source (2)
......@@ -54,19 +54,7 @@ set_correct_date() {
}
disable_dsa_check_packages() {
# FIXME: remove the repair of /bin/true when all hosts has been
# updated
# ln -s /bin/true /usr/local/bin/dsa-check-packages was used which
# broke /bin/true by overwriting it with the perl script dsa-check-packages
if grep -q '/usr/bin/perl' /bin/true || grep -q '/bin/sh' /bin/true ; then
sudo apt-get install --reinstall coreutils
fi
if [ -L /usr/local/bin/dsa-check-packages ] ; then
sudo rm /usr/local/bin/dsa-check-packages
fi
# disable check for outdated packages as in the future (like this)
# 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
......@@ -522,7 +510,7 @@ if [ -f /etc/debian_version ] ; then
elif [ "$HOSTNAME" = "profitbricks-build6-i386" ] || [ "$HOSTNAME" = "profitbricks-build16-i386" ] ; then
$UP2DATE || sudo apt-get install linux-image-amd64
fi
# only needed on the main nodes # FIXME this is redundant
# only needed on the main nodes
if [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
$UP2DATE || sudo apt-get install jenkins-job-builder/stretch-backports
elif [ "$HOSTNAME" = "jenkins" ] ; then
......