mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-01-12 03:10:08 +00:00
rpi-cmdline: do_compile: Use pure Python syntax to get CMDLINE
Otherwise the shell snippet fails with `bad syntax` when `CMDLINE`
contains special characters like `${...}` (useful to insert a U-Boot
variable in `cmdline.txt`).
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
(cherry picked from commit c57b464b88)
This commit is contained in:
committed by
Andrei Gherzan
parent
0135a02ea5
commit
fdf8252440
@@ -62,7 +62,7 @@ CMDLINE = " \
|
||||
"
|
||||
|
||||
do_compile() {
|
||||
echo "${@' '.join('${CMDLINE}'.split())}" > "${WORKDIR}/cmdline.txt"
|
||||
echo "${@' '.join(d.getVar('CMDLINE').split())}" > "${WORKDIR}/cmdline.txt"
|
||||
}
|
||||
|
||||
do_deploy() {
|
||||
|
||||
Reference in New Issue
Block a user