diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-05 21:31:49 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-05 21:31:49 +0000 |
commit | f0842c2336c20ccd6febe73188547b587739eee3 (patch) | |
tree | be7171e1724e803a7dece7a9ecf03793f7953885 | |
parent | 027fa671f4ee7f2fee7cb30466a1b6179147332b (diff) | |
download | poky-f0842c2336c20ccd6febe73188547b587739eee3.tar.gz |
package_ipk.bbclass: Improve directory existence check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2702 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 6cb0a4111e..4329d01b8f 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -107,6 +107,8 @@ package_generate_ipkg_conf () { | |||
107 | priority=$(expr $priority + 5) | 107 | priority=$(expr $priority + 5) |
108 | if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then | 108 | if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then |
109 | echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} | 109 | echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} |
110 | fi | ||
111 | if [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages ] ; then | ||
110 | echo "src oe-${BUILD_ARCH}-$arch-sdk file:${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk" >> ${IPKGCONF_SDK} | 112 | echo "src oe-${BUILD_ARCH}-$arch-sdk file:${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk" >> ${IPKGCONF_SDK} |
111 | fi | 113 | fi |
112 | done | 114 | done |