-
Notifications
You must be signed in to change notification settings - Fork 3
Create BerryNet Image
Bofu Chen edited this page Jan 12, 2020
·
16 revisions
Steps to release BerryNet image
-
Download and install Raspbian to SD card.
host $ unzip -p 2019-07-15-raspbian-buster-berrynet.zip | sudo dd of=/dev/sdc bs=4M conv=fsync status=progress
Note: Filesystem will be auto-resized in booting.
-
Ensure BerryNet packages for the release have been pushed and are available on BerryNet repository.
-
Boot system and install BerryNet.
-
Raspbian configurations.
rpi $ sudo raspi-config
- Enable SSH
- Enable Camera
- Enable OpenGL fake kms
- Change locale to en_US.UTF-8
- Change keyboard layout to US
-
Install
berrynet-wallpapers
package and use BerryNet wallpaper- Choose
/usr/share/backgrounds/berrynet-blue.png
- Choose
-
Add dashboard to browser bookmark.
-
Remove unused files.
-
Delete the registered WiFi access point configurations in
/etc/wpa_supplicant/wpa_supplicant.conf
-
Recover
sdcard:/boot/config.txt
if needed. -
Delete package cache
rpi $ sudo apt-get clean rpi $ sudo apt-get autoclean
-
Delete
$HOME/.bash_history
-
Delete
/var/log/berrynet/*
-
-
Create BerryNet image.
$ sudo dd if=/dev/sdc bs=4M conv=fsync status=progress | zip -9 > /tmp/2019-07-15-raspbian-buster-berrynet.zip
-
Upload BerryNet image to data hosting (S3).