aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2003-01-29 09:48:50 +0000
committerdancer <dancer>2003-01-29 09:48:50 +0000
commit6905ddc1baaf46ee92a3099cbfb2d3d76507cfd5 (patch)
tree5239925d312c9a6dfb97ff118fa5c32fcf505bca
parentc01429fec1473eaf460351e85cb861ae19ad0e77 (diff)
downloadpbuilder-6905ddc1baaf46ee92a3099cbfb2d3d76507cfd5.tar
pbuilder-6905ddc1baaf46ee92a3099cbfb2d3d76507cfd5.tar.gz
up
-rw-r--r--ChangeLog9
-rw-r--r--debian/changelog4
-rwxr-xr-xpbuilder5
-rw-r--r--pbuilder-uml.conf2
-rw-r--r--pbuilder-uml.conf.58
5 files changed, 24 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2646ee3..fa92d0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-01-29 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder: add warning on never to bind mount on login.
+
+ * pbuilder-uml.conf.5: document the FQDN lookup quirk.
+
+ * pbuilder-uml.conf (UML_HOSTNAME): default value is the hostname
+ of the host system.
+
2003-01-28 Junichi Uekawa <dancer@debian.org>
* Documentation/pbuilder-doc.xml (EXTRAPACKAGES): document that.
diff --git a/debian/changelog b/debian/changelog
index 012383e..ac57982 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ pbuilder (0.64) UNRELEASED; urgency=low
* Apply patch from Daniel Schepler <schepler@math.berkeley.edu>,
to improve speed of build-dep satisfying routine.
(closes: #178552)
+ * UML: match hostname of UML to the host hostname, so that
+ "hostname -f " will reliably work.
- -- Junichi Uekawa <dancer@debian.org> Tue, 28 Jan 2003 22:31:54 +0900
+ -- Junichi Uekawa <dancer@debian.org> Wed, 29 Jan 2003 18:45:43 +0900
pbuilder (0.63) unstable; urgency=low
diff --git a/pbuilder b/pbuilder
index ca88c87..1f9df25 100755
--- a/pbuilder
+++ b/pbuilder
@@ -39,7 +39,10 @@ case "$1" in
. /usr/lib/pbuilder/pbuilder-checkparams
extractbuildplace
trap umountproc_cleanbuildplace exit
- echo " -> entering the shell"
+ echo " -> entering the shell
+DO NOT bind mount file system inside, they will be cleaned.
+File extracted to: $BUILDPLACE
+"
chroot "$BUILDPLACE" bin/bash
;;
*)
diff --git a/pbuilder-uml.conf b/pbuilder-uml.conf
index fce9858..c40ceb8 100644
--- a/pbuilder-uml.conf
+++ b/pbuilder-uml.conf
@@ -10,7 +10,7 @@ PBUILDER_UML_IMAGE="${HOME}/uml-image"
UML_MOUNT_TMPFS="no"
BUILDPLACE="${HOME}/tmp/"
UML_MEM=128M
-UML_HOSTNAME=uml-host
+UML_HOSTNAME=$(hostname)
UML_BUILDRESULT=
diff --git a/pbuilder-uml.conf.5 b/pbuilder-uml.conf.5
index 85d3c29..8a688df 100644
--- a/pbuilder-uml.conf.5
+++ b/pbuilder-uml.conf.5
@@ -55,7 +55,13 @@ Give more value to here.
.TP
.BI "UML_HOSTNAME=" "uml-host"
-The hostname for the UML
+The hostname for the UML.
+
+The hostname should be available in
+.B /etc/hosts
+so that
+.B "hostname -f "
+will be able to return the FQDN.
.TP
.BI "UML_BUILDRESULT=" "/directory/of/build/result"