From: Joseph Coffland Date: Thu, 15 Apr 2021 21:13:52 +0000 (-0700) Subject: Script updates X-Git-Url: https://git.buildbotics.com/?a=commitdiff_plain;h=662a7bc1f24b55ce62d9c4bf6fb95f4df47c3164;p=bbctrl-firmware Script updates --- diff --git a/CHANGELOG.md b/CHANGELOG.md index ad5f553..3b23472 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ Buildbotics CNC Controller Firmware Changelog - Show program messages in 3D view. - Fix bug where rehoming fails after stop. #294 - Fixed splash screen centering. - - Much improved onscreen keyboard for touch screen operation. + - Much improved onscreen keyboard for touch screen operation. #292 - Handle pause duing seeking operation correctly. ## v0.4.16 diff --git a/scripts/container-init b/scripts/container-init index 5f05071..48a1e4d 100755 --- a/scripts/container-init +++ b/scripts/container-init @@ -7,7 +7,7 @@ apt-get update #apt-get dist-upgrade -y # Install packages -apt-get install -y scons build-essential libssl-dev python3-dev libx11-dev \ +apt-get install -y git scons build-essential libssl-dev python3-dev libx11-dev \ libxcursor-dev libxinerama-dev libxtst-dev libxft-dev pkg-config ninja-build \ vim bash-completion diff --git a/scripts/edit-boot-config b/scripts/edit-boot-config index d7dd4d4..a76073f 100755 --- a/scripts/edit-boot-config +++ b/scripts/edit-boot-config @@ -1,8 +1,10 @@ #!/bin/bash +DIR="$(dirname "$0")" + cp /boot/config.txt /tmp/ -edit-config /tmp/config.txt "$@" +"$DIR"/edit-config /tmp/config.txt "$@" diff /boot/config.txt /tmp/config.txt >/dev/null if [ $? -eq 1 ]; then