Credits

Pre-requisites

docker-compose run virtual-env

NOTE: In case of issue, increase watch file using command sudo sysctl -n -w fs.inotify.max_user_watches=1048576

Build/Test x86 image

  • Build image
cooker cook rpi_v2.json x86
  • Test image
cooker  shell  x86
runqemu nographic slirp

login is stack and password is stack

The new binary file imported is then

noclue
  • Exit
sudo  /sbin/halt

Build/Test rpi3 image

  • Build image
cooker cook rpi_v2.json rpi3
  • Copy image on sd card
sudo dd if=./builds/build-pi3/tmp/deploy/images/raspberrypi3/core-image-base-raspberrypi3.rpi-sdimg of=/dev/sdd