From 662a7bc1f24b55ce62d9c4bf6fb95f4df47c3164 Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Thu, 15 Apr 2021 14:13:52 -0700 Subject: [PATCH] Script updates --- CHANGELOG.md | 2 +- scripts/container-init | 2 +- scripts/edit-boot-config | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) 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 -- 2.27.0