summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass7
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