add xvfb to step3

This commit is contained in:
andreika-git 2022-05-21 18:08:04 +03:00
parent 70f074853c
commit eabaf06be7
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ if ! ./bin/check_all.sh; then
exit 2 exit 2
fi fi
# start virtual framebuffer (should be already installed)
export DISPLAY=:99.0
sudo Xvfb :99 -screen 0 640x480x24 &
echo "Processing ${board_prefix} board..." echo "Processing ${board_prefix} board..."
if ! $python_bin bin/process_board.py ${board_prefix} ${project_base} ${frame_name} ${frame_rev} ${bom_replace} ${comp_img_offset}; then if ! $python_bin bin/process_board.py ${board_prefix} ${project_base} ${frame_name} ${frame_rev} ${bom_replace} ${comp_img_offset}; then
echo "ABORTING!" echo "ABORTING!"