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 <julian@jusst.de>
This commit is contained in:
Julian Scheel 2012-09-22 15:02:37 +02:00 committed by Andrei Gherzan
parent aaeb90959f
commit 0a181df8c5

View File

@ -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}"