Skip to content

Commit

Permalink
hook: add handling for ttyAML0/1 (used on Amlogic SoCs)
Browse files Browse the repository at this point in the history
- complements a68b629
- create /dev devices with 243 major and 0/1 minor
- add to securetty

Signed-off-by: Ricardo Pardini <[email protected]>
  • Loading branch information
rpardini committed May 20, 2024
1 parent f549998 commit bb77fd0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions linuxkit-templates/hook.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ services:
major: 204
minor: 65
mode: "0666"
- path: "/dev/ttyAML0"
type: c
major: 243
minor: 0
mode: "0666"
- path: "/dev/ttyAML1"
type: c
major: 243
minor: 1
mode: "0666"

- name: hook-docker
image: "${HOOK_CONTAINER_DOCKER_IMAGE}"
Expand Down Expand Up @@ -266,6 +276,8 @@ files:
ttyS1
ttyAMA0
ttyAMA1
ttyAML0
ttyAML1
ttyUSB0
ttyUSB1
ttyUSB2
Expand Down

0 comments on commit bb77fd0

Please sign in to comment.