diff options
author | Chris Larson <kergoth@openedhand.com> | 2006-09-19 09:04:09 +0000 |
---|---|---|
committer | Chris Larson <kergoth@openedhand.com> | 2006-09-19 09:04:09 +0000 |
commit | 4fa2d11bb1fdb58ff426114169583672fc3d65b8 (patch) | |
tree | 0bd4952bbe057c3dc219be7e371a6a9d496c6535 /meta/classes/rootfs_ipk.bbclass | |
parent | 04f695333350e31fa87b7822c17a073af73fcd84 (diff) | |
download | poky-4fa2d11bb1fdb58ff426114169583672fc3d65b8.tar.gz |
Sync up.. all the deb/dpkg changes which I have locally are now in svn.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 8f9fddde14..e494666068 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -36,7 +36,7 @@ real_do_rootfs () { | |||
36 | fi | 36 | fi |
37 | mkdir -p ${T} | 37 | mkdir -p ${T} |
38 | echo "src oe file:${DEPLOY_DIR_IPK}" > ${T}/ipkg.conf | 38 | echo "src oe file:${DEPLOY_DIR_IPK}" > ${T}/ipkg.conf |
39 | ipkgarchs="${IPKG_ARCHS}" | 39 | ipkgarchs="${PACKAGE_ARCHS}" |
40 | priority=1 | 40 | priority=1 |
41 | for arch in $ipkgarchs; do | 41 | for arch in $ipkgarchs; do |
42 | echo "arch $arch $priority" >> ${T}/ipkg.conf | 42 | echo "arch $arch $priority" >> ${T}/ipkg.conf |
@@ -49,11 +49,12 @@ real_do_rootfs () { | |||
49 | ipkg-cl ${IPKG_ARGS} install $i | 49 | ipkg-cl ${IPKG_ARGS} install $i |
50 | done | 50 | done |
51 | fi | 51 | fi |
52 | if [ ! -z "${IPKG_INSTALL}" ]; then | 52 | if [ ! -z "${PACKAGE_INSTALL}" ]; then |
53 | ipkg-cl ${IPKG_ARGS} install ${IPKG_INSTALL} | 53 | ipkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL} |
54 | fi | 54 | fi |
55 | 55 | ||
56 | export D=${IMAGE_ROOTFS} | 56 | export D=${IMAGE_ROOTFS} |
57 | export OFFLINE_ROOT=${IMAGE_ROOTFS} | ||
57 | export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} | 58 | export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} |
58 | mkdir -p ${IMAGE_ROOTFS}/etc/ipkg/ | 59 | mkdir -p ${IMAGE_ROOTFS}/etc/ipkg/ |
59 | grep "^arch" ${T}/ipkg.conf >${IMAGE_ROOTFS}/etc/ipkg/arch.conf | 60 | grep "^arch" ${T}/ipkg.conf >${IMAGE_ROOTFS}/etc/ipkg/arch.conf |