From d6757d67f891ec1fdb558f47f75867621b71d997 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Mon, 3 Sep 2018 20:15:11 +0300 Subject: [PATCH] Image builder: disable apt auto-updates --- image_builder/scripts/software_install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/image_builder/scripts/software_install.sh b/image_builder/scripts/software_install.sh index 3a4bb793..fd2fbdd3 100755 --- a/image_builder/scripts/software_install.sh +++ b/image_builder/scripts/software_install.sh @@ -38,11 +38,17 @@ git clone https://github.com/jacksonliam/mjpg-streamer.git /home/pi/mjpg-streame && make install \ && chown -Rf pi:pi /home/pi/mjpg-streamer -echo -e "\033[0;31m\033[1m$(date) | Add .vimrc\033[0m\033[0m" +echo -e "\033[0;31m\033[1m$(date) | Miscellaneous\033[0m\033[0m" # vim settings echo "set mouse-=a syntax on " > /home/pi/.vimrc +# disable some auto-updating +sudo systemctl disable apt-daily.service +sudo systemctl disable apt-daily.timer +sudo systemctl disable apt-daily-upgrade.timer +sudo systemctl disable apt-daily-upgrade.service + echo -e "\033[0;31m\033[1m$(date) | End of network installation\033[0m\033[0m"