helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
805 stars 59 forks source link

Build ISOs for arm64 = aarch64 #418

Closed probonopd closed 1 year ago

probonopd commented 1 year ago

This does not work:

task:
  compute_engine_instance:
    platform: freebsd
    cpu: 4
    memory: 16G
    matrix:
    - name: arm64
      image_family: freebsd-13-1
      # image_family: freebsd-14-0-snap # Disabled due to https://github.com/helloSystem/ISO/issues/389
      arch: arm64

Cirrus CI says:

Failed to start an instance: INVALID_ARGUMENT: Bad Request 400 Bad Request POST https://compute.googleapis.com:443/compute/v1/projects/cirrus-ci-community/zones/us-central1-c/instances { "error": { "code": 400, "message": "Invalid value for field 'resource.disks[0].initializeParams.sourceImage': 'projects/freebsd-org-cloud-dev/global/images/'. The referenced image resource cannot be found.", "errors": [ { "message": "Invalid value for field 'resource.disks[0].initializeParams.sourceImage': 'projects/freebsd-org-cloud-dev/global/images/'. The referenced image resource cannot be found.", "domain": "global", "reason": "invalid" } ] } }

If anyone knows how to do FreeBSD builds for arm64 on Cirrus CI, please let me know.

PaulMcClernan commented 1 year ago

First let me say thanks for working on this, the world needs a FOSS Mac-Like OS (not just the look). Secondly, are you sure you want to stick with FreeBSD? If a goal is to run it on cheap / low powered hardware like RPi then wouldn't it be better to go with a Debian Linux base like Rasbian? From my experience its been much easier to get a Linux running on old, sometimes obscure hardware. For example I have an old HP Pavilion DV7-3183 (1st Gen Core i5) and I cannot boot any FreeBSD Live Image on it (although ironically I CAN boot Snow Leopard on it). NomadBSD almost works on it but that's with FreeBSD 12.x base. I do like the idea of have a Unix/BSD (or Darwin) base, it's just that there's vastly more support for wide variety of hardware in the Linux world. Just my two cents. Thanks!

probonopd commented 1 year ago

hi @PaulMcClernan. FreeBSD may be a bit more picky regarding the hardware, but in my view the benefits at this time clearly outweigh the limitations.

probonopd commented 1 year ago

Closing in favor of