build_sdcard: remove MagPi pdf from Raspiban

This commit is contained in:
openoms 2020-04-01 14:35:10 +01:00
parent 18c81bc4e6
commit ecc69c9928
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

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