Date   

Re: Why python3 is build native in yocto ??? #python

Richard Purdie
 

On Mon, 2020-11-09 at 09:14 +0000, Ross Burton wrote:
DEPEND on python3 and python3-native then.
Note that whilst the python headers and library will be in recipe-
sysroot, the python3 binaries will not. This is because they're
designed to run on the target, not the host you're building on so we
don't bother putting them there.

Cheers,

Richard


Re: Dependencies error while compiling .

NIKHIL PATIL <nikhilvp29@...>
 

Hi Paul,
    I didnt get u exactly .  so for these what i can do can u please suggest .

On Mon, Nov 9, 2020 at 3:25 PM Paul Barker <pbarker@...> wrote:
On Mon, 9 Nov 2020 at 09:16, NIKHIL PATIL <nikhilvp29@...> wrote:
>
> Hi,
>      when i am compiling package using
>      ->  bitbake ostree-initrd

We're missing important output here which would show the layers,
versions and key config values.

>
>         ERROR: ostree-initrd-3-r0 do_install: Function failed: do_install (log file is located at /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163)
> ERROR: Logfile of failure stored in: /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163
> Log data follows:
> | DEBUG: Executing python function extend_recipe_sysroot
> | NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
> | NOTE: Installed into sysroot: []
> | NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
> | DEBUG: Python function extend_recipe_sysroot finished
> | DEBUG: Executing shell function do_install
> | install: cannot stat '/data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/init.sh': No such file or directory
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_install (log file is located at /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163)
> ERROR: Task (/data/nikhil/inti_dmsv/yocto_build/meta-updater/recipes-sota/ostree-initrd/ostree-initrd.bb:do_install) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 288 tasks of which 287 didn't need to be rerun and 1 failed.
>
> Summary: 1 task failed:
>   /data/nikhil/inti_dmsv/yocto_build/meta-updater/recipes-sota/ostree-initrd/ostree-initrd.bb:do_install
> Summary: There were 3 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
> On Mon, Nov 9, 2020 at 2:39 PM Paul Barker <pbarker@...> wrote:
>>
>> On Mon, 9 Nov 2020 at 05:12, NIKHIL PATIL <nikhilvp29@...> wrote:
>> >
>> > Hi team ,
>> >       while compiling a package i am getting following error :-
>> >
>> > Log data follows:
>> > | DEBUG: Executing python function extend_recipe_sysroot
>> > | NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
>> > | NOTE: Installed into sysroot: []
>> > | NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
>> > | DEBUG: Python function extend_recipe_sysroot finished
>> > | DEBUG: Executing shell function do_install
>> >
>> > if anyone knows , please help.
>>
>> None of that output looks like an error to me. Could you share some
>> more context? E.g. the bitbake command you ran, the initial output
>> showing the layers, versions and key config values, what expected
>> result did you not get?
>>
>> Thanks,
>>
>> --
>> Paul Barker
>> Konsulko Group



--
Paul Barker
Konsulko Group


Re: Dependencies error while compiling .

 

On Mon, 9 Nov 2020 at 09:16, NIKHIL PATIL <nikhilvp29@...> wrote:

Hi,
when i am compiling package using
-> bitbake ostree-initrd
We're missing important output here which would show the layers,
versions and key config values.


