summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-09-16 18:35:02 +0000
committerChristian Breunig <christian@breunig.cc>2026-09-16 18:35:02 +0000
commit3996c92edf3eb09486edc7e053abc1ef13bcd189 (patch)
treeeaa0093083f9d63c1470c8b53fb73d31539a7091 /data
parent28207a3068fd23d73c93cda806ed3757f9651a5f (diff)
downloadvyos-1x-3996c92edf3eb09486edc7e053abc1ef13bcd189.tar.gz
vyos-1x-3996c92edf3eb09486edc7e053abc1ef13bcd189.zip
lcd: T9014: resolve the LCDd driver path at runtime
The LCDd driver modules are shipped in the architecture dependent multiarch library directory, but the template hardcoded the x86_64 path. On arm64 this pointed LCDd at a directory that does not exist, so no driver could be loaded. Derive the multiarch triplet at runtime and render it into LCDd.conf instead of assuming x86_64.
Diffstat (limited to 'data')
-rw-r--r--data/templates/lcd/LCDd.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/lcd/LCDd.conf.j2 b/data/templates/lcd/LCDd.conf.j2
index 456aa79e7..23ff667fd 100644
--- a/data/templates/lcd/LCDd.conf.j2
+++ b/data/templates/lcd/LCDd.conf.j2
@@ -30,7 +30,7 @@
# Where can we find the driver modules ?
# NOTE: Always place a slash as last character !
-DriverPath=/usr/lib/x86_64-linux-gnu/lcdproc/
+DriverPath={{ driver_path }}
# Tells the server to load the given drivers. Multiple lines can be given.
# The name of the driver is case sensitive and determines the section