From 9bf918014bbf1df7b2f4844cc5e70532a625f887 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 11 Dec 2017 19:50:40 +0000 Subject: rpi-config: Add RPI_EXTRA_CONFIG option The variable RPI_EXTRA_CONFIG can be set in local.conf to append text to the Raspberry Pi config.txt file as described in the documentation. Signed-off-by: Paul Barker --- docs/extra-build-config.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs') diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index 380d969..d162abc 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md @@ -186,3 +186,19 @@ RaspberryPi3 will have to explicitely set in local.conf: Ref.: * * + +## Manual additions to config.txt + +The `RPI_EXTRA_CONFIG` variable can be used to manually add additional lines to +the `config.txt` file if there is not a specific option above for the +configuration you need. To add multiple lines you must include `\n` separators. +If double-quotes are needed in the lines you are adding you can use single +quotes around the whole string. + +For example, to add a comment containing a double-quote and a configuration +option: + + RPI_EXTRA_CONFIG = ' \n \ + # Raspberry Pi 7\" display/touch screen \n \ + lcd_rotate=2 \n \ + ' -- cgit v1.2.3-54-g00ecf