ERROR: ostree-initrd-3-r0 do_install: Function failed: do_install (log file is located at /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163)
ERROR: Logfile of failure stored in: /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat '/data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/init.sh': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163)
ERROR: Task (/data/nikhil/inti_dmsv/yocto_build/meta-updater/recipes-sota/ostree-initrd/ostree-initrd.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 288 tasks of which 287 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/data/nikhil/inti_dmsv/yocto_build/meta-updater/recipes-sota/ostree-initrd/ostree-initrd.bb:do_install
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

On Mon, Nov 9, 2020 at 2:39 PM Paul Barker <pbarker@...> wrote:

On Mon, 9 Nov 2020 at 05:12, NIKHIL PATIL <nikhilvp29@...> wrote:

Hi team ,
while compiling a package i am getting following error :-

Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install

if anyone knows , please help.
None of that output looks like an error to me. Could you share some
more context? E.g. the bitbake command you ran, the initial output
showing the layers, versions and key config values, what expected
result did you not get?

Thanks,

--
Paul Barker
Konsulko Group


--
Paul Barker
Konsulko Group


Re: Dependencies error while compiling .

NIKHIL PATIL <nikhilvp29@...>
 

Hi,
     when i am compiling package using 
     ->  bitbake ostree-initrd       

        ERROR: ostree-initrd-3-r0 do_install: Function failed: do_install (log file is located at /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163)
ERROR: Logfile of failure stored in: /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat '/data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/init.sh': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /data/nikhil/inti_dmsv/yocto_build/build/tmp/work/all-poky-linux/ostree-initrd/3-r0/temp/log.do_install.7163)
ERROR: Task (/data/nikhil/inti_dmsv/yocto_build/meta-updater/recipes-sota/ostree-initrd/ostree-initrd.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 288 tasks of which 287 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /data/nikhil/inti_dmsv/yocto_build/meta-updater/recipes-sota/ostree-initrd/ostree-initrd.bb:do_install
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


On Mon, Nov 9, 2020 at 2:39 PM Paul Barker <pbarker@...> wrote:
On Mon, 9 Nov 2020 at 05:12, NIKHIL PATIL <nikhilvp29@...> wrote:
>
> Hi team ,
>       while compiling a package i am getting following error :-
>
> Log data follows:
> | DEBUG: Executing python function extend_recipe_sysroot
> | NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
> | NOTE: Installed into sysroot: []
> | NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
> | DEBUG: Python function extend_recipe_sysroot finished
> | DEBUG: Executing shell function do_install
>
> if anyone knows , please help.

None of that output looks like an error to me. Could you share some
more context? E.g. the bitbake command you ran, the initial output
showing the layers, versions and key config values, what expected
result did you not get?

Thanks,

--
Paul Barker
Konsulko Group


Re: Why python3 is build native in yocto ??? #python

Ross Burton <ross@...>
 

DEPEND on python3 and python3-native then.

Ross

On Fri, 6 Nov 2020 at 09:34, <william.jacob@...> wrote:

I am sorry , I will explain in detail.

so what I required is that my python3 binary should be present in both recipe-sysroot and recipe-sysroot-native both as I need to build some python packages using python present in the recipe-sysroot directory.Currently my python binary is present only in recipe-sysroot-native directory.



If you want more details please let me know




Re: Dependencies error while compiling .

 

On Mon, 9 Nov 2020 at 05:12, NIKHIL PATIL <nikhilvp29@...> wrote:

Hi team ,
while compiling a package i am getting following error :-

Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install

if anyone knows , please help.
None of that output looks like an error to me. Could you share some
more context? E.g. the bitbake command you ran, the initial output
showing the layers, versions and key config values, what expected
result did you not get?

Thanks,

--
Paul Barker
Konsulko Group


[yocto-autobuilder2][RFC PATCH] config.py: add "only-x11" target to builds

Alexander Kanavin
 

This target builds and tests core-image-sato and associated SDKs,
as otherwise the AB targets have been moved to core-image-weston.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.py b/config.py
index 035a2f8..36176f8 100644
--- a/config.py
+++ b/config.py
@@ -64,7 +64,7 @@ trigger_builders_wait_shared =3D [
"pkgman-rpm-non-rpm", "pkgman-deb-non-deb",
"build-appliance", "buildtools",
"non-gpl3", "wic",
- "poky-tiny", "musl-qemux86", "musl-qemux86-64", "no-x11",
+ "poky-tiny", "musl-qemux86", "musl-qemux86-64", "no-x11", "only-x11"=
,
"qa-extras", "qa-extras2",
"check-layer", "meta-mingw",
"qemuarm64-armhost"
--=20
2.29.1


[RFC PATCH 5/5] config.json: add a target to test standalone X11 image

Alexander Kanavin
 

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.json | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/config.json b/config.json
index 51a540c..5ad3017 100644
--- a/config.json
+++ b/config.json
@@ -681,6 +681,11 @@
]

},
+ "only-x11" : {
+ "MACHINE" : "qemux86-64",
+ "BBTARGETS" : "core-image-sato core-image-sato:do_populate_sdk core-image-sato:do_populate_sdk_ext core-image-sato-sdk",
+ "SANITYTARGETS" : "core-image-sato:do_testimage core-image-sato:do_testsdk core-image-sato:do_testsdkext core-image-sato-sdk:do_testimage"
+ },
"musl-qemux86" : {
"MACHINE" : "qemux86",
"SDKMACHINE" : "x86_64",
--
2.29.1


[RFC PATCH 3/5] config.json: replace core-image-sato with core-image-weston

Alexander Kanavin
 

I believe the time has come for YP to be defaulting to Wayland
and not X11.

X11 is effectively deprecated technology at this point with
only minimal maintenance; standalone X server will not be
developed any further, and all attention currently is towards
making X apps work well under Wayland.

Weston is built with x11 support enabled via xwayland, so
x11 bits continue do be built and exercised in tests and SDKs;
for testing core-image-sato as a whole a separate target will
be added next.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.json | 176 ++++++++++++++++++++++++++--------------------------
1 file changed, 88 insertions(+), 88 deletions(-)

diff --git a/config.json b/config.json
index 3e60d15..def8d5a 100644
--- a/config.json
+++ b/config.json
@@ -62,13 +62,13 @@
"BUILDINFO" : true,
"BUILDHISTORY" : true,
"step1" : {
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev core-image-weston:do_populate_sdk",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage core-image-weston:do_testsdk"
},
"step2" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
- "SANITYTARGETS" : "core-image-sato:do_testsdk core-image-minimal:do_testsdkext core-image-sato:do_testsdkext"
+ "BBTARGETS" : "core-image-weston:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-weston:do_populate_sdk_ext",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk core-image-minimal:do_testsdkext core-image-weston:do_testsdkext"
},
"step3" : {
"BUILDHISTORY" : false,
@@ -81,8 +81,8 @@
"BUILDINFO" : true,
"BUILDHISTORY" : true,
"step1" : {
- "BBTARGETS" : "core-image-full-cmdline core-image-sato core-image-sato-sdk",
- "SANITYTARGETS" : "core-image-full-cmdline:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
+ "BBTARGETS" : "core-image-full-cmdline core-image-weston core-image-weston-sdk",
+ "SANITYTARGETS" : "core-image-full-cmdline:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage"
}
},
"ptest-qemu" : {
@@ -103,8 +103,8 @@
},
"ltp-qemu" : {
"BUILDINFO" : true,
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"IMAGE_INSTALL_append = ' ltp'",
"TEST_SUITES = 'ping ssh ltp ltp_compliance'",
@@ -116,16 +116,16 @@
"arch-hw" : {
"BUILDINFO" : true,
"step1" : {
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-weston-ptest-all core-image-sato:do_populate_sdk",
- "SANITYTARGETS" : "core-image-sato:do_testsdk"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev core-image-weston-ptest-all core-image-weston:do_populate_sdk",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk"
}
},
"arch-hw-qemu" : {
"BUILDINFO" : true,
"step1" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-minimal core-image-sato core-image-sato-sdk core-image-sato:do_populate_sdk core-image-sato:do_populate_sdk_ext",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk core-image-sato:do_testsdkext"
+ "BBTARGETS" : "core-image-minimal core-image-weston core-image-weston-sdk core-image-weston:do_populate_sdk core-image-weston:do_populate_sdk_ext",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage core-image-weston:do_testsdk core-image-weston:do_testsdkext"
},
"step2" : {
"BUILDHISTORY" : false,
@@ -136,7 +136,7 @@
"DISTRO" : "poky-altcfg",
"BUILDINFO" : true,
"step1" : {
- "BBTARGETS" : "core-image-full-cmdline core-image-sato core-image-sato-sdk"
+ "BBTARGETS" : "core-image-full-cmdline core-image-weston core-image-weston-sdk"
}
},
"buildperf" : {
@@ -207,17 +207,17 @@
"BB_SIGNATURE_HANDLER = 'OEEquivHash'"
],
"step1" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage"
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage"
},
"step2" : {
- "BBTARGETS" : "core-image-sato:do_populate_sdk",
- "SANITYTARGETS" : "core-image-sato:do_testsdk"
+ "BBTARGETS" : "core-image-weston:do_populate_sdk",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk"
},
"step3" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext",
- "SANITYTARGETS" : "core-image-sato:do_testsdk"
+ "BBTARGETS" : "core-image-weston:do_populate_sdk core-image-minimal:do_populate_sdk_ext",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk"
}
},
"qemuarm" : {
@@ -229,8 +229,8 @@
"BUILDINFO" : true,
"step1" : {
"SDKMACHINE" : "aarch64",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk core-image-minimal:do_testsdkext core-image-sato:do_testsdkext"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev core-image-weston:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-weston:do_populate_sdk_ext",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage core-image-weston:do_testsdk core-image-minimal:do_testsdkext core-image-weston:do_testsdkext"
}
},
"qemuarm-alt" : {
@@ -242,7 +242,7 @@
"TEMPLATE" : "arch-hw",
"step2" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk"
+ "BBTARGETS" : "core-image-minimal:do_populate_sdk_ext core-image-weston:do_populate_sdk"
}
},
"beaglebone-alt" : {
@@ -258,8 +258,8 @@
"BUILDINFO" : true,
"step1" : {
"SDKMACHINE" : "aarch64",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk core-image-minimal:do_testsdkext core-image-sato:do_testsdkext"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev core-image-weston:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-weston:do_populate_sdk_ext",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage core-image-weston:do_testsdk core-image-minimal:do_testsdkext core-image-weston:do_testsdkext"
}
},
"qemuarm64-ptest" : {
@@ -284,13 +284,13 @@
],
"step1": {
"MACHINE": "n1sdp",
- "BBTARGETS": "core-image-minimal core-image-sato core-image-sato:do_populate_sdk",
- "SANITYTARGETS" : "core-image-sato:do_testsdk"
+ "BBTARGETS": "core-image-minimal core-image-weston core-image-weston:do_populate_sdk",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk"
},
"step2": {
"MACHINE": "juno",
- "BBTARGETS": "core-image-minimal core-image-sato core-image-sato:do_populate_sdk",
- "SANITYTARGETS" : "core-image-sato:do_testsdk"
+ "BBTARGETS": "core-image-minimal core-image-weston core-image-weston:do_populate_sdk",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk"
}
},
"bringup" : {
@@ -298,24 +298,24 @@
"SSTATEDIR" : ["SSTATE_DIR ?= '${HELPERBUILDDIR}/sstate'"],
"MACHINE" : "qemuarm64",
"step1" : {
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev core-image-weston:do_populate_sdk",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage core-image-weston:do_testsdk"
},
"step2" : {
"MACHINE" : "qemux86-64",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-weston-ptest-all core-image-sato:do_populate_sdk",
- "SANITYTARGETS" : "core-image-sato:do_testsdk"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev core-image-weston-ptest-all core-image-weston:do_populate_sdk",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk"

},
"step3" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
- "SANITYTARGETS" : "core-image-sato:do_testsdk core-image-minimal:do_testsdkext core-image-sato:do_testsdkext"
+ "BBTARGETS" : "core-image-weston:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-weston:do_populate_sdk_ext",
+ "SANITYTARGETS" : "core-image-weston:do_testsdk core-image-minimal:do_testsdkext core-image-weston:do_testsdkext"
},
"step4" : {
"MACHINE" : "qemux86-64",
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk"
+ "BBTARGETS" : "core-image-minimal:do_populate_sdk_ext core-image-weston:do_populate_sdk"
},
"step5" : {
"BUILDINFO" : false,
@@ -459,11 +459,11 @@
"baselib = \"${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or 'lib'}\""
],
"step1" : {
- "BBTARGETS" : "core-image-minimal core-image-sato",
+ "BBTARGETS" : "core-image-minimal core-image-weston",
"SANITYTARGETS" : "core-image-minimal:do_testimage"
},
"step2" : {
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"TEST_SUITES_append = ' x32lib'"
]
@@ -506,8 +506,8 @@
]
},
"step3" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"TEST_SUITES_append = ' multilib'",
"require conf/multilib.conf",
@@ -519,8 +519,8 @@
},
"step4" : {
"PACKAGE_CLASSES" : "package_ipk",
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"TEST_SUITES_append = ' multilib'",
"require conf/multilib.conf",
@@ -533,7 +533,7 @@
"step5" : {
"MACHINE" : "qemux86",
"SDKMACHINE" : "i686",
- "BBTARGETS" : "lib64-core-image-sato lib64-core-image-sato-sdk",
+ "BBTARGETS" : "lib64-core-image-weston lib64-core-image-weston-sdk",
"extravars" : [
"require conf/multilib.conf",
"MULTILIBS = 'multilib:lib64'",
@@ -556,26 +556,26 @@
"pkgman-rpm-non-rpm" : {
"MACHINE" : "qemux86",
"PACKAGE_CLASSES" : "package_rpm",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage"
},
"pkgman-deb-non-deb" : {
"MACHINE" : "qemux86",
"PACKAGE_CLASSES" : "package_deb",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage"
},
"pkgman-non-rpm" : {
"MACHINE" : "qemux86",
"step1" : {
"PACKAGE_CLASSES" : "package_ipk",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage"
},
"step2" : {
"PACKAGE_CLASSES" : "package_deb",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
+ "BBTARGETS" : "core-image-weston core-image-weston-sdk core-image-minimal core-image-minimal-dev",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-weston:do_testimage core-image-weston-sdk:do_testimage"
}
},
"poky-tiny" : {
@@ -591,38 +591,38 @@
],
"step1" : {
"MACHINE" : "qemux86",
- "BBTARGETS" : "wic-tools core-image-sato",
+ "BBTARGETS" : "wic-tools core-image-weston",
"EXTRACMDS" : [
- "wic create directdisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-sato/",
- "wic create directdisk-gpt -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-sato/",
- "wic create mkefidisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-sato/"
+ "wic create directdisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-weston/",
+ "wic create directdisk-gpt -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-weston/",
+ "wic create mkefidisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86/directdisk/core-image-weston/"
]
},
"step2" : {
"MACHINE" : "genericx86",
- "BBTARGETS" : "wic-tools core-image-sato",
+ "BBTARGETS" : "wic-tools core-image-weston",
"EXTRACMDS" : [
- "wic create directdisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86/directdisk/core-image-sato/",
- "wic create directdisk-gpt -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86/directdisk/core-image-sato/",
- "wic create mkefidisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86/directdisk/core-image-sato/"
+ "wic create directdisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86/directdisk/core-image-weston/",
+ "wic create directdisk-gpt -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86/directdisk/core-image-weston/",
+ "wic create mkefidisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86/directdisk/core-image-weston/"
]
},
"step3" : {
"MACHINE" : "qemux86-64",
- "BBTARGETS" : "wic-tools core-image-sato",
+ "BBTARGETS" : "wic-tools core-image-weston",
"EXTRACMDS" : [
- "wic create directdisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86-64/directdisk/core-image-sato/",
- "wic create directdisk-gpt -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86-64/directdisk/core-image-sato/",
- "wic create mkefidisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86-64/directdisk/core-image-sato/"
+ "wic create directdisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86-64/directdisk/core-image-weston/",
+ "wic create directdisk-gpt -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86-64/directdisk/core-image-weston/",
+ "wic create mkefidisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/qemux86-64/directdisk/core-image-weston/"
]
},
"step4" : {
"MACHINE" : "genericx86-64",
- "BBTARGETS" : "wic-tools core-image-sato",
+ "BBTARGETS" : "wic-tools core-image-weston",
"EXTRACMDS" : [
- "wic create directdisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86-64/directdisk/core-image-sato/",
- "wic create directdisk-gpt -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86-64/directdisk/core-image-sato/",
- "wic create mkefidisk -e core-image-sato -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86-64/directdisk/core-image-sato/"
+ "wic create directdisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86-64/directdisk/core-image-weston/",
+ "wic create directdisk-gpt -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86-64/directdisk/core-image-weston/",
+ "wic create mkefidisk -e core-image-weston -o ${BUILDDIR}/tmp/deploy/wic_images/genericx86-64/directdisk/core-image-weston/"
]
}
},
@@ -684,8 +684,8 @@
"musl-qemux86" : {
"MACHINE" : "qemux86",
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-minimal core-image-full-cmdline core-image-sato-sdk world",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-full-cmdline:do_testimage core-image-sato-sdk:do_testimage",
+ "BBTARGETS" : "core-image-minimal core-image-full-cmdline core-image-weston-sdk world",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-full-cmdline:do_testimage core-image-weston-sdk:do_testimage",
"extravars" : [
"TCLIBC = 'musl'"
]
@@ -694,8 +694,8 @@
"MACHINE" : "qemux86-64",
"SDKMACHINE" : "x86_64",
"BUILDINFO" : true,
- "BBTARGETS" : "core-image-minimal core-image-full-cmdline core-image-sato-sdk world",
- "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-full-cmdline:do_testimage core-image-sato-sdk:do_testimage",
+ "BBTARGETS" : "core-image-minimal core-image-full-cmdline core-image-weston-sdk world",
+ "SANITYTARGETS" : "core-image-minimal:do_testimage core-image-full-cmdline:do_testimage core-image-weston-sdk:do_testimage",
"extravars" : [
"TCLIBC = 'musl'"
]
@@ -807,16 +807,16 @@
},
"step4" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-sato core-image-sato:do_populate_sdk_ext"
+ "BBTARGETS" : "core-image-weston core-image-weston:do_populate_sdk_ext"
},
"step5" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-sato -S none",
+ "BBTARGETS" : "core-image-weston -S none",
"EXTRACMDS" : ["${SCRIPTSDIR}/../janitor/clobberdir ${BUILDDIR}/../build/tmp"]
},
"step6" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-sato",
+ "BBTARGETS" : "core-image-weston",
"extravars" : [
"TMPDIR = '${TOPDIR}/newtmp'",
"require ../locked-sigs.inc"
@@ -827,30 +827,30 @@
"MACHINE" : "qemux86-64",
"step1" : {
"SDKMACHINE" : "x86_64",
- "BBTARGETS" : "core-image-sato:do_populate_sdk_ext",
+ "BBTARGETS" : "core-image-weston:do_populate_sdk_ext",
"extravars" : [
"TMPDIR = '${TOPDIR}/sdktmp'"
]
},
"step2" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"IMAGE_INSTALL_append = ' logrotate'",
"TEST_SUITES_append = ' logrotate'"
]
},
"step3" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"DISTRO_FEATURES_append = ' pam'",
"TEST_SUITES_append = ' pam'"
]
},
"step4" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"IMAGE_INSTALL_append = ' service hello-mod'",
"TEST_SUITES_append = ' skeletoninit'"
@@ -858,8 +858,8 @@
"ADDLAYER" : ["${BUILDDIR}/../meta-skeleton"]
},
"step5" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"DISTRO_FEATURES_append = ' systemd'",
"VIRTUAL-RUNTIME_init_manager = 'systemd'",
@@ -867,16 +867,16 @@
]
},
"step6" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"DISTRO_FEATURES_append = ' systemd'",
"VIRTUAL-RUNTIME_init_manager = 'sysvinit'"
]
},
"step7" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"TEST_SUITES_append = ' systemd'",
"DISTRO_FEATURES_append = ' systemd'",
@@ -885,8 +885,8 @@
]
},
"step8" : {
- "BBTARGETS" : "core-image-sato",
- "SANITYTARGETS" : "core-image-sato:do_testimage",
+ "BBTARGETS" : "core-image-weston",
+ "SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"PACKAGECONFIG_append_x86-64_pn-mesa = ' gallium-llvm gallium r600'"
]
--
2.29.1


