From 0a181df8c5241a6fed941d8448633b51ac5b6ee2 Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Sat, 22 Sep 2012 15:02:37 +0200 Subject: [PATCH] rpi-config: Add variable for overscan configuration. Add a DISABLE_OVERSCAN variable that can be used in local.conf to overwrite the overscan default setting. Signed-off-by: Julian Scheel --- recipes-bcm/bootfiles/rpi-config_0.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-bcm/bootfiles/rpi-config_0.1.bb b/recipes-bcm/bootfiles/rpi-config_0.1.bb index aff1e5d..28b6f19 100644 --- a/recipes-bcm/bootfiles/rpi-config_0.1.bb +++ b/recipes-bcm/bootfiles/rpi-config_0.1.bb @@ -26,6 +26,9 @@ do_deploy() { if [ -n "${KEY_DECODE_WVC1}" ]; then sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt fi + if [ -n "${DISABLE_OVERSCAN}" ]; then + sed -i '/#disable_overscan/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt + fi } PACKAGE_ARCH = "${MACHINE_ARCH}"