-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
variscite_ubi: Do not export shell variables when not needed #36
base: mickledore-var01
Are you sure you want to change the base?
Conversation
Since this file is included by machine conf, means these variables make into all kind of recipes e.g. native, nativesdk and that makes whole sstate specific to the machine and not usable across other projects/machines. e.g. if we have imx8 and imx6 dart based products it results in recompiling everything for each of them and thus keep two copies of sstate which is inefficient. Fixes bitbake-diffsigs -t m4-native do_configure Task dependencies changed from: ... changed items: frozenset({'UBINIZE_ARGS_256kbpeb', 'MKUBIFS_ARGS_128kbpeb', 'MKUBIFS_ARGS_256kbpeb', 'UBINIZE_ARGS_128kbpeb'}) Dependency on Variable MKUBIFS_ARGS_128kbpeb was removed Dependency on Variable MKUBIFS_ARGS_256kbpeb was removed Dependency on Variable UBINIZE_ARGS_128kbpeb was removed Dependency on Variable UBINIZE_ARGS_256kbpeb was removed Signed-off-by: Khem Raj <[email protected]>
This is needed on all branches btw. |
The problem is in BSP layer [1], these variable should not be exported universally moreover its not needed as well. [1] varigit/meta-variscite-bsp-imx#36 This reverts commit 288f752.
The problem is in BSP layer [1], these variable should not be exported universally moreover its not needed as well. [1] varigit/meta-variscite-bsp-imx#36 This reverts commit 288f752.
@nsdrude I tested the patch on kirkstone and i see the following error:
|
@kraj do you plan to fix this patch based on @FrancescoFerraro's feedback, or should we close this pull request? |
Can you attach full logs which has details about the failure ? |
@kraj I don't have full logs, but I assume they can be reproduced by applying your patch and following these instructions: https://variwiki.com/index.php?title=Yocto_Build_Release&release=mx6-yocto-kirkstone-5.15.71_2.2.0-v1.0
@FrancescoFerraro please update if you followed a different process. |
@nsdrude the followed process was as you wrote. I just updated the error messages due to i forgot one
|
It has been fixed in poky upstream and also backported into kirkstone [1] So please build with latest [1] https://git.yoctoproject.org/poky/commit/?h=kirkstone&id=32dd3d59c250f916115b339c29aa4dbfe50a3235 |
Since this file is included by machine conf, means these variables make into all kind of recipes e.g. native, nativesdk and that makes whole sstate specific to the machine and not usable across other projects/machines. e.g. if we have imx8 and imx6 dart based products it results in recompiling everything for each of them and thus keep two copies of sstate which is inefficient.
Fixes
bitbake-diffsigs -t m4-native do_configure
Task dependencies changed from:
...
changed items: frozenset({'UBINIZE_ARGS_256kbpeb', 'MKUBIFS_ARGS_128kbpeb', 'MKUBIFS_ARGS_256kbpeb', 'UBINIZE_ARGS_128kbpeb'}) Dependency on Variable MKUBIFS_ARGS_128kbpeb was removed Dependency on Variable MKUBIFS_ARGS_256kbpeb was removed Dependency on Variable UBINIZE_ARGS_128kbpeb was removed Dependency on Variable UBINIZE_ARGS_256kbpeb was removed