[RFC PATCH 4/5] config.json: pam is required when weston starts under systemd

Alexander Kanavin
 

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.json b/config.json
index def8d5a..51a540c 100644
--- a/config.json
+++ b/config.json
@@ -861,7 +861,7 @@
"BBTARGETS" : "core-image-weston",
"SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
- "DISTRO_FEATURES_append = ' systemd'",
+ "DISTRO_FEATURES_append = ' pam systemd'",
"VIRTUAL-RUNTIME_init_manager = 'systemd'",
"TEST_SUITES_append = ' systemd'"
]
@@ -879,7 +879,7 @@
"SANITYTARGETS" : "core-image-weston:do_testimage",
"extravars" : [
"TEST_SUITES_append = ' systemd'",
- "DISTRO_FEATURES_append = ' systemd'",
+ "DISTRO_FEATURES_append = ' pam systemd'",
"VIRTUAL-RUNTIME_init_manager = 'systemd'",
"DISTRO_FEATURES_BACKFILL_CONSIDERED = 'sysvinit'"
]
--
2.29.1


[RFC PATCH 2/5] config.json: transition ptests to weston-based images

Alexander Kanavin
 

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/config.json b/config.json
index 6d50a36..3e60d15 100644
--- a/config.json
+++ b/config.json
@@ -87,16 +87,16 @@
},
"ptest-qemu" : {
"BUILDINFO" : true,
- "BBTARGETS" : "core-image-sato-ptest",
- "SANITYTARGETS" : "core-image-sato-ptest:do_testimage",
+ "BBTARGETS" : "core-image-weston-ptest-all",
+ "SANITYTARGETS" : "core-image-weston-ptest-all:do_testimage",
"extravars" : [
"TEST_SUITES = 'ping ssh ptest'"
]
},
"ptest-qemu-fast" : {
"BUILDINFO" : true,
- "BBTARGETS" : "core-image-sato-ptest-fast",
- "SANITYTARGETS" : "core-image-sato-ptest-fast:do_testimage",
+ "BBTARGETS" : "core-image-weston-ptest-fast",
+ "SANITYTARGETS" : "core-image-weston-ptest-fast:do_testimage",
"extravars" : [
"TEST_SUITES = 'ping ssh ptest'"
]
@@ -116,7 +116,7 @@
"arch-hw" : {
"BUILDINFO" : true,
"step1" : {
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-ptest core-image-sato:do_populate_sdk",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-weston-ptest-all core-image-sato:do_populate_sdk",
"SANITYTARGETS" : "core-image-sato:do_testsdk"
}
},
@@ -303,7 +303,7 @@
},
"step2" : {
"MACHINE" : "qemux86-64",
- "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-sdk-ptest core-image-sato:do_populate_sdk",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-weston-ptest-all core-image-sato:do_populate_sdk",
"SANITYTARGETS" : "core-image-sato:do_testsdk"

},
--
2.29.1


