summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-08 11:30:24 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-08 11:30:24 (EDT)
commit984447832a76002a6b75b5231bbc2f23b066f792 (patch)
treefd7e963d5d170a3df9e76b123a1fa4fa830e2412
parentde30dbbf6895e2de0df08a20f65b116541d4f33b (diff)
Set OPK_PACKAGES env var (specified by SPF 2.0).
-rw-r--r--src/opkbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 38fb663..87c2b3d 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -30,6 +30,7 @@ export OPK_SOURCE=
export OPK_SOURCE_VERSION=
export OPK_SOURCE_VERSION_UPSTREAM=
export OPK_BINARY_VERSION=
+export OPK_PACKAGES=
export OPK_BUILD_ARCH=
export OPK_BUILD_ARCH_CPU=
export OPK_BUILD_ARCH_KERNEL=
@@ -296,7 +297,7 @@ print_arch_stats()
setup_build()
{
- pkgs="$(ob_get_binary_packages -a "${OPK_HOST_ARCH}")"
+ OPK_PACKAGES="$(ob_get_binary_packages -a "${OPK_HOST_ARCH}")"
eval "$(ob-buildenv | sed 's/^/export /')"