summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-07-15 10:58:54 +0000
committerPhil Blundell <philb@gnu.org>2004-07-15 10:58:54 +0000
commit6709eeed65861d329ff4b5653b924f997456114f (patch)
treeb1ecbc40dda8e38ed18f0e143054812e321cfee4 /classes
parent85fd43ca09685aaf8ab84357b49164fdeebd9e91 (diff)
apply patch from Robert McQueen to mention ${MACHINE} in ipkg.conf
BKrev: 40f6636eh9RlYxuAd7KcksUe4aN50Q
Diffstat (limited to 'classes')
-rw-r--r--classes/image_ipk.oeclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/image_ipk.oeclass b/classes/image_ipk.oeclass
index f0fb5ec483..7f47b3959e 100644
--- a/classes/image_ipk.oeclass
+++ b/classes/image_ipk.oeclass
@@ -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