[RFC PATCH 1/5] config.json: drop core-image-sato-dev from builds

Alexander Kanavin
 

core-image-sato-sdk is a superset, and a much more useful one.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.json | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/config.json b/config.json
index 11a2664..6d50a36 100644
--- a/config.json
+++ b/config.json
@@ -62,7 +62,7 @@
"BUILDINFO" : true,
"BUILDHISTORY" : true,
"step1" : {
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk"
},
"step2" : {
@@ -116,7 +116,7 @@
"arch-hw" : {
"BUILDINFO" : true,
"step1" : {
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-ptest core-image-sato:do_populate_sdk",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-ptest core-image-sato:do_populate_sdk",
"SANITYTARGETS" : "core-image-sato:do_testsdk"
}
},
@@ -229,7 +229,7 @@
"BUILDINFO" : true,
"step1" : {
"SDKMACHINE" : "aarch64",
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk core-image-minimal:do_testsdkext core-image-sato:do_testsdkext"
}
},
@@ -258,7 +258,7 @@
"BUILDINFO" : true,
"step1" : {
"SDKMACHINE" : "aarch64",
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk core-image-minimal:do_populate_sdk_ext core-image-sato:do_populate_sdk_ext",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk core-image-minimal:do_testsdkext core-image-sato:do_testsdkext"
}
},
@@ -298,12 +298,12 @@
"SSTATEDIR" : ["SSTATE_DIR ?= '${HELPERBUILDDIR}/sstate'"],
"MACHINE" : "qemuarm64",
"step1" : {
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato:do_populate_sdk",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage core-image-sato:do_testsdk"
},
"step2" : {
"MACHINE" : "qemux86-64",
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-sdk-ptest core-image-sato:do_populate_sdk",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-sdk-ptest core-image-sato:do_populate_sdk",
"SANITYTARGETS" : "core-image-sato:do_testsdk"

},
@@ -556,25 +556,25 @@
"pkgman-rpm-non-rpm" : {
"MACHINE" : "qemux86",
"PACKAGE_CLASSES" : "package_rpm",
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
},
"pkgman-deb-non-deb" : {
"MACHINE" : "qemux86",
"PACKAGE_CLASSES" : "package_deb",
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
},
"pkgman-non-rpm" : {
"MACHINE" : "qemux86",
"step1" : {
"PACKAGE_CLASSES" : "package_ipk",
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
},
"step2" : {
"PACKAGE_CLASSES" : "package_deb",
- "BBTARGETS" : "core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev",
+ "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev",
"SANITYTARGETS" : "core-image-minimal:do_testimage core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
}
},
--
2.29.1


