summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-09-23 10:41:38 +0000
committerKoen Kooi <koen@openembedded.org>2008-09-23 10:41:38 +0000
commit078d5ad1ead15d27d9d4b727638d35fd6f82fbdb (patch)
treeeaee384f287723cd10ac019fea1a8e3fddd7a06c
parent6930179febd8707f023413b9679ccb36c7006dec (diff)
zaurus-2.6.inc: a string always is true, so test for the contents of it
-rw-r--r--conf/machine/include/zaurus-2.6.inc2
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 5e8f34fad6..a688f2f64b 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