Awesome
Syncloud image building process
We do not build our own kernels at the moment, instead we extract kernels and kernel modules from corresponding images (base images) created by board producers or board communities.
So to support new board you need to:
- Find a good base image
- Upload to our artifacts server (for testing you can point extractor at any url)
- Modify extractor script to give it a name.
- Add an identification file to files
- Modify build script to include the new image name.
- Build an image
sudo /path/to/drone exec --pipeline=[board-spec] --trusted
Example
sudo /path/to/drone exec --pipeline=amd64-uefi-all-buster --trusted
Example output image file in the current dir
syncloud-amd64-uefi-all-21.01.img.xz
Useful image scripts
Write an image to a device (if etcher cli is not available)
xzcat syncloud-[board]-[release].img.xz | dd of=/dev/[device] status=progress bs=4M
Virtual Box image
Convert x64 image file to a vdi file
unxz syncloud-amd64-[version].img.xz
sudo -H ./create_vbox_image.sh syncloud-amd64-[version].img
sudo chown $USER. syncloud-amd64-[version].vdi.xz