mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
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:
parent
aaeb90959f
commit
0a181df8c5
|
@ -26,6 +26,9 @@ do_deploy() {
|
||||||
if [ -n "${KEY_DECODE_WVC1}" ]; then
|
if [ -n "${KEY_DECODE_WVC1}" ]; then
|
||||||
sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
|
sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
|
||||||
fi
|
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}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user