diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | pbuilder-modules | 2 |
3 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2002-05-26 Junichi Uekawa <dancer@debian.org> + + * pbuilder-modules: use readlink -f to determine the real location of etc/hostname etc. + 2002-05-14 Junichi Uekawa <dancer@debian.org> * pbuilder-buildpackage: add handler for some .dsc files which diff --git a/debian/changelog b/debian/changelog index 0629b12..1e670eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pbuilder (0.31) unstable; urgency=low + + * Use readlink -f to work with symlinks also. Thanks to Erich Schubert for + noticing the problem (closes: #142987) + + -- Junichi Uekawa <dancer@debian.org> Sun, 26 May 2002 18:59:53 +0900 + pbuilder (0.30) unstable; urgency=low * Check the .dsc parsing routine, which seems to get broken by some packages diff --git a/pbuilder-modules b/pbuilder-modules index 1e3d7a7..bf36a40 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -169,7 +169,7 @@ function extractbuildplace () { mkdir -p "$BUILDPLACE/tmp/buildd" echo " -> copying/creating local configuration" for a in hosts hostname resolv.conf; do - cp /etc/$a "$BUILDPLACE/etc/$a"; + cp $( readlink -f /etc/$a ) "$BUILDPLACE/etc/$a"; done hostname -f > "$BUILDPLACE/etc/mailname" |