diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-11-27 13:32:51 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-11-27 13:32:51 +0100 |
commit | d2ed20984c0550baf084ee7fef5b64de3661b1e6 (patch) | |
tree | 6c246158c0b2cdd2c61a7f855556419aa958ebd8 /hosts | |
parent | d289324ff521d58a859b7d4f98075e1a73c245c9 (diff) | |
download | jenkins.debian.net-d2ed20984c0550baf084ee7fef5b64de3661b1e6.tar.xz |
reproducible: disable check for outdated packages on machines running in the future
Diffstat (limited to 'hosts')
-rwxr-xr-x | hosts/profitbricks-build5-amd64/etc/rc.local | 3 | ||||
-rwxr-xr-x | hosts/profitbricks-build6-amd64/etc/rc.local | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/hosts/profitbricks-build5-amd64/etc/rc.local b/hosts/profitbricks-build5-amd64/etc/rc.local index ae0a771a..32343784 100755 --- a/hosts/profitbricks-build5-amd64/etc/rc.local +++ b/hosts/profitbricks-build5-amd64/etc/rc.local @@ -20,5 +20,8 @@ systemctl stop systemd-timedated ntpdate -b de.pool.ntp.org date --set="+398 days +6 hours + 23 minutes" echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root +# disable check for outdated packages as in the future (like this) +# packages from security.d.o will appear outdated always… +ln -sf /bin/true /usr/local/bin/dsa-check-packages exit 0 diff --git a/hosts/profitbricks-build6-amd64/etc/rc.local b/hosts/profitbricks-build6-amd64/etc/rc.local index ae0a771a..32343784 100755 --- a/hosts/profitbricks-build6-amd64/etc/rc.local +++ b/hosts/profitbricks-build6-amd64/etc/rc.local @@ -20,5 +20,8 @@ systemctl stop systemd-timedated ntpdate -b de.pool.ntp.org date --set="+398 days +6 hours + 23 minutes" echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root +# disable check for outdated packages as in the future (like this) +# packages from security.d.o will appear outdated always… +ln -sf /bin/true /usr/local/bin/dsa-check-packages exit 0 |