diff options
author | Peter Gavin <pete@gentoo.org> | 2001-08-10 02:28:38 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-08-10 02:28:38 +0000 |
commit | cc3511f4cd9fce94756be0cbfd980b3e55a30678 (patch) | |
tree | 77e8065aeda6b71c9f3ff827348210272002c993 /scripts/autobuildimg.sh | |
parent | changed to reflect kde-apps dispersal (diff) | |
download | gentoo-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.sh | 2 |
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} |