[oe-commits] : zaurus-2.6.inc: a string always is true, so test for the contents of it

OE GIT Trial gittrial at amethyst.openembedded.net
Tue Sep 23 11:00:49 UTC 2008


Module: OE.dev
Branch: org.openembedded.dev
Commit: 51e5f5be04d699828ab2f4a28e62ed6c789fb283
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=51e5f5be04d699828ab2f4a28e62ed6c789fb283

Author:  <koen at openembedded.org>
Date:   Tue Sep 23 10:41:38 2008 +0000

zaurus-2.6.inc: a string always is true, so test for the contents of it

---

 conf/machine/include/zaurus-2.6.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/machine/include/zaurus-2.6.inc b/conf/machine/include/zaurus-2.6.inc
index 5e8f34f..a688f2f 100644
--- a/conf/machine/include/zaurus-2.6.inc
+++ b/conf/machine/include/zaurus-2.6.inc
@@ -52,7 +52,7 @@ zaurus_make_installkit () {
     mkdir ${IMAGE_NAME}-installkit/
 
     # Get the latest kernel using the zImage-<machine>.bin symlink
-    if [ "${@base_contains('MACHINE_FEATURES', 'kexecboot', 'true', 'false',d)}" ]; then
+    if [ "${@base_contains('MACHINE_FEATURES', 'kexecboot', 'true', 'false',d)}" = "true" ]; then
 	    [ -f "zImage-kexecboot-${MACHINE}.bin" ] && cp zImage-kexecboot-${MACHINE}.bin ${IMAGE_NAME}-installkit/zImage
 	    # we need also tgz for mmc or cf cards
 	    cp ${IMAGE_NAME}.rootfs.tar.gz ${IMAGE_NAME}-installkit/image.tgz





More information about the Openembedded-commits mailing list