Bug#630813: [PATCH] modules: Always use devfs on kfreebsd
James Clarke
jrtc27 at jrtc27.com
Tue Mar 15 15:25:20 UTC 2016
---
pbuilder-modules | 4 ++--
pbuilderrc.5 | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pbuilder-modules b/pbuilder-modules
index 1ccb5ab..c196f85 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -233,7 +233,7 @@ function umountproc () {
if [ "$DEB_BUILD_ARCH_OS" = "linux" ] && [ "$USEDEVPTS" = "yes" ]; then
umount_one "dev/pts"
fi
- if [ "$USEDEVFS" = "yes" ]; then
+ if [ "$DEB_BUILD_ARCH_OS" = "kfreebsd" ] || [ "$USEDEVFS" = "yes" ]; then
umount_one "dev"
fi
if [ "$USERUNSHM" = "yes" ] && [ "$DEB_BUILD_ARCH_OS" != "hurd" ]; then
@@ -286,7 +286,7 @@ function mountproc () {
ln -s ../proc/mounts "$BUILDPLACE/etc/mtab" 2> /dev/null || true
mounted[${#mounted[@]}]="$BUILDPLACE/proc"
fi
- if [ "$USEDEVFS" = "yes" ]; then
+ if [ "$DEB_BUILD_ARCH_OS" = "kfreebsd" ] || [ "$USEDEVFS" = "yes" ]; then
log.i "mounting /dev filesystem"
mkdir -p "$BUILDPLACE/dev" || true
mount -t devfs /dev "$BUILDPLACE/dev"
diff --git a/pbuilderrc.5 b/pbuilderrc.5
index 9d1124d..9ff5b78 100644
--- a/pbuilderrc.5
+++ b/pbuilderrc.5
@@ -381,7 +381,7 @@ Sets timeout time.
Build will be stoped with SIGTERM after the set time.
.TP
.BI "USEDEVFS=" "no"
-Whether to use DEVFS or not.
+Whether to use DEVFS or not. Has no effect on kFreeBSD, as DEVFS is always used.
.TP
.BI "USEDEVPTS=" "yes"
Specify
--
2.5.1
More information about the Pbuilder-maint
mailing list