From 1bf03aef0949afb306cc62826eae511d1c241d7e Mon Sep 17 00:00:00 2001 From: memox_5 Date: Thu, 14 Feb 2019 15:15:58 +0200 Subject: [PATCH] rpi-config: used printf to escape properly Used printf command because on some systems bash doesn't escape sequences consistently. Signed-off-by: memox5 --- recipes-bsp/bootfiles/rpi-config_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index d92b8e4..fcc7771 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -184,7 +184,7 @@ do_deploy() { fi # Append extra config if the user has provided any - echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + printf "${RPI_EXTRA_CONFIG}\n" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt } do_deploy_append_raspberrypi3-64() {