Builder for a UEFI-enabled RouterOS CHR image using GitHub Action.
Mikrotik's virtual machine version of RouterOS ("CHR") is downloadable as a RAW image. However, this image is incompatible with UEFI-based bootloaders. Specifically, Apple's Virtualization Framework for Intel-based MacOS to run RouterOS CHR
Non-EUFI raw images for "stable" and "testing" for latest version are downloaded. CI will convert the paritioning scheme from EXT2 to FAT16 using gdisk
& publish as a release.
- CI builder https://github.com/tikoci/fat-chr/blob/main/.github/workflows/build.yaml
- Raw Image Converter Script https://github.com/tikoci/fat-chr/blob/main/build.bash
Any git change in script/workflow will trigger a build. There is also "workflow_dispatch" on the "Build and Release" to manual trigger a specific build to fetch older/specific verisons. New builds are done weekly via "cron" on Monday. All builds marked as "pre-release" in Releases and must be manually changed to remove the flag. No check is done if a verision was already build, so duplicates can be deleted manually.
@kriszos's posting on the Mikrotik forum which had a bash script to convert the CHR raw image from EXT2 to FAT16 script.