Whonix on Mac M1 (ARM) - Development Discussion

I’ve got two raw images built (Whonix-Gateway-CLI-17.3.6.2.arm64.raw, Whonix-Workstation-Xfce-17.3.6.2.arm64.raw). I’ll post details later but right now I’ve got an error I don’t understand.

The gateway builds fine. At the end of building the workstation (derivative_maker > 5200_prepare-release > /usr/bin/dm-prepare-release), after the image already exists), the build “fails” because it can’t find the gateway image. I don’t know how it would even know if it was already built or what variant was used but it does this test:

test -f /home/builder/derivative-binary/17.3.6.2/Whonix-Gateway-Xfce-17.3.6.2.arm64.raw

This fails for two reasons. Fiirst, I moved the image out of the way. Second, I built the CLI version because I don’t anticipate spending any time in the gateway GUI.

What am I missing?