Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for FreeBSD to azure chroot builder #9695

Closed
backerman opened this issue Aug 2, 2020 · 1 comment · Fixed by #9697
Closed

Add support for FreeBSD to azure chroot builder #9695

backerman opened this issue Aug 2, 2020 · 1 comment · Fixed by #9697

Comments

@backerman
Copy link
Contributor

backerman commented Aug 2, 2020

Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

The Azure chroot builder currently only supports Linux, but I don't see a reason it wouldn't be portable to other Unix-like systems. Since I need FreeBSD support, I'm starting with that. (And I'm working on a PR at this very moment.)

Use Case(s)

Building FreeBSD images with the Azure chroot builder.

Potential configuration

{
  "variables": {
  },
  "builders": [
    {
      "type": "azure-chroot",
      "source": "thefreebsdfoundation:freebsd-12_1:12_1-release:latest",
      "image_resource_id": "/subscriptions/{{vm `subscription_id`}}/resourceGroups/{{vm `resource_group`}}/providers/Microsoft.Compute/images/freebsd-{{timestamp}}",
      "os_disk_size_gb": 64,
      "os_disk_storage_account_type": "Premium_LRS",
      "mount_partition": 2,
      "chroot_mounts": [
        ["devfs", "devfs", "/dev"],
        ["procfs", "procfs", "/proc"]
      ]
    }
  ],
  "provisioners": [
    {
      "inline": [
        "touch /test"
      ],
      "inline_shebang": "/bin/sh -x",
      "type": "shell"
    }
  ]
}

Potential References

@ghost
Copy link

ghost commented Sep 10, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Sep 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant