* [PATCH] Fetch uninative binaries before recipe are parsed so that the datastore variables are updated and recipes parsed accordingly. @ 2018-03-13 14:47 Cuero Bugot 2018-03-13 15:02 ` ✗ patchtest: failure for " Patchwork 0 siblings, 1 reply; 2+ messages in thread From: Cuero Bugot @ 2018-03-13 14:47 UTC (permalink / raw) To: openembedded-core@lists.openembedded.org Make sure uninative_event_fetchloader and uninative_event_enable are called at the same time on an early build event (bb.event.ConfigParsed). This way the uninative binaries are fetched even before the recipe are parsed (the event is raised several time before the recipes are finally parsed). And the uninative variables are set to the correct values for recipe parsing. Note: it also saves a second complete parsing the second time you run bitbake. Signed-off-by: Cuero Bugot <cbugot@sierrawireless.com> --- meta/classes/uninative.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass index 8f34483..5d4b277 100644 --- a/meta/classes/uninative.bbclass +++ b/meta/classes/uninative.bbclass @@ -9,7 +9,7 @@ UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2" UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/" addhandler uninative_event_fetchloader -uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted" +uninative_event_fetchloader[eventmask] = "bb.event.ConfigParsed" addhandler uninative_event_enable uninative_event_enable[eventmask] = "bb.event.ConfigParsed" -- 2.7.4 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* ✗ patchtest: failure for Fetch uninative binaries before recipe are parsed so that the datastore variables are updated and recipes parsed accordingly. 2018-03-13 14:47 [PATCH] Fetch uninative binaries before recipe are parsed so that the datastore variables are updated and recipes parsed accordingly Cuero Bugot @ 2018-03-13 15:02 ` Patchwork 0 siblings, 0 replies; 2+ messages in thread From: Patchwork @ 2018-03-13 15:02 UTC (permalink / raw) To: Cuero Bugot; +Cc: openembedded-core == Series Details == Series: Fetch uninative binaries before recipe are parsed so that the datastore variables are updated and recipes parsed accordingly. Revision: 1 URL : https://patchwork.openembedded.org/series/11369/ 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 Fetch uninative binaries before recipe are parsed so that the datastore variables are updated and recipes parsed accordingly. 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>" * Patch Fetch uninative binaries before recipe are parsed so that the datastore variables are updated and recipes parsed accordingly. Issue Commit shortlog is too long [test_shortlog_length] Suggested fix Edit shortlog so that it is 90 characters or less (currently 125 characters) 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] 2+ messages in thread
end of thread, other threads:[~2018-03-13 15:02 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-03-13 14:47 [PATCH] Fetch uninative binaries before recipe are parsed so that the datastore variables are updated and recipes parsed accordingly Cuero Bugot 2018-03-13 15:02 ` ✗ patchtest: failure for " Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox