linux-qcom: specify dummy revision for devupstream#1560
linux-qcom: specify dummy revision for devupstream#1560anujm1 wants to merge 1 commit intoqualcomm-linux:masterfrom
Conversation
While correct, specifying AUTOREV in a recipe makes bitbake query the repository while parsing. That in turn leads to build failures in case of offline builds. Specify the same revision as current fixed revision for devupstream as well to avoid this. It should be overridden by the user in local.conf. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
| SRCREV:class-devupstream ?= "${AUTOREV}" | ||
|
|
||
| # Pin this to the qcom-next-6.19-rc6-20260207, override this in local.conf | ||
| SRCREV:class-devupstream ?= "ccc1345fb4742e377d7d89658efe085c62c25164" |
There was a problem hiding this comment.
This should be using something like linux-yocto-dev:
SRCREV ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-qcom-next-upstream", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}'
(yes, 3.7 was a good kernel)
There was a problem hiding this comment.
For an offline build with linux-qcom-next-upstream, it would still require a user to add an entry in local.conf to override SRCREV. So, does this approach offer any advantage?
linux-yocto-dev does not inherit devupstream while all others inheriting it expect users to override SRCREV in local.conf so it offers a consistent behaviour.
There was a problem hiding this comment.
I find it wasier to switch PREFERRED_PROVIDER in local.conf than switching provider and setting the AUTOREV.
Test run workflowTest jobs for commit c6a671e
All jobs summary
|
Test Results 31 files 31 suites 1h 46m 50s ⏱️ For more details on these failures, see this check. Results for commit c6a671e. |
While correct, specifying AUTOREV in a recipe makes bitbake query the repository while parsing. That in turn leads to build failures in case of offline builds.
Specify the same revision as current fixed revision for devupstream as well to avoid this. It should be overridden by the user in local.conf.