diff options
author | dancer <dancer> | 2002-02-01 15:54:33 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-02-01 15:54:33 +0000 |
commit | 44c942e763f3964835cc6ced1405b61d8fc11553 (patch) | |
tree | 12a3bc1774ddf08f2150b3b8017a10ead419f3a0 /pbuilder-modules | |
parent | 6a7db4483bdc346307c0728b78a30d4bb21a9663 (diff) | |
download | pbuilder-44c942e763f3964835cc6ced1405b61d8fc11553.tar pbuilder-44c942e763f3964835cc6ced1405b61d8fc11553.tar.gz |
many modifications done to make things improved.
Diffstat (limited to 'pbuilder-modules')
-rw-r--r-- | pbuilder-modules | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pbuilder-modules b/pbuilder-modules index b838665..ca507bb 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -43,6 +43,7 @@ pbuilder options --debemail [mail address] --debbuildopts [dpkg-buildpackage options] --logfile [filename to output log] + --aptconfdir [overriding apt config dir] pdebuild options --pbuilderroot [command to obtain root privilate for pbuilder] @@ -94,7 +95,7 @@ function umountproc_cleanbuildplace () { } function installaptlines (){ - echo Installing apt-lines + echo " -> Installing apt-lines" rm -f "$BUILDPLACE"/etc/apt/sources.list if [ -z "$DISTRIBUTION" ]; then echo "Distribution not specified, please specify" >&2 @@ -115,7 +116,10 @@ deb $NONUSMIRRORSITE $DISTRIBUTION/non-US main contrib non-free #deb-src $NONUSMIRRORSITE $DISTRIBUTION/non-US main contrib non-free EOF fi - + if [ -n "$APTCONFDIR" ]; then + echo " -> Copy " "$APTCONFDIR"/* " to chroot" + cp -a "$APTCONFDIR/"* "$BUILDPLACE"/etc/apt + fi } function extractbuildplace () { |