Commit 68409a3
fix(rootfs): drop literal single-quotes from SERIALCON default
When SERIALCON is unset, the default 'ttyS0' (with embedded single quotes)
was retained verbatim through the parameter expansion, so the loop variable
became the 4-character string "'ttyS0'" rather than "ttyS0". Downstream
that produces a malformed `/etc/securetty` entry and a systemd unit path
`serial-getty@'ttyS0'.service` — neither matches a real device, and
`systemctl daemon-reload`/`enable` fails silently.
The odd default predates this branch but was uncovered after the
P2a rewrite of the loop header surfaced the value directly.
Assisted-by: Claude:claude-opus-4.71 parent 733d40d commit 68409a3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | | - | |
| 508 | + | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| |||
0 commit comments