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

Koen Kooi k.kooi at student.utwente.nl
Tue Sep 23 11:52:58 UTC 2008


Thomas Kunze wrote:
> 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.

I did not test that yet, since I want to get a 'normal' boot working 
first on this &*$@*$(@ c700.

regards,

Koen





More information about the Openembedded-devel mailing list