diff mbox series

scripts: include all dependencies in eSDK

Message ID 20221018064148.10638-1-andrej.valek@siemens.com
State New
Headers show
Series scripts: include all dependencies in eSDK | expand

Commit Message

Andrej Valek Oct. 18, 2022, 6:41 a.m. UTC
Without this recursive dependency on do_build task, eSDK includes only
direct image dependencies and there for devtool recipe has to rebuild
them all.

Resolves: [YOCTO#14626]

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 scripts/oe-check-sstate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ross Burton Oct. 18, 2022, 12:56 p.m. UTC | #1
Thanks for this, but I’ve a version locally which makes a few more minor changes and shall be posted shortly.  I will add your Tested-by to the message.

Ross

> On 18 Oct 2022, at 07:41, Andrej Valek <andrej.valek@siemens.com> wrote:
> 
> Without this recursive dependency on do_build task, eSDK includes only
> direct image dependencies and there for devtool recipe has to rebuild
> them all.
> 
> Resolves: [YOCTO#14626]
> 
> Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> ---
> scripts/oe-check-sstate | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/oe-check-sstate b/scripts/oe-check-sstate
> index f4cc5869de..5c185fa85e 100755
> --- a/scripts/oe-check-sstate
> +++ b/scripts/oe-check-sstate
> @@ -52,7 +52,7 @@ def check(args):
> 
>         try:
>             output = subprocess.check_output(
> -                    'bitbake -n %s' % ' '.join(args.target),
> +                    'bitbake -n --runall build %s' % ' '.join(args.target),
>                     stderr=subprocess.STDOUT,
>                     env=env,
>                     shell=True)
> -- 
> 2.34.3
>
diff mbox series

Patch

diff --git a/scripts/oe-check-sstate b/scripts/oe-check-sstate
index f4cc5869de..5c185fa85e 100755
--- a/scripts/oe-check-sstate
+++ b/scripts/oe-check-sstate
@@ -52,7 +52,7 @@  def check(args):
 
         try:
             output = subprocess.check_output(
-                    'bitbake -n %s' % ' '.join(args.target),
+                    'bitbake -n --runall build %s' % ' '.join(args.target),
                     stderr=subprocess.STDOUT,
                     env=env,
                     shell=True)