aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2002-09-09 05:16:06 +0000
committerdancer <dancer>2002-09-09 05:16:06 +0000
commit4996005ac92e73ddf86599d165f0b9eae8e13015 (patch)
tree7cc977e4923404050f6d85259ef2e29ac1c1f5d6
parent08d436712c82d14ba8d275179aa7a5bd06b16032 (diff)
downloadpbuilder-4996005ac92e73ddf86599d165f0b9eae8e13015.tar
pbuilder-4996005ac92e73ddf86599d165f0b9eae8e13015.tar.gz
+ * pbuilder-modules: add devfs support
+ Thanks to: "Dagfinn Ilmari Manns?er" <ilmari@ping.uio.no> + + * pbuilderrc (USEDEVFS): change default value on USEDEVFS + * pbuilderrc.5: update docs on noninteractive. + document USEDEVFS
-rw-r--r--ChangeLog6
-rw-r--r--debian/changelog3
-rw-r--r--pbuilder-modules9
-rwxr-xr-xpbuilderrc1
-rw-r--r--pbuilderrc.54
5 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ff6b40..dc0125a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
2002-09-09 Junichi Uekawa <dancer@debian.org>
+ * pbuilder-modules: add devfs support
+ Thanks to: "Dagfinn Ilmari Manns?er" <ilmari@ping.uio.no>
+
+ * pbuilderrc (USEDEVFS): change default value on USEDEVFS
+
* pbuilderrc.5: update docs on noninteractive.
+ document USEDEVFS
2002-09-06 Junichi Uekawa <dancer@debian.org>
diff --git a/debian/changelog b/debian/changelog
index 468baba..45b91c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
pbuilder (0.37) unstable; urgency=low
* Document how to not be noninteractive. (closes: #155655)
+ * Add support for devfs (closes: #157074)
- -- Junichi Uekawa <dancer@debian.org> Mon, 9 Sep 2002 14:10:58 +0900
+ -- Junichi Uekawa <dancer@debian.org> Mon, 9 Sep 2002 14:16:22 +0900
pbuilder (0.36) unstable; urgency=low
diff --git a/pbuilder-modules b/pbuilder-modules
index fad0574..30c49c7 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -92,6 +92,10 @@ EOF
echo " -> unmounting /dev/pts filesystem"
umount "$BUILDPLACE/dev/pts" || true
fi
+ if [ "$USEDEVFS" = "yes" ]; then
+ echo " -> unmounting /dev filesystem"
+ umount "$BUILDPLACE/dev" || true
+ fi
}
function mountproc () {
@@ -105,6 +109,11 @@ function mountproc () {
mkdir -p $BUILDPLACE/dev/pts || true
mount -t devpts /dev/pts "$BUILDPLACE/dev/pts"
fi
+ if [ "$USEDEVFS" = "yes" ]; then
+ echo " -> mounting /dev filesystem"
+ mkdir -p $BUILDPLACE/dev || true
+ mount -t devfs /dev "$BUILDPLACE/dev"
+ fi
}
function cleanbuildplace () {
diff --git a/pbuilderrc b/pbuilderrc
index aa5b550..7cd2093 100755
--- a/pbuilderrc
+++ b/pbuilderrc
@@ -12,6 +12,7 @@ MIRRORSITE=http://www.jp.debian.org/debian
#export http_proxy=http://your-proxy:8080/
USEPROC=yes
USEDEVPTS=yes
+USEDEVFS=no
BUILDRESULT=/var/cache/pbuilder/result/
# specifying the distribution forces the distribution on "pbuilder update"
diff --git a/pbuilderrc.5 b/pbuilderrc.5
index 9558912..ea02027 100644
--- a/pbuilderrc.5
+++ b/pbuilderrc.5
@@ -240,6 +240,10 @@ pbuilder run to be interactive.
Change this value when noninteractive upgrades
do not work.
+.TP
+.BI "USEDEVFS=" "no"
+Whether to use DEVFS or not.
+
.SH "FILES"
.I "/etc/pbuilderrc"
.SH "SEE ALSO"