* [PATCH] Only add uninative and checksum if inherited uninative class
@ 2018-04-25 21:18 Jeremy Puhlman
2018-04-25 21:33 ` ✗ patchtest: failure for " Patchwork
2018-06-13 20:28 ` [PATCH] " Jeremy Puhlman
0 siblings, 2 replies; 3+ messages in thread
From: Jeremy Puhlman @ 2018-04-25 21:18 UTC (permalink / raw)
To: openembedded-core
The checksum value is only calculated if the uninative class is
inherited, so check for inherit before adding it to local.conf
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
---
meta/classes/populate_sdk_ext.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index e1bba49eaf..8dfb8df52e 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -325,8 +325,9 @@ python copy_buildsystem () {
f.write('TCLIBCAPPEND = ""\n')
f.write('DL_DIR = "${TOPDIR}/downloads"\n')
- f.write('INHERIT += "%s"\n' % 'uninative')
- f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' % (d.getVar('BUILD_ARCH'), uninative_checksum))
+ if bb.data.inherits_class('uninative', d):
+ f.write('INHERIT += "%s"\n' % 'uninative')
+ f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' % (d.getVar('BUILD_ARCH'), uninative_checksum))
f.write('CONF_VERSION = "%s"\n\n' % d.getVar('CONF_VERSION', False))
# Some classes are not suitable for SDK, remove them from INHERIT
--
2.11.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* ✗ patchtest: failure for Only add uninative and checksum if inherited uninative class
2018-04-25 21:18 [PATCH] Only add uninative and checksum if inherited uninative class Jeremy Puhlman
@ 2018-04-25 21:33 ` Patchwork
2018-06-13 20:28 ` [PATCH] " Jeremy Puhlman
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2018-04-25 21:33 UTC (permalink / raw)
To: Jeremy Puhlman; +Cc: openembedded-core
== Series Details ==
Series: Only add uninative and checksum if inherited uninative class
Revision: 1
URL : https://patchwork.openembedded.org/series/11924/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:
* Patch Only add uninative and checksum if inherited uninative class
Issue Shortlog does not follow expected format [test_shortlog_format]
Suggested fix Commit shortlog (first line of commit message) should follow the format "<target>: <summary>"
If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Only add uninative and checksum if inherited uninative class
2018-04-25 21:18 [PATCH] Only add uninative and checksum if inherited uninative class Jeremy Puhlman
2018-04-25 21:33 ` ✗ patchtest: failure for " Patchwork
@ 2018-06-13 20:28 ` Jeremy Puhlman
1 sibling, 0 replies; 3+ messages in thread
From: Jeremy Puhlman @ 2018-06-13 20:28 UTC (permalink / raw)
To: OE-core
[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]
Any issue with this patch?
On Wed, Apr 25, 2018 at 2:18 PM, Jeremy Puhlman <jpuhlman@mvista.com> wrote:
> The checksum value is only calculated if the uninative class is
> inherited, so check for inherit before adding it to local.conf
>
> Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
> ---
> meta/classes/populate_sdk_ext.bbclass | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/populate_sdk_ext.bbclass
> b/meta/classes/populate_sdk_ext.bbclass
> index e1bba49eaf..8dfb8df52e 100644
> --- a/meta/classes/populate_sdk_ext.bbclass
> +++ b/meta/classes/populate_sdk_ext.bbclass
> @@ -325,8 +325,9 @@ python copy_buildsystem () {
> f.write('TCLIBCAPPEND = ""\n')
> f.write('DL_DIR = "${TOPDIR}/downloads"\n')
>
> - f.write('INHERIT += "%s"\n' % 'uninative')
> - f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' %
> (d.getVar('BUILD_ARCH'), uninative_checksum))
> + if bb.data.inherits_class('uninative', d):
> + f.write('INHERIT += "%s"\n' % 'uninative')
> + f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' %
> (d.getVar('BUILD_ARCH'), uninative_checksum))
> f.write('CONF_VERSION = "%s"\n\n' % d.getVar('CONF_VERSION',
> False))
>
> # Some classes are not suitable for SDK, remove them from
> INHERIT
> --
> 2.11.1
>
>
--
Jeremy Puhlman
Montavista Software, LLC.
[-- Attachment #2: Type: text/html, Size: 2275 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-13 20:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-25 21:18 [PATCH] Only add uninative and checksum if inherited uninative class Jeremy Puhlman
2018-04-25 21:33 ` ✗ patchtest: failure for " Patchwork
2018-06-13 20:28 ` [PATCH] " Jeremy Puhlman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox