mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02: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>
This commit is contained in:
parent
b6a1645a97
commit
c57b464b88
|
@ -62,7 +62,7 @@ CMDLINE = " \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
echo "${@' '.join('${CMDLINE}'.split())}" > "${WORKDIR}/cmdline.txt"
|
echo "${@' '.join(d.getVar('CMDLINE').split())}" > "${WORKDIR}/cmdline.txt"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_deploy() {
|
do_deploy() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user