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

Thomas Kunze thommycheck at gmx.de
Tue Sep 23 11:40:35 UTC 2008


OE GIT Trial schrieb:
> 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
>   
Did you test the other solution? I meant to put the programcall 'true' 
or 'false' in there. But I think I didn't test the negative case.
>  	    [ -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
>
>
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
>   





More information about the Openembedded-devel mailing list