Page MenuHomeFreeBSD

release/vm: add a WITHOUT_QEMU option
ClosedPublic

Authored by brooks on Mar 10 2025, 6:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 2, 8:11 PM
Unknown Object (File)
Tue, Oct 28, 1:16 AM
Unknown Object (File)
Mon, Oct 27, 5:09 AM
Unknown Object (File)
Mon, Oct 27, 12:47 AM
Unknown Object (File)
Mon, Oct 27, 12:44 AM
Unknown Object (File)
Sun, Oct 26, 9:48 PM
Unknown Object (File)
Sun, Oct 26, 9:44 PM
Unknown Object (File)
Sun, Oct 26, 5:35 PM
Subscribers

Details

Summary

This option disables trying to build a qemu-<target>-static and simply
doesn't do any of the operations that rely on it. At a glance, all
appear to be useful, but not essential to building simple images without
packages.

Disable all CLOUDWARE variants that require pkg when WITHOUT_QEMU is set
as this currently requires qemu support.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 62875
Build 59759: arc lint + arc unit

Event Timeline

  • Don't require WITHOUT_QEMU to have a value
  • Rebase

Implement suggetions from @jrtc27

  • Use shell variable substitutions instead of temporaries
  • Use DESTDIR-relative paths in makefs calls

Implement suggetions from @jrtc27

  • Use shell variable substitutions instead of temporaries
  • Use DESTDIR-relative paths in makefs calls

Sigh, somehow the fix applied to the wrong commit. Will reconstruct and update.

Restore to previous version

This revision is now accepted and ready to land.Mar 12 2025, 6:00 PM
This revision was automatically updated to reflect the committed changes.