diff options
author | dancer <dancer> | 2002-05-07 10:10:54 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-05-07 10:10:54 +0000 |
commit | 74ba07c8467c28e834496bd9653a41a9c9ef6973 (patch) | |
tree | 263d01385921bfa89fc8dfa17126dc06ec1674c5 | |
parent | 06df765495a8e8e1323f7371db0f95da53ff4881 (diff) | |
download | pbuilder-74ba07c8467c28e834496bd9653a41a9c9ef6973.tar pbuilder-74ba07c8467c28e834496bd9653a41a9c9ef6973.tar.gz |
implement /dev/pts mounting routine
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | pbuilder-modules | 9 | ||||
-rwxr-xr-x | pbuilderrc | 1 | ||||
-rw-r--r-- | pbuilderrc.5 | 12 |
5 files changed, 34 insertions, 3 deletions
@@ -1,3 +1,12 @@ +2002-05-07 Junichi Uekawa <dancer@debian.org> + + * pbuilderrc.5: document USEDEVPTS + + * pbuilderrc (USEDEVPTS): added USEDEVPTS option, and change to yes. + + * pbuilder-modules: mount /dev/pts and umount. + fixed messages + 2002-05-01 Junichi Uekawa <dancer@debian.org> * debian/changelog: release 0.27 diff --git a/debian/changelog b/debian/changelog index e42c038..617bf51 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ pbuilder (0.28) unstable; urgency=low - * new release, not yet released, there are tasks to perform. - - -- Junichi Uekawa <dancer@debian.org> Wed, 1 May 2002 18:13:12 +0900 + * mount/umount /dev/pts along with /proc (closes: #146100) + + -- Junichi Uekawa <dancer@debian.org> Tue, 7 May 2002 19:00:20 +0900 pbuilder (0.27) unstable; urgency=low diff --git a/pbuilder-modules b/pbuilder-modules index 3a5182f..1e3d7a7 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -87,6 +87,10 @@ EOF done fi fi + if [ "$USEDEVPTS" = "yes" ]; then + echo " -> unmounting /dev/pts filesystem" + umount "$BUILDPLACE/dev/pts" || true + fi } function mountproc () { @@ -95,6 +99,11 @@ function mountproc () { mkdir -p $BUILDPLACE/proc mount -t proc /proc "$BUILDPLACE/proc" fi + if [ "$USEDEVPTS" = "yes" ]; then + echo " -> mounting /dev/pts filesystem" + mkdir -p $BUILDPLACE/dev/pts || true + mount -t devpts /dev/pts "$BUILDPLACE/dev/pts" + fi } function cleanbuildplace () { @@ -11,6 +11,7 @@ MIRRORSITE=http://www.jp.debian.org/debian #OTHERMIRROR="deb http://www.home.com/updates/ ./" #export http_proxy=http://your-proxy:8080/ USEPROC=yes +USEDEVPTS=yes BUILDRESULT=/var/cache/pbuilder/result/ # specifying the distribution forces the distribution on "pbuilder update" diff --git a/pbuilderrc.5 b/pbuilderrc.5 index 709c6af..4e1869d 100644 --- a/pbuilderrc.5 +++ b/pbuilderrc.5 @@ -95,6 +95,18 @@ interface. It is usually a good idea, since there are many software which fail miserably when there is no .B /proc being mounted. + +.TP +.BI "USEDEVPTS=" "yes" +Specify +.B yes +when it is desired to mount +.B /dev/pts +interface. It is usually a good idea, since there +are many software which fail miserably when there is no +.B /dev/pts +being mounted. + .TP .BI "BUILDRESULT=" "/var/cache/pbuilder/result/" Specify the default directory which the build result will |