summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Gavin <pete@gentoo.org>2001-08-10 02:28:38 +0000
committerPeter Gavin <pete@gentoo.org>2001-08-10 02:28:38 +0000
commitcc3511f4cd9fce94756be0cbfd980b3e55a30678 (patch)
tree77e8065aeda6b71c9f3ff827348210272002c993 /scripts/autobuildimg.sh
parentchanged to reflect kde-apps dispersal (diff)
downloadgentoo-2-cc3511f4cd9fce94756be0cbfd980b3e55a30678.tar.gz
gentoo-2-cc3511f4cd9fce94756be0cbfd980b3e55a30678.tar.bz2
gentoo-2-cc3511f4cd9fce94756be0cbfd980b3e55a30678.zip
*** empty log message ***
Diffstat (limited to 'scripts/autobuildimg.sh')
-rw-r--r--scripts/autobuildimg.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/autobuildimg.sh b/scripts/autobuildimg.sh
index fcf46836b931..5966968fe7de 100644
--- a/scripts/autobuildimg.sh
+++ b/scripts/autobuildimg.sh
@@ -12,6 +12,7 @@ TODAY=`date '+%Y%m%d'`
[ -z "${PORTDIR}" ] && PORTDIR=/usr/portage
[ -z "${BUILDTARBALL}" ] && BUILDTARBALL="build-${TODAY}.tbz2"
[ -z "${BUILD_PACKAGES}" ] && BUILD_PACKAGES=`ls -1 ${PORTDIR}/files/build-*.packages | sort | tail -1`
+mkdir -p ${PORTDIR}/distribution
echo ">>> Cleaning up ${ROOT}..."
rm -rf "${ROOT}"
@@ -23,6 +24,7 @@ rm -rf "${ROOT}/tmp"
mkdir -p ${ROOT}/tmp
chown root.root ${ROOT}/tmp
chmod 1777 ${ROOT}/tmp
+mv ${ROOT}/var/db/pkg ${ROOT}/var/db/pkg.build
echo ">>> Creating ${BUILDTARBALL}..."
cd ${ROOT}