mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
README.md: mention disabling parallel build on Pi
On bullseye it seems to default to 'make -j4' which will results in OOM when it runs out of swap == [ 3004.100215] Out of memory: Killed process 6983 (cc1plus) total-vm:211660kB, anon-rss:170332kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:428kB oom_score_adj:0 == Mention how to disable parallel build in README.md
This commit is contained in:
parent
35172d3489
commit
8b25991537
1 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,14 @@ sudo apt install --no-install-recommends build-essential devscripts debhelper cm
|
||||||
git clone --depth 1 https://github.com/raspberrypi/rpi-imager
|
git clone --depth 1 https://github.com/raspberrypi/rpi-imager
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Building on the Pi
|
||||||
|
|
||||||
|
If building on a device with limited memory (e.g. 1 GB Pi), disable parallel build or it may run out of memory:
|
||||||
|
|
||||||
|
```
|
||||||
|
export DEB_BUILD_OPTIONS="parallel=1"
|
||||||
|
```
|
||||||
|
|
||||||
#### Build the Debian package
|
#### Build the Debian package
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue