Skip to content

Commit

Permalink
images: rootfs.yml.in: Add custom /etc/securetty file
Browse files Browse the repository at this point in the history
The standard /etc/securetty provided by busybox doesn't contain the ttyTCU0
needed by Nvidia Jetson Xavier NX. This commit adds a custom /etc/securetty
file through the rootfs.yml.in so it will not be overwritten by any other
file provided by other packages.

This change was already pushed upstream to Alpine's aports project:
https://gitlab.alpinelinux.org/alpine/aports/-/commit/0f36b58bcdd5f00b5a5c3d300c5fdbe382807444

When Alpine's version get bumped, this commit can be dropped.

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
  • Loading branch information
rene authored and eriknordmark committed Oct 29, 2023
1 parent c41fffe commit be6aef2
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions images/rootfs.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,29 @@ files:
metadata: yaml
- path: /etc/eve-hv-type
contents: 'EVE_HV'
- path: /etc/securetty
contents: |
console
tty0
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
hvc0
ttyS0
ttyS1
ttyS2
ttyAMA0
ttyAMA1
ttyTCU0
ttyTHS0
ttyTHS1
ttymxc0
ttymxc2

0 comments on commit be6aef2

Please sign in to comment.