Skip to content

Commit

Permalink
qemu file quotes add udev dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed Aug 22, 2024
1 parent d2a84cc commit 051f739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/qemu/qemuManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class QemuManager extends EventEmitter {
"-machine",
idfTarget,
"-drive",
`file=${qemuFile.fsPath},if=mtd,format=raw`
`file='${qemuFile.fsPath}',if=mtd,format=raw`
],
tcpPort: readParameter("idf.qemuTcpPort", workspaceFolder),
workspaceFolder,
Expand Down
2 changes: 2 additions & 0 deletions templates/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ARG USER_GID=$USER_UID
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

RUN apt-get update -y && apt-get install udev -y

RUN groupadd --gid $USER_GID $CONTAINER_USER \
&& adduser --uid $USER_UID --gid $USER_GID --disabled-password --gecos "" ${CONTAINER_USER} \
&& usermod -a -G root $CONTAINER_USER && usermod -a -G dialout $CONTAINER_USER
Expand Down

0 comments on commit 051f739

Please sign in to comment.