- Download and unpack buildroot
- Download and unpack octoprint-buildroot
cd
into the buildroot directory and run
$ make BR2_EXTERNAL=/path/to/octoprint-buildroot `TARGET`
TARGET
can be any build option supported by Buildroot. Examples for Raspberry Pi are below
raspberrypi3_defconfig
: Raspberry Pi 3/3B/CM3raspberrypi0w_defconfig
: Raspberry Pi Zero W
TODO: include this configuration automatically
cd
into the buildroot directory- Run
make menuconfig
- Select the following options:
System configuration --> Path to the users table --> /path/to/octoprint-buildroot/board/raspi/octoprint/users
System configuration --> Root filesystem overlay directories --> /path/to/octoprint-buildroot/board/raspi/octoprint/rootfs-overlay
Toolchain --> Enable WCHAR support
Target packages --> Interpreter languages and scripting --> Python
External options --> OctoPrint --> octoprint - Save and exit
- Run
make
Once the build is finished, write the sdcard.img file in output/images to an SD card using dd
or other option of your choice.