nrelease: do not mount devfs for build
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 8 Aug 2009 23:30:50 +0000 (01:30 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Sun, 9 Aug 2009 08:32:32 +0000 (10:32 +0200)
commit0c5de8957a7bca2bb03e64705e5194348983dd65
treea96f8b6afc9b63b7ac69b01659db11aa7e33b9a9
parent96762401fee8b7a2a5e2ec89c19a2fe9c51d7592
nrelease: do not mount devfs for build

We should not rely on devfs being present on the build host, since it
might be running an older kernel (e.g. release).  Instead of mounting
/dev into the chroot via devfs, use a null mount of the host /dev.

Suggested-by: dillon@
nrelease/Makefile