Dependencies error while compiling .

NIKHIL PATIL <nikhilvp29@...>
 

Hi team ,
      while compiling a package i am getting following error :-
    
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/nikhil/inti_dmsv/yocto_build/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'quilt-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install

if anyone knows , please help.



Re: [yocto-autobuilder2][PATCH] schedulers.py: run performance builds only 2x a day, not 4x

Richard Purdie
 

On Sun, 2020-11-08 at 14:26 +0100, Alexander Kanavin wrote:
On Sun, 8 Nov 2020 at 13:59, Richard Purdie <
richard.purdie@...> wrote:
I've been wondering about this but I suspect we should drop them
from
a-full instead...
Sure, I sent a patch for that.
I've been thinking about this and the reason I've not done this is
release builds. I'm wondering if we we can somehow make the trigger
release build specific.

I think is is possible to do this, I've pushed in a patch to attempt it
since I'm the one asking for the complication :)

I've tried to reconfig the controller but we'll see whether it works
out or needs a full restart (when no builds are running).

Cheers,

Richard


Re: [yocto-autobuilder2][PATCH] schedulers.py: run performance builds only 2x a day, not 4x

Alexander Kanavin
 

On Sun, 8 Nov 2020 at 13:59, Richard Purdie <richard.purdie@...> wrote:

