rootfs_{deb,ipk}.bbclass: the o-hand dudes went overboard with sed, and opkg-native...
authorKoen Kooi <koen@openembedded.org>
Wed, 19 Mar 2008 10:31:59 +0000 (10:31 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 19 Mar 2008 10:31:59 +0000 (10:31 +0000)
classes/rootfs_deb.bbclass
classes/rootfs_ipk.bbclass

index c59c75e..3a69b82 100644 (file)
@@ -46,6 +46,7 @@ fakeroot rootfs_deb_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}/var/lib/dpkg/alternatives
 
index 4954fb2..c8e068f 100644 (file)
@@ -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