freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
611 stars 188 forks source link

Fail fast if user auditdistd does not exist #5

Closed jbirch closed 10 years ago

jbirch commented 11 years ago

installworld fails if the user auditdistd is not present on the system.

It would be nice if Crochet could fail early if the user does not exist. Crochet currently handles other failure cases well, such as required xdev tools not being present (IE, helpful error message, not just a random "armv6-freebsd-cc: command not found").

To Crochet's credit, re-running crochet.sh will pick up at installworld again and very little time is wasted, so this feature request is quite minor in value.

kientzle commented 10 years ago

Same issue has arisen again with 'unbound' user that was just added to the FreeBSD source tree.

A few people are trying to address this in the FreeBSD tree; it should be possible to build and install a FreeBSD system without requiring the build host to have the same users already existing.

kientzle commented 10 years ago

I'm going to close this as I believe it is really a bug in FreeBSD's install process. If you continue to have problems, please file a PR at freebsd.org.