Page MenuHomeFreeBSD

Cloud releases: Switch to firstboot_pkg_upgrade
ClosedPublic

Authored by ziaee on May 8 2026, 3:52 PM.
Tags
None
Referenced Files
F170700343: D56890.id177847.diff
Sun, Sep 6, 2:30 AM
F170655058: D56890.id177848.diff
Sat, Sep 5, 8:25 PM
Unknown Object (File)
Sat, Sep 5, 4:08 AM
Unknown Object (File)
Fri, Sep 4, 9:22 PM
Unknown Object (File)
Fri, Sep 4, 7:19 AM
Unknown Object (File)
Thu, Sep 3, 5:06 PM
Unknown Object (File)
Wed, Sep 2, 11:17 AM
Unknown Object (File)
Mon, Aug 31, 11:50 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 73108
Build 69991: arc lint + arc unit

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)