[Git][qa/jenkins.debian.net][master] fix rc.local bash so it can actually run…
Mattia Rizzolo (@mattia)
gitlab at salsa.debian.org
Sat Nov 25 10:47:25 GMT 2023
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
4d593279 by Mattia Rizzolo at 2023-11-25T11:46:37+01:00
fix rc.local bash so it can actually run…
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- hosts/common/etc/rc.local
Changes:
=====================================
hosts/common/etc/rc.local
=====================================
@@ -27,7 +27,7 @@ send_back_to_the_future() {
if [ -z "$1" ] ; then
ntpdate -b de.pool.ntp.org
else
- ntpdate -b $1
+ ntpdate -b "$1"
fi
# set fake date
date --set="+398 days +6 hours + 23 minutes"
@@ -48,7 +48,7 @@ cleanup_srv_workspace() {
rm -rf --one-file-system /srv/workspace/chroots/rbuild-openwrt-build-*
}
-cleanup_rbuild-debian() {
+cleanup_rbuild_debian() {
rm -rf --one-file-system /srv/reproducible-results/rbuild-debian/r-b-build.*
}
@@ -71,8 +71,8 @@ iptables -I INPUT -p udp --dport 111 -j DROP
# clean up left-overs which make no sense after a reboot
#
fixup_pbuilder_lockfiles
-cleanup_rbuild-debian
-cleanup_srv_workspace_chroots
+cleanup_rbuild_debian
+cleanup_srv_workspace
#
# notify jenkins reboots on irc
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/4d593279ce19d59a4e23ef502476881653ce6dc0
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/4d593279ce19d59a4e23ef502476881653ce6dc0
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/20231125/97c0ef6e/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list