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.
Details
Details
Diff Detail
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
Comment Actions
Test plan: build with 'LOCAL_XTOOL_DIRS=lib/libnetbsd usr.sbin/makefs usr.bin/mkimg' on Linux.