From 0c5de8957a7bca2bb03e64705e5194348983dd65 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Sun, 9 Aug 2009 01:30:50 +0200 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrelease/Makefile b/nrelease/Makefile index 606aada4a4..2b24789625 100644 --- a/nrelease/Makefile +++ b/nrelease/Makefile @@ -339,7 +339,7 @@ customizeiso: mkdir -p ${ISOROOT}/usr/pkgobj/bootstrap mkdir -p ${ISOROOT}/usr/pkgsrc mount_null ${PKGSRC_PATH} ${ISOROOT}/usr/pkgsrc - mount_devfs ${ISOROOT}/dev + mount_null /dev ${ISOROOT}/dev cp /etc/shells ${ISOROOT}/usr/pkgsrc/distfiles/.test > /dev/null 2>&1 \ || mount_null ${ISODIR}/distfiles ${ISOROOT}/usr/pkgsrc/distfiles # -- 2.41.0