Page MenuHomeFreeBSD

Update Azure release bits
ClosedPublic

Authored by lwhsu on Feb 23 2020, 9:50 AM.

Details

Summary

More documents will follow.

Update Azure release bits

Imports the changes for building official images on Azure Marketplace,
which fulfill the requirements of Azure and FreeBSD cloud images like
disk layout and UEFI for Gen2 VM, along with some minor improvements like
configurations to speed up booting.

Sponsored by:   The FreeBSD Foundation
Technical assistance from:  Microsoft

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

It's weird that I got Error parsing field "Reviewers": The objects you have listed include objects which do not exist (#releng). when updating this differential.

Remove sneaked debug code.

gjb added inline comments.
release/Makefile.azure
14

How does it get run automatically, then? Is there a .config directory or similar that can be extracted into the build chroot environment?

release/Makefile.azure
14

Yes, after doing az login (see target azure-do-login) the credential will be stored in ~/.azure

This is learnt from Makefile.gce, please let me know if there is a preferable way.

release/Makefile.azure
14

OK, thanks. (Note, I have not yet reviewed the rest of this. I plan to do so today.)

Fix the issues found in the closed tests.

I will take a look at this more closely once we are out of the 11.4 cycle.

release/tools/azure.conf
5

convention

Update to the version I used for 11.4-RELEASE

It turns out that there is actually no az login required to upload an image
or generate an access URL. Setting the access token in the config file is
enough, thus simply remove the azure-do-login target.

I think this version is good for review. The doc about how to use Microsoft
Partner Center to publish the image (VM offer) will be posted to here soon.

Update to codes for building 13.0-R image,
including some new requirements from Azure

release/Makefile.vm
177

This will be in a separated commit.

gjb added inline comments.
release/Makefile.vm
19

Please leave this change out for now, so there is time to do additional testing.

This revision is now accepted and ready to land.Oct 1 2021, 4:28 PM
This revision was automatically updated to reflect the committed changes.