Fix typo in meta/classes/sanity.bbclass
RFC 1/1 Fix typo in meta/classes/sanity.bbclass
---
Not sure if this is correct but it looks like a typo, also there appears to be some issues with the fix as well
meta/classes/sanity.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sanity.bbclass +1 -1
@@ -169,7 +169,7 @@ def check_sanity_validmachine(e): messages = messages + 'TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n' # Check TARGET_ARCH is set correctly - if data.getVar('TARGE_ARCH', e.data, False) == '${TUNE_ARCH}': + if data.getVar('TARGET_ARCH', e.data, False) == '${TUNE_ARCH}': messages = messages + 'TARGET_ARCH is being overwritten, likely by your MACHINE configuration files.\nPlease use a valid tune configuration file which should set this correctly automatically\nand avoid setting this in the machine configuration. See the OE-Core mailing list for more information.\n' # Check TARGET_OS is set
Signature · 1 line
1.7.6.1
Quoted 1 line · Matthew McClintock
Signed-off-by Matthew McClintock <[email protected]>
Whoops =)
Quoted 14 lines
---
Not sure if this is correct but it looks like a typo, also there appears to be some issues with the fix as wellmeta/classes/sanity.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)meta/classes/sanity.bbclass +0
-0@@ -169,7 +169,7 @@ def check_sanity_validmachine(e):messages = messages + '
TUNE_ARCHis unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n'
Quoted 6 lines
# Check
TARGET_ARCHis set correctly
- ifdata.getVar('TARGE_ARCH', e.data, False)== '${TUNE_ARCH}':
+ ifdata.getVar('TARGET_ARCH', e.data, False)== '${TUNE_ARCH}':
messages = messages + 'TARGET_ARCHis being overwritten, likely by your MACHINE configuration files.\nPlease use a valid tune configuration file which should set this correctly automatically\nand avoid setting this in the machine configuration. See the OE-Core mailing list for more information.\n'# Check
TARGET_OSis set
After fixing this I see the following:
ERROR: Poky's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
Following is the list of potential problems / advisories:
TARGET_ARCH is being overwritten, likely by your MACHINE
configuration files.
Please use a valid tune configuration file which should set this correctly automatically
and avoid setting this in the machine configuration. See the OE-Core mailing list for more information.
ERROR: Execution of event handler 'check_sanity_eventhandler' failed
-M
Ping? Any comments?
-M
Quoted 49 lines · On Mon, Oct 3, 2011 at 6:48 PM, McClintock Matthew-B29882…
Quoted 1 line · Matthew McClintock
Signed-off-by Matthew McClintock <[email protected]>Whoops =)
Quoted 14 lines
---
Not sure if this is correct but it looks like a typo, also there appears to be some issues with the fix as wellmeta/classes/sanity.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)meta/classes/sanity.bbclass +0
-0@@ -169,7 +169,7 @@ def check_sanity_validmachine(e):messages = messages + '
TUNE_ARCHis unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n'Quoted 6 lines
# Check
TARGET_ARCHis set correctly
- ifdata.getVar('TARGE_ARCH', e.data, False)== '${TUNE_ARCH}':
+ ifdata.getVar('TARGET_ARCH', e.data, False)== '${TUNE_ARCH}':
messages = messages + 'TARGET_ARCHis being overwritten, likely by your MACHINE configuration files.\nPlease use a valid tune configuration file which should set this correctly automatically\nand avoid setting this in the machine configuration. See the OE-Core mailing list for more information.\n'# Check
TARGET_OSis setAfter fixing this I see the following:
ERROR: Poky's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:TARGET_ARCH is being overwritten, likely by your MACHINE configuration files.
Please use a valid tune configuration file which should set this correctly automatically
and avoid setting this in the machine configuration. See the OE-Core mailing list for more information.ERROR: Execution of event handler '
check_sanity_eventhandler' failed-M
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 47 lines · On Mon, 2011-10-10 at 18:21 +0000, McClintock Matthew-B29882 wrote:
Ping? Any comments?
-M
Quoted 41 lines · On Mon, Oct 3, 2011 at 6:48 PM, McClintock Matthew-B29882…
Quoted 1 line · Matthew McClintock
Signed-off-by Matthew McClintock <[email protected]>Whoops =)
Quoted 12 lines
---
Not sure if this is correct but it looks like a typo, also there appears to be some issues with the fix as wellmeta/classes/sanity.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/classes/sanity.bbclass +0
-0meta/classes/sanity.bbclass def check_sanity_validmachine(e): · line 175
Quoted 8 lines
meta/classes/sanity.bbclass +1
-1@@ -169,7 +169,7 @@ def check_sanity_validmachine(e): messages = messages + 'TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n' # Check TARGET_ARCH is set correctly - if data.getVar('TARGE_ARCH', e.data, False) == '${TUNE_ARCH}': + if data.getVar('TARGET_ARCH', e.data, False) == '${TUNE_ARCH}': messages = messages + 'TARGET_ARCH is being overwritten, likely by your MACHINE configuration files.\nPlease use a valid tune configuration file which should set this correctly automatically\nand avoid setting this in the machine configuration. See the OE-Core mailing list for more information.\n' # Check TARGET_OS is setAfter fixing this I see the following:
ERROR: Poky's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
Following is the list of potential problems / advisories:
TARGET_ARCHis being overwritten, likely by your MACHINE
configuration files.
Please use a valid tune configuration file which should set this correctly automatically
and avoid setting this in the machine configuration. See the OE-Core mailing list for more information.ERROR: Execution of event handler '
check_sanity_eventhandler' failed
I've been meaning to check OECore to ensure this isn't going to cause failures before adding the patch. I then forgot I needed to do this, sorry :/. What I don't want to do is merge something which breaks things for everyone...
Cheers,
Richard