rpi-config: Reduce config.txt size
Remove some comments to reduce config.txt file size to avoid file corruption and make sure Raspberry Pi 5 will boot successfully. The issue with large config.txt has been reported to related projects: https://github.com/raspberrypi/firmware/issues/1848 https://github.com/Evilpaul/RPi-config/issues/9 This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
This commit is contained in:

committed by
Andrei Gherzan

parent
4814f09e49
commit
357c85c5fb
@ -317,6 +317,13 @@ do_deploy() {
|
||||
echo "# Enable One-Wire Interface" >> $CONFIG
|
||||
echo "dtoverlay=w1-gpio" >> $CONFIG
|
||||
fi
|
||||
|
||||
# Reduce config.txt file size to avoid corruption and
|
||||
# to boot successfully Raspberry Pi 5. The issue has
|
||||
# been reported to related projects:
|
||||
# https://github.com/raspberrypi/firmware/issues/1848
|
||||
# https://github.com/Evilpaul/RPi-config/issues/9
|
||||
sed -i '/^##/d' $CONFIG
|
||||
}
|
||||
|
||||
do_deploy:append:raspberrypi3-64() {
|
||||
|
Reference in New Issue
Block a user