diff options
author | Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com> | 2021-02-04 02:34:20 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2021-02-08 17:37:46 +0000 |
commit | f5fe02c30cc82e3f47c36de76d7b73d2482018bf (patch) | |
tree | f19acf78f5c22af6c0e817741a036e06634b5203 /recipes-bsp | |
parent | 509ff8c73229bf483c67299ae12f7b352e348b81 (diff) | |
download | meta-raspberrypi-f5fe02c30cc82e3f47c36de76d7b73d2482018bf.tar.gz |
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>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/bootfiles/rpi-cmdline.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/bootfiles/rpi-cmdline.bb b/recipes-bsp/bootfiles/rpi-cmdline.bb index 97db4e3..40a9949 100644 --- a/recipes-bsp/bootfiles/rpi-cmdline.bb +++ b/recipes-bsp/bootfiles/rpi-cmdline.bb | |||
@@ -37,7 +37,7 @@ CMDLINE = " \ | |||
37 | " | 37 | " |
38 | 38 | ||
39 | do_compile() { | 39 | do_compile() { |
40 | echo "${CMDLINE}" > "${WORKDIR}/cmdline.txt" | 40 | echo "${@' '.join('${CMDLINE}'.split())}" > "${WORKDIR}/cmdline.txt" |
41 | } | 41 | } |
42 | 42 | ||
43 | do_deploy() { | 43 | do_deploy() { |