mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-04-02 02:49:12 +00:00
rpi-cmdline: remove unnecessary spaces from cmdline.txt
With current recipe formatting CMDLINE variable contains many unnecessary white spaces. This patch allow to drop unnecessary spaces at the moment of writing them to cmdline.txt. This will improve readability of cmdline.txt, /proc/cmdline and dmesg output. Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com> (cherry picked from commit f5fe02c30cc82e3f47c36de76d7b73d2482018bf) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
parent
e42aa976ef
commit
01bf094a8e
@ -37,7 +37,7 @@ CMDLINE = " \
|
||||
"
|
||||
|
||||
do_compile() {
|
||||
echo "${CMDLINE}" > "${WORKDIR}/cmdline.txt"
|
||||
echo "${@' '.join('${CMDLINE}'.split())}" > "${WORKDIR}/cmdline.txt"
|
||||
}
|
||||
|
||||
do_deploy() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user