File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ echo "ST-Link ID: $ST_LINK_ID"
24
24
25
25
# Define installation paths
26
26
INSTALL_DIR=" /opt/flipper-runners"
27
- VENV_DIR=" ${INSTALL_DIR} /venv"
27
+ VENV_DIR=" ${INSTALL_DIR} /${FLIPPER_ID} / venv"
28
28
SCRIPTS_DIR=" ${INSTALL_DIR} /scripts"
29
29
CONFIG_DIR=" /var/lib/flipper-docker"
30
30
WRAPPER_SCRIPT=" /usr/local/bin/flipper-docker-wrapper.sh"
Original file line number Diff line number Diff line change 14
14
from datetime import datetime
15
15
16
16
17
- # Set up structured logging for systemd journal
18
17
class JournalAdapter (logging .LoggerAdapter ):
19
18
def process (self , msg , kwargs ):
20
19
# Add structured fields for systemd journal
@@ -199,6 +198,7 @@ def find_devices(self) -> None:
199
198
if usb_path :
200
199
self .devices .append (usb_path )
201
200
if flipper_tty_path :
201
+ self .device_mappings [flipper_tty_path ] = "/dev/ttyACM0" # Consistently map Flipper to ttyACM0
202
202
self .devices .append (flipper_tty_path )
203
203
204
204
def create_docker_container (self ) -> None :
You can’t perform that action at this time.
0 commit comments