Skip to content

Commit ec275d4

Browse files
committed
hook: add handling for ttyAML0/1 (used on Amlogic SoCs)
- complements a68b629 - create /dev devices with 243 major and 0/1 minor - add to securetty Signed-off-by: Ricardo Pardini <[email protected]>
1 parent 9d6f215 commit ec275d4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

linuxkit-templates/hook.template.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,16 @@ services:
134134
major: 204
135135
minor: 65
136136
mode: "0666"
137+
- path: "/dev/ttyAML0"
138+
type: c
139+
major: 243
140+
minor: 0
141+
mode: "0666"
142+
- path: "/dev/ttyAML1"
143+
type: c
144+
major: 243
145+
minor: 1
146+
mode: "0666"
137147

138148
- name: hook-docker
139149
image: "${HOOK_CONTAINER_DOCKER_IMAGE}"
@@ -266,6 +276,8 @@ files:
266276
ttyS1
267277
ttyAMA0
268278
ttyAMA1
279+
ttyAML0
280+
ttyAML1
269281
ttyUSB0
270282
ttyUSB1
271283
ttyUSB2

0 commit comments

Comments
 (0)