I've been wondering about this but I suspect we should drop them from
a-full instead...

Sure, I sent a patch for that.

Alex


[yocto-autobuilder2][PATCH] config.py: drop buildperf jobs from a-full builds

Alexander Kanavin
 

Those are run on a separate schedule, and in context of a-full
only cause delays due to queues forming for single available workers.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.py b/config.py
index 086c557..6e7afe6 100644
--- a/config.py
+++ b/config.py
@@ -77,7 +77,7 @@ trigger_builders_wait_quick =3D trigger_builders_wait_s=
hared + [
trigger_builders_wait_full =3D trigger_builders_wait_shared + [
"qemumips-alt", "edgerouter-alt", "mpc8315e-rdb-alt", "qemuppc-alt",=
"qemux86-world-alt",
"oe-selftest-ubuntu", "oe-selftest-debian", "oe-selftest-fedora", "o=
e-selftest-centos",
- "qemux86-64-ptest", "buildperf-ubuntu1604", "buildperf-centos7", "qe=
mux86-64-ltp",
+ "qemux86-64-ptest", "qemux86-64-ltp",
"qemuarm64-ptest", "qemuarm64-ltp", "meta-intel", "meta-arm"
]
=20
--=20
2.29.1


Re: [yocto-autobuilder2][PATCH] schedulers.py: run performance builds only 2x a day, not 4x

Richard Purdie
 

On Sun, 2020-11-08 at 10:09 +0100, Alexander Kanavin wrote:
The same builds are included in a-full, so they tend to get queued up
and cause delays in builds completion, as there's only a single worker
allocated to them. Let's run them less frequently to mitigate the delays.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
schedulers.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/schedulers.py b/schedulers.py
index 2e8f3d5..ca63c9f 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -306,11 +306,11 @@ schedulers.append(sched.Nightly(name='nightly-quick', branch='master', propertie
schedulers.append(sched.Nightly(name='nightly-full', branch='master', properties=parent_default_props('a-full'),
builderNames=['a-full'], hour=1, minute=0, dayOfWeek=6))

-# Run the build performance tests at 3am, 9am, 3pm and 9pm
+# Run the build performance tests at 3am and 3pm
schedulers.append(sched.Nightly(name='nightly-buildperf-ubuntu1604', branch='master', properties=parent_default_props('buildperf-ubuntu1604'),
- builderNames=['buildperf-ubuntu1604'], hour=[3,9,15,21], minute=0))
+ builderNames=['buildperf-ubuntu1604'], hour=[3,15], minute=0))
schedulers.append(sched.Nightly(name='nightly-buildperf-centos7', branch='master', properties=parent_default_props('buildperf-centos7'),
- builderNames=['buildperf-centos7'], hour=[3,9,15,21], minute=0))
+ builderNames=['buildperf-centos7'], hour=[3,15], minute=0))
I've been wondering about this but I suspect we should drop them from
a-full instead...

