rpi-config: fix do_deploy

* in https://github.com/agherzan/meta-raspberrypi/pull/678 this line was acidentally changed
  from "${BOOTFILES_DIR_NAME}" to "bcm2835-bootfiles", causing do_deploy to fail finding config.txt

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 5c9309de87)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
Martin Jansa 2021-01-14 17:22:39 +01:00 committed by Andrei Gherzan
parent 18fd207e70
commit 5da689d0af

View File

@ -121,7 +121,7 @@ do_deploy() {
# of the file. The underlying cause is unknown, but it can be related with a file size limitation affecting # of the file. The underlying cause is unknown, but it can be related with a file size limitation affecting
# this variable. Therefore, "start_x=1" has been set to replace the original occurrence in config.txt, # this variable. Therefore, "start_x=1" has been set to replace the original occurrence in config.txt,
# which is at the middle of the file. # which is at the middle of the file.
sed -i '/#start_x=/ c\start_x=1' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt sed -i '/#start_x=/ c\start_x=1' ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
fi fi
# Offline compositing support # Offline compositing support