From d2ed20984c0550baf084ee7fef5b64de3661b1e6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 27 Nov 2015 13:32:51 +0100 Subject: reproducible: disable check for outdated packages on machines running in the future --- hosts/profitbricks-build5-amd64/etc/rc.local | 3 +++ hosts/profitbricks-build6-amd64/etc/rc.local | 3 +++ 2 files changed, 6 insertions(+) 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 -- cgit v1.2.3-70-g09d2