From 1b78637f3ebad0feb1d4813f257c22100366364f Mon Sep 17 00:00:00 2001 From: niusmallnan Date: Thu, 28 Feb 2019 15:13:26 +0800 Subject: [PATCH] Do not rebuild all-volumes and console in rpi64 build It will cause booting hangs when recreating containers --- scripts/images/raspberry-pi-hypriot64/scripts/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/images/raspberry-pi-hypriot64/scripts/build.sh b/scripts/images/raspberry-pi-hypriot64/scripts/build.sh index e19b23e2..7e4e4ee8 100755 --- a/scripts/images/raspberry-pi-hypriot64/scripts/build.sh +++ b/scripts/images/raspberry-pi-hypriot64/scripts/build.sh @@ -72,6 +72,12 @@ curl -sL -o brcmfmac43455-sdio.clm_blob https://raw.githubusercontent.com/RPi-Di curl -sL -o brcmfmac43455-sdio.txt https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/master/brcm/brcmfmac43455-sdio.txt popd +# TODO: we need to remove these lines +# mitigate this issue: https://github.com/rancher/os/issues/2674 +pushd build/root/usr/share/ros/ +sed -i 's/io.docker.compose.rebuild: always/io.docker.compose.rebuild\: "false"/g' os-config.yml +popd + # show details tree -a -L 3 build/root df -h