Skip to content

Commit

Permalink
build/armbian/Vagrantfile: Improve output during build
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias K <[email protected]>
  • Loading branch information
theCalcaholic committed Jan 2, 2024
1 parent cc83189 commit 3735f98
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build/armbian/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@ Vagrant.configure("2") do |config|

$script = <<-SHELL
sudo su
set -ex
set -e
systemctl stop apparmor
#mount -t cgroup cgroup /sys/fs/cgroup
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends git ca-certificates cgroupfs-mount
mount -t cgroup cgroup /sys/fs/cgroup
cd /tmp/nextcloudpi
{
while ! [ -f "/tmp/nextcloudpi/armbian/.tmp/logs-"*/*".customize_image.log" ]
do
sleep 1
done
tail -f "/tmp/nextcloudpi/armbian/.tmp/logs-"*/*".customize_image.log"
} &
./build/build-SD-armbian.sh "${BOARD_ID?}" "${BOARD_NAME?}"
mv /tmp/nextcloudpi/armbian/output/*.img /tmp/ncp-out/
SHELL
Expand Down

0 comments on commit 3735f98

Please sign in to comment.