Skip to content

Commit a7cc8d0

Browse files
authored
Fix tc358743 identifier in the /boot/config.txt population (#1617)
This fixes a small bug in the tinypilot.postinst that was preventing it from matching the right line in `/boot/config.txt` to add the `dtoverlay=tc358743-audio` line. ## Peer testing To test this bundle run: ```bash curl \ --silent \ --show-error \ --location \ https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/scripts/install-bundle | \ sudo bash -s -- \ https://output.circle-artifacts.com/output/job/0bcd7da3-9a88-4126-ada8-6a7804e02dfe/artifacts/0/bundler/dist/tinypilot-community-20230901T1500Z-1.9.0-75+03827f4.tgz && \ sudo reboot ``` <a data-ca-tag href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1617"><img src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review on CodeApprove" /></a>
1 parent 5bf0164 commit a7cc8d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debian-pkg/debian/tinypilot.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if grep --silent '^dtoverlay=tc358743$' "${BOOT_CONFIG_PATH}" ; then
9898
# Enable TC358743-audio overlay in /boot/config.txt.
9999
# Note that the tc358743-audio overlay depends on the tc358743 overlay.
100100
sed --in-place --expression '/dtoverlay=tc358743-audio/d' "${BOOT_CONFIG_PATH}"
101-
sed --in-place '/dtoverlay=tc35843/ a dtoverlay=tc358743-audio' "${BOOT_CONFIG_PATH}"
101+
sed --in-place '/dtoverlay=tc358743/ a dtoverlay=tc358743-audio' "${BOOT_CONFIG_PATH}"
102102

103103
# Set GPU memory to 256MB in /boot/config.txt
104104
if grep --silent '^gpu_mem=' "${BOOT_CONFIG_PATH}" ; then

0 commit comments

Comments
 (0)