diff options
| author | Paul Barker <pbarker@toganlabs.com> | 2017-12-11 19:50:40 +0000 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2017-12-18 19:20:43 +0000 |
| commit | 9bf918014bbf1df7b2f4844cc5e70532a625f887 (patch) | |
| tree | dee5cb894874fce5cf9720a65e9663513e7810b5 /recipes-bsp | |
| parent | 8124f871753fb874e927c222d574ace1c4dfc2c1 (diff) | |
| download | meta-raspberrypi-9bf918014bbf1df7b2f4844cc5e70532a625f887.tar.gz | |
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 <pbarker@toganlabs.com>
Diffstat (limited to 'recipes-bsp')
| -rw-r--r-- | recipes-bsp/bootfiles/rpi-config_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index ca4160b..49758ac 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb | |||
| @@ -127,6 +127,9 @@ do_deploy() { | |||
| 127 | echo "hdmi_cvt 1024 600 60 6 0 0 0" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 127 | echo "hdmi_cvt 1024 600 60 6 0 0 0" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
| 128 | echo "hdmi_drive=1" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 128 | echo "hdmi_drive=1" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
| 129 | fi | 129 | fi |
| 130 | |||
| 131 | # Append extra config if the user has provided any | ||
| 132 | echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
| 130 | } | 133 | } |
| 131 | 134 | ||
| 132 | do_deploy_append_raspberrypi3-64() { | 135 | do_deploy_append_raspberrypi3-64() { |
