summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/rootfs_ipk.oeclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/rootfs_ipk.oeclass b/classes/rootfs_ipk.oeclass
index 64537f9a9e..993d290558 100644
--- a/classes/rootfs_ipk.oeclass
+++ b/classes/rootfs_ipk.oeclass
@@ -54,6 +54,8 @@ EOF
export D=${IMAGE_ROOTFS}
export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
+ mkdir -p ${IMAGE_ROOTFS}/etc/ipkg/
+ grep "^arch" ${DEPLOY_DIR_IMAGE}/ipkg.conf >${IMAGE_ROOTFS}/etc/ipkg/arch.conf
for i in ${IMAGE_ROOTFS}/usr/lib/ipkg/info/*.preinst; do
if [ -f $i ] && ! sh $i; then