Commit 39cd25c
fix(image): escape the backticks in the apt-pin comment
The apt-pin block added in 62affa1 sits inside the chroot install script's
heredoc, which is unquoted (<<CHROOT_EOF) so the shell expands its body when
the script is written. The comment contained a backtick-quoted command name,
which would have been run as a command substitution on the BUILD HOST at
image-build time and its output spliced into the generated script.
Escaping them renders the comment literally, as intended. Checked the whole
heredoc body afterwards: no unescaped backticks remain anywhere in it, and
the pin block itself has no unescaped $, so it now renders verbatim.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1bdd208 commit 39cd25c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
0 commit comments