Merge pull request #1102 from openoms/purge

build_sdcard: remove MagPi pdf from Raspbian
This commit is contained in:
Christian Rotzoll 2020-04-18 18:06:03 +02:00 committed by GitHub
commit 4ef54277b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,8 @@ if [ "${baseImage}" = "raspbian" ] || [ "${baseImage}" = "dietpi" ] ; then
# https://github.com/rootzoll/raspiblitz/issues/684
sudo sed -i "s/^ SendEnv LANG LC.*/# SendEnv LANG LC_*/g" /etc/ssh/ssh_config
# remove unneccesary files
sudo rm -rf /home/pi/MagPi
fi
# remove some (big) packages that are not needed