Cheers,

Richard


[yocto-autobuilder2][PATCH] schedulers.py: run performance builds only 2x a day, not 4x

Alexander Kanavin
 

The same builds are included in a-full, so they tend to get queued up
and cause delays in builds completion, as there's only a single worker
allocated to them. Let's run them less frequently to mitigate the delays.

Signed-off-by: Alexander Kanavin <alex.kanavin@...>
---
schedulers.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/schedulers.py b/schedulers.py
index 2e8f3d5..ca63c9f 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -306,11 +306,11 @@ schedulers.append(sched.Nightly(name=3D'nightly-qui=
ck', branch=3D'master', propertie
schedulers.append(sched.Nightly(name=3D'nightly-full', branch=3D'master'=
, properties=3Dparent_default_props('a-full'),
builderNames=3D['a-full'], hour=3D1, minute=3D0, dayOf=
Week=3D6))
=20
-# Run the build performance tests at 3am, 9am, 3pm and 9pm
+# Run the build performance tests at 3am and 3pm
schedulers.append(sched.Nightly(name=3D'nightly-buildperf-ubuntu1604', b=
ranch=3D'master', properties=3Dparent_default_props('buildperf-ubuntu1604=
'),
- builderNames=3D['buildperf-ubuntu1604'], hour=3D[3,9,1=
5,21], minute=3D0))
+ builderNames=3D['buildperf-ubuntu1604'], hour=3D[3,15]=
, minute=3D0))
schedulers.append(sched.Nightly(name=3D'nightly-buildperf-centos7', bran=
ch=3D'master', properties=3Dparent_default_props('buildperf-centos7'),
- builderNames=3D['buildperf-centos7'], hour=3D[3,9,15,2=
1], minute=3D0))
+ builderNames=3D['buildperf-centos7'], hour=3D[3,15], m=
inute=3D0))
=20
# Run the AUH on the 15th of every month
schedulers.append(sched.Nightly(name=3D'nightly-auh', branch=3D'master',=
properties=3Dparent_default_props('auh'),
--=20
2.29.1


Re: Syntax of multiconfig

Khem Raj
 

On Sat, Nov 7, 2020 at 5:53 AM Manuel Wagesreither <ManWag@...> wrote:

Hello all,

I'm trying the become acquainted with the multiconfig feature. I read the relevant chapters in the BitBake User Manual, but some questions I have suggest I did not yet get the whole picture.


1.)
In [1] the following examples are given:

`$ bitbake mc::target mc:target1:target mc:target2:target`

What does the `mc::target` stand for? If I omit the multiconfigname, is the target getting built for all configured multibuildnames?
bitbake mc:target1:target

mc = qualifier keyword used to identify a multiconfig build by bitbake
target1 = name of multiconfig ( e.g. first machine )
target = Firmware image name to be built for this multiconfig



[1] https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#executing-a-multiple-configuration-build
The sample there seems to be wrong, it should just be bitbake
mc:target1:image1 mc:target2:image2


2.)
In [2], the following example is given:

`task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"`
`image_task[mcdepends] = "mc:target1:target2:image2:rootfs_task"`

I do not understand why the `from_multiconfig` needs to be given at all. Isn't this redundant information? Per my understanding, when I'm having bitbake bake an image `my-image`, and this image includes a recipe which has such a multiconfig dependency, `from_multiconfig` must be `my-image` as well. So why the need for `from_multiconfig` at all?

