summaryrefslogtreecommitdiff
path: root/packages/freeze
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-26 07:10:33 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-26 07:10:33 +0000
commite77e12f372b59af2e65a1a10feb9cea750024498 (patch)
tree51799ed69e0b6548bf8d6e65564e0ff7ac180e61 /packages/freeze
parent12120d678366aad7ae0b0b71640b7dc4dd22de6e (diff)
PKGDIR must be defined in the environment for the correct operation of the
freeze script
Diffstat (limited to 'packages/freeze')
-rw-r--r--packages/freeze/freeze.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/freeze/freeze.bb b/packages/freeze/freeze.bb
index f65855872f..c31fc678cd 100644
--- a/packages/freeze/freeze.bb
+++ b/packages/freeze/freeze.bb
@@ -38,12 +38,13 @@ do_stage() {
do_build[nostamp] = 1
do_build() {
# export FROZEN_DIR=<place to write conf files>
- # export PACKAGE_DIR=<location of openembedded package source>
+ # export PKGDIR=<location of openembedded package source>
+ # export DISTRO=<distro being frozen>
# freeze {directories}
set -x
if test -d "${PKGDIR}/packages"
then
- FROZEN_DIR="${FROZEN_DIR}" DISTRO="${DISTRO}" \
+ FROZEN_DIR="${FROZEN_DIR}" PKGDIR="${PKGDIR}" DISTRO="${DISTRO}" \
sh "${WORKDIR}/freeze" "${TMPDIR}/work"
else
oenote "\$PKGDIR/packages ($PKGDIR/packages) not found"