Page MenuHomeFreeBSD

usr.sbin/makefs: Disable ZFS support when bootstrapping on non-FreeBSD
AbandonedPublic

Authored by arichardson on Aug 9 2022, 8:37 AM.
Tags
None
Referenced Files
F82999268: D36089.diff
Sun, May 5, 1:15 AM
Unknown Object (File)
Sun, Apr 28, 8:46 PM
Unknown Object (File)
Fri, Apr 19, 11:09 PM
Unknown Object (File)
Dec 20 2023, 4:42 AM
Unknown Object (File)
Dec 16 2023, 10:19 PM
Unknown Object (File)
Dec 11 2023, 3:35 AM
Unknown Object (File)
Oct 3 2023, 5:12 PM
Unknown Object (File)
Sep 6 2023, 8:58 AM
Subscribers
None

Details

Reviewers
markj
emaste
imp
Summary

When building makefs on non-FreeBSD we get various compiler errors
including missing include files. Having makefs buildable on non-FreeBSD
is useful for building disk images - for example, the CheriBSD CI system
bootstraps makefs as part of buildworld on a Linux host.
Ideally, we would also make zfs disk image support available on non-FreeBSD
but for now this minimal change allows continued use of makefs to create
disk image on non-FreeBSD.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 46802
Build 43691: arc lint + arc unit

Event Timeline

arichardson created this revision.

Test plan: build with 'LOCAL_XTOOL_DIRS=lib/libnetbsd usr.sbin/makefs usr.bin/mkimg' on Linux.

This revision is now accepted and ready to land.Aug 9 2022, 1:43 PM