-
Notifications
You must be signed in to change notification settings - Fork 902
Building From Source
If you want to compile the latest GIT version, you need a computer running Linux (any recent distro should work). Follow the steps below to download, compile and prepare the image from the GIT repo. Replace [board] with your actual board's name (e.g. raspberrypi
).
-
make sure your system meets the BuildRoot requirements
-
clone the repository and change the current directory:
git clone --depth 1 https://github.com/ccrisan/motioneyeos.git motioneyeos cd motioneyeos
-
optionally make your changes to the package selection and buildroot configuration:
./build.sh [board] xconfig
-
build the image for your board (at some point you'll be prompted for your password to become root):
./build.sh [board]
If everything went well, you will find your freshly built image at
output/[board]/images/motioneyeos-[board].img
. -
write the image file to your SD card using your preferred method (e.g. with
dd
, replacing/dev/mmcblk0
with your SD card reader device):sudo dd if=output/[board]/images/motioneyeos-[board].img of=/dev/mmcblk0 bs=4M