summaryrefslogtreecommitdiff
path: root/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-19 10:31:59 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-19 10:31:59 +0000
commit45a148b7496883244b04fc5dc0fe6ab30629cf36 (patch)
treebc03d1c72f7c3d5ccb68ecd432c4b992f2153ed9 /classes/rootfs_ipk.bbclass
parenteaab57c4afa5ca37d595710cf70c86d229b8dce0 (diff)
rootfs_{deb,ipk}.bbclass: the o-hand dudes went overboard with sed, and opkg-native overwrites our u-a-native, so we need to set both IPKG_OFFLINE_ROOT *and* OPKG_OFFLINE_ROOT
Diffstat (limited to 'classes/rootfs_ipk.bbclass')
-rw-r--r--classes/rootfs_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index 4954fb2c44..c8e068f739 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -39,6 +39,8 @@ fakeroot rootfs_ipk_do_rootfs () {
export D=${IMAGE_ROOTFS}
export OFFLINE_ROOT=${IMAGE_ROOTFS}
export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
+ export OPKG_OFFLINE_ROOT=${IPKG_OFFLINE_ROOT}
+
mkdir -p ${IMAGE_ROOTFS}${sysconfdir}/opkg/
grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}${sysconfdir}/opkg/arch.conf