HomeFreeBSD

release: Make azure cloudware images buildable as non-root

Description

release: Make azure cloudware images buildable as non-root

  • Don't chroot to uninstall pkg since we don't install pkg in the first place.
  • Use pw -R instead of chrooting.
  • Add metalog entries.

Reviewed by: cperciva, emaste
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D52451

(cherry picked from commit bab6b01bcfead662b8b10dc52a18beeb42794505)

Details

Provenance
markjAuthored on Sep 16 2025, 4:53 PM
Reviewer
cperciva
Differential Revision
D52451: release: Make azure cloudware images buildable as non-root
Parents
rGde79f47a408b: release: Enable installing packages as a non-root user
Branches
Unknown
Tags
Unknown