apply patch from Robert McQueen to mention ${MACHINE} in ipkg.conf
authorPhil Blundell <philb@gnu.org>
Thu, 15 Jul 2004 10:58:54 +0000 (10:58 +0000)
committerPhil Blundell <philb@gnu.org>
Thu, 15 Jul 2004 10:58:54 +0000 (10:58 +0000)
BKrev: 40f6636eh9RlYxuAd7KcksUe4aN50Q

classes/image_ipk.oeclass

index f0fb5ec..7f47b39 100644 (file)
@@ -36,6 +36,9 @@ arch any 1
 arch noarch 1
 arch ${TARGET_ARCH} 10
 EOF
+       if [ ! -z ${MACHINE} ]; then
+               echo "arch ${MACHINE} 10" >>${DEPLOY_DIR_IMAGE}/ipkg.conf
+       fi
        for i in ${IPKG_ARCHS}; do
                if [ $i != "all" ] && [ $i != "${TARGET_ARCH}" ]; then
                        echo "arch $i 5" >> ${DEPLOY_DIR_IMAGE}/ipkg.conf