I think it wouldn't just add any value, but would actively prevent this recipe/package to be included in images getting built in other configurations.
assuming the default to be current mc target for from_multiconfig is
troublesome when say you build same image but for mc:target2 in such a
case there will be circular dependency. So being explicit enables to
specify m to n dependencies.


So I probably my understanding here is wrong.

[2] https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#bb-enabling-multiple-configuration-build-dependencies


3.)
The links above are using `target_1` and `target_2` for as configuration names. I think this is misleading, as target already refers to the recipe/package or image bitbake is building. How can I contribute to the BitBake documentation?
now documentation has moved to sphinx there is separate mailing list
for docs so git format-patch and send them to
docs@...

here are archives for this month
https://lists.yoctoproject.org/g/docs/messages?start=11:2020:480

I checked [3] but couldn't see anything referencing the documentation.

[3] https://wiki.yoctoproject.org/wiki/Newcomers#How_to_Contribute


Best regards
Manuel



Re: Trying to compile hping3 from sources #devtool

Khem Raj
 

On Sat, Nov 7, 2020 at 11:57 AM Muralidharan, Vaijayanthi
<vaijayanthi.muralidharan@...> wrote:

Khem,

Thanks for responding. I am trying to build hping3 from sources. There is only a bb recipe for hping2.
what is your failing recipe called (exact name )

On 11/6/20, 9:42 PM, "Khem Raj" <raj.khem@...> wrote:

whats the name of your recipe ? secondly hping3 requires libtcl8.6.so
seems to be troublesome because its asking
for devel package not the original library, I wonder why, can you find
out the linker cmdline where ping3 is getting linked ?

On Fri, Nov 6, 2020 at 6:31 PM Vaijayanthi <vaijayanthi@...> wrote:
>
> Hi, I am using devtool add hping3 https://github.com/antirez/hping to add hping3 as part of our custom image. Here is my recipe:
>
> # Recipe created by recipetool
>
> # This is the basis of a recipe and may need further editing in order to be fully functional.
>
> # (Feel free to remove these comments when editing.)
>
>
>
> # WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
>
> # your responsibility to verify that the values are complete and correct.
>
> #
>
> # The following license files were not able to be identified and are
>
> # represented as "Unknown" below, you will need to check them yourself:
>
> # COPYING
>
> LICENSE = "GPLv2"
>
> LIC_FILES_CHKSUM = "file://COPYING;md5=3728a6c4c9630a9e796ad4b82dacd887"
>
>
>
> SRC_URI = "git://github.com/antirez/hping;protocol=https"
>
>
>
> # Modify these as desired
>
> PV = "1.0+git${SRCPV}"
>
> SRCREV = "3547c7691742c6eaa31f8402e0ccbb81387c1b99"
>
>
>
> S = "${WORKDIR}/git"
>
>
>
> #DEPENDS = "libpcap"
>
> RDEPENDS_${PN} += " libpcap tcl-lib tcl"
>
>
>
> # NOTE: no Makefile found, unable to determine what needs to be done
>
>
>
> do_configure () {
>
> # Specify any needed configure commands here
>
> CONFIGOSTYPE="LINUX" ./configure
>
> }
>
>
>
> do_compile () {
>
> # Specify compilation commands here
>
> make
>
> }
>
> do_install() {
>
> #install -Dm755 ${B}/libpcap.so.0.8 ${D}${libdir}/libpcap.so.0.8
>
> #ln -sf libpcap.so.0.8 ${D}${libdir}/libpcap.so
>
> #install -Dm755 ${B}/libtcl8.6.so ${D}${libdir}/libtcl8.6.so
>
> #ln -sf libtcl8.6.so ${D}${libdir}/libtcl8.6.so
>
> install -m 0755 -d ${D}${sbindir} ${D}/${mandir} ${D}${docdir}/hping3
>
> install -m 0755 hping3 ${D}/${sbindir}
>
> install -m 0644 docs/hping3.8 ${D}/${mandir}
>
> install -m 0644 docs/HPING2-HOWTO.txt docs/HPING2-IS-OPEN \
>
> docs/MORE-FUN-WITH-IPID docs/SPOOFED_SCAN.txt \
>
> docs/AS-BACKDOOR docs/APD.txt ${D}${docdir}/hping3
>
> }
>
>
>
> #INSANE_SKIP_${PN}-dev = "ldflags"
>
> #INSANE_SKIP_${PN} = "ldflags"
>
> #INSANE_SKIP_${PN} += "file-rdeps dev-deps"
>
>
> How do I add this to my custom bitbake layer? Also, make is complaining about
> ERROR: hping3-1.0+git999-r0 do_package_qa: QA Issue: /usr/sbin/hping3 contained in package hping3 requires libpcap.so.0.8()(64bit), but no providers found in RDEPENDS_hping3? [file-rdeps]
> ERROR: hping3-1.0+git999-r0 do_package_qa: QA Issue: /usr/sbin/hping3 contained in package hping3 requires libtcl8.6.so()(64bit), but no providers found in RDEPENDS_hping3? [file-rdeps]
> ERROR: hping3-1.0+git999-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
>
> Please let me know what I should I do next to integrate this recipe with my custom meta layer and also, address the make failures.
>
>
>
>
>

6481 - 6500 of 57773