[oe-commits] org.oe.dev 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

koen commit oe at amethyst.openembedded.net
Wed Mar 19 10:36:04 UTC 2008


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

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 85e676eb4b64d66cb74acf6220f10c3942e2bd29
ViewMTN: http://monotone.openembedded.org/revision/info/85e676eb4b64d66cb74acf6220f10c3942e2bd29
Files:
1
classes/rootfs_deb.bbclass
classes/rootfs_ipk.bbclass
Diffs:

#
# mt diff -rbe700ed00713e7c29776ae5b57aaff68c22d8318 -r85e676eb4b64d66cb74acf6220f10c3942e2bd29
#
#
#
# patch "classes/rootfs_deb.bbclass"
#  from [2915b604977ebc5ed242886b451bab46784131f8]
#    to [c8ed5730846fe2730c48890d15adc70b6e8b4987]
# 
# patch "classes/rootfs_ipk.bbclass"
#  from [e4ec677fe7591b59875944e027a4a9bfb3d81532]
#    to [c319cef6215ceb9e757092d0eb6ea8303cbaacad]
#
============================================================
--- classes/rootfs_deb.bbclass	2915b604977ebc5ed242886b451bab46784131f8
+++ classes/rootfs_deb.bbclass	c8ed5730846fe2730c48890d15adc70b6e8b4987
@@ -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
 
============================================================
--- classes/rootfs_ipk.bbclass	e4ec677fe7591b59875944e027a4a9bfb3d81532
+++ classes/rootfs_ipk.bbclass	c319cef6215ceb9e757092d0eb6ea8303cbaacad
@@ -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
 






More information about the Openembedded-commits mailing list