Skip to content

Commit

Permalink
note RaspberryPi build requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Jun 5, 2022
1 parent 014f186 commit 98a07ce
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,24 @@ Then unplug and replug the blink(1) device.

Install the following pre-requisites:

- libgnome-keyring-dev
- icnsutils
- xz-utils
- rpm
- bsdtar
- libusb-1.0.0-dev
- libudev-dev
```sh
sudo apt install libgnome-keyring-dev icnsutils xz-utils rpm bsdtar libusb-1.0.0-dev libudev-dev
```

(see: https://github.com/electron-userland/electron-builder/issues/1407)

#### Raspberry Pi

As above for Linux, and if building from source:

```
sudo apt install --no-install-recommends -y ruby-full bsdtar rpm libopenjp2-tools
sudo gem install fpm -v 1.10.1
export USE_SYSTEM_FPM="true"
npm install
npm run dist:raspi
```

### Other info
- [Publishing.md](Publishing.md) for info on publishing binaries
- [NOTES.md](NOTES.md) for random behind-the-scenes thoughts

0 comments on commit 98a07ce

Please sign in to comment.