aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
authordancer <dancer>2002-09-16 07:19:08 +0000
committerdancer <dancer>2002-09-16 07:19:08 +0000
commit50abd1f7ec6716770010cca83f92169aa85e852b (patch)
tree1b8bc23ca1d0f0dedcb63d51add26069db268e42 /pbuilder-modules
parente542630eab0afa93c70a8ea001c34e6d9ebaedd1 (diff)
downloadpbuilder-50abd1f7ec6716770010cca83f92169aa85e852b.tar
pbuilder-50abd1f7ec6716770010cca83f92169aa85e852b.tar.gz
+ * pbuilder-user-mode-linux: add trapping and cleaning up routine.
+ + * pbuilder-modules: modify things shuffling around until it works... + + * pbuilder-user-mode-linux (BUILDING_DSC_FILE): add call to pbuilder update. + + * pbuilder-updatebuildenv: check for INTERNAL_BUILD_UML and ignore the + basetgz creation in UML. + + * pbuilder-modules: remove invocation of hostname from uml. + + * debian/control (Depends): require 1.31.1 or greater of debianutils for readlink + + * Makefile (install): add pbuilder-user-mode-linux to install target + + * debian/control (Depends): add depends on debianutils, for readlink +
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules11
1 files changed, 6 insertions, 5 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index 4878e63..a700287 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -184,13 +184,14 @@ function extractbuildplace () {
echo "E: failed to extract $BASETGZ to $BUILDPLACE"
exit 1
fi
- echo " -> copying/creating local configuration"
- for a in hosts hostname resolv.conf; do
- cp $( readlink -f /etc/$a ) "$BUILDPLACE/etc/$a";
- done
+ echo " -> creating local configuration"
+ hostname -f > "$BUILDPLACE/etc/mailname"
fi
+ echo " -> copying local configuration"
+ for a in hosts hostname resolv.conf; do
+ cp $( readlink -f /etc/$a ) "$BUILDPLACE/etc/$a";
+ done
mountproc
- hostname -f > "$BUILDPLACE/etc/mailname"
mkdir -p "$BUILDPLACE/tmp/buildd"
if [ -n "$DISTRIBUTION" ]; then