Page MenuHomeFreeBSD

Cloud releases: Switch to firstboot_pkg_upgrade
ClosedPublic

Authored by ziaee on May 8 2026, 3:52 PM.
Tags
None
Referenced Files
F160429233: D56890.id177850.diff
Wed, Jun 24, 8:25 AM
Unknown Object (File)
Thu, Jun 18, 2:02 AM
Unknown Object (File)
Wed, Jun 17, 4:33 PM
Unknown Object (File)
Tue, Jun 16, 1:30 AM
Unknown Object (File)
Mon, Jun 8, 9:08 AM
Unknown Object (File)
Mon, Jun 8, 8:55 AM
Unknown Object (File)
Thu, Jun 4, 4:58 PM
Unknown Object (File)
Sun, May 31, 4:35 AM
Subscribers

Details

Summary

Cloud images are deployed with base system packages. Introduce a firstboot package auto updater to patch the base system on first boot.

MFC after: 1 hour
MFC to: stable/15
Sponsored by: Google Cloud

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ziaee requested review of this revision.May 8 2026, 3:52 PM

This is probably all you want, unless you want to also restrict the updates to FreeBSD-base. That's what I'll be doing in EC2; I don't want to risk things breaking if e.g. something happens with the python port.

This shouldn't be MFCed to stable/14 because we're not using pkgbase there.

Yes, we should do the other cloud images as well. I want to test in EC2 though.

release/tools/azure.conf
46

firstboot_pkg_upgrade_repos

release/tools/ec2-base.conf
18

firstboot_pkg_upgrade

release/tools/gce.conf
49

Did you mean to delete this line?

fix lazy line reuse ^.^ thanks @cperciva!

This revision is now accepted and ready to land.May 14 2026, 8:55 PM
ziaee retitled this revision from GCE: Switch to FreeBSD-pkg-upgrade to Cloud releases: Switch to firstboot_pkg_upgrade.May 14 2026, 9:04 PM
ziaee edited the summary of this revision. (Show Details)