Skip to content

Commit

Permalink
Update create_image.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara authored May 16, 2021
1 parent 58df7d8 commit 0fd4505
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions create_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ Comment it out to avoid such errors from arising on your Pi.
# Disable the HDMI port (to save power)
@reboot /usr/bin/tvservice -o
```
- Disable the swap (swaps tends to "burn" SD cards very fast due to the very frequent writes. Turns out the Raspberry Pi has quite enough RAM to work without swap):
- `sudo dphys-swapfile swapoff`
- `sudo dphys-swapfile uninstall`
- `sudo update-rc.d dphys-swapfile remove`
- `sudo apt purge dphys-swapfile`

- Install the webcam module:
- Install pip3 and venv: `sudo apt install -y python3-pip python3-venv`
- Create venv in the home: `cd ~ && python3 -m venv venv`
Expand Down

0 comments on commit 0fd4505

Please sign in to comment.