- Apr 14, 2019
-
-
Richard Purdie authored
(From OE-Core rev: f571b188177788d8ed0a7f3efe3569f153b1b0d3) Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
- Apr 12, 2019
-
-
Richard Purdie authored
This reverts commit 83faaf7b2a5f4fc4ae504b300134409e90389770. This should never have merged as the change was rejected upstream and adding a library to the ptest package resulted in it providing that SONAME which led to being included in images like core-image-sato. This in turn led to a ton of ptest failures in the 2.7 r1 QA report. (From OE-Core rev: 039e7b25f0018e6923d14b40c35252f99e1d3ea3) Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Scott Rifenbark authored
These have never been used in the BB manual and were an artifact from copy-and-pasting the poky.ent file from the main yocto-docs repo to this bb repo when the BB manual was origially created. They are useless. I have removed them. (Bitbake rev: cb185efe9e88cfb12b7a3fd08f3086ca0b69c8e2) Signed-off-by:
Scott Rifenbark <srifenbark@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Richard Purdie authored
(From OE-Core rev: b5f493078335a77dea2f229d36629399d897a528) Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Richard Purdie authored
(From meta-yocto rev: 299b4150c66520985415fcc91119d563f7ba663c) Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Richard Purdie authored
(Bitbake rev: 00b133af009f9e7c1a4c751b6ef4902f47a81fe2) Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andre Rosa authored
Let mkdirhier fail if existing path is not a folder instead of assuming a directory hierarchy already exists. (Bitbake rev: a8d9b82ccf93dcb74258693f62d88be380b1c0b7) Signed-off-by:
Andre Rosa <andre.rosa@lge.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Michael Scott authored
Support RISC-V kernel image, using the "Image" target. This change allows RISC-V support for fitImage via the following flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage with ramdisk and dtb). This was tested using QEMU RISC-V 64-bit. (From OE-Core rev: 35d0842c637b7d7ce0ab01f43b594c19a964872f) Signed-off-by:
Michael Scott <mike@foundries.io> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Mingli Yu authored
Remove dlopen-test.patch which originally used to fix the test dlopen-test, but autually the patch didn't resolve the issue as dlopen-test.patch supposes the file /usr/lib/libnettle.so exists. Instead deploy ${D}${PTEST_PATH}/libnettle.so to fix the dlopen-test failure. Update the initialization for the salt to fix below Segmentation fault and also nettle-pbkdf2-test failure. # echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt [65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00] [65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f Segmentation fault (From OE-Core rev: 83faaf7b2a5f4fc4ae504b300134409e90389770) Signed-off-by:
Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Chen Qi authored
The subprocess.run was replaced by subprocess.check_call because of compatibility support down to python 3.4. But we really don't care about whether that command succeeds. Some user reports that in some tmux environment, this command fails and gives some unpleasant traceback output. So we use 'call' instead of 'check_call' to avoid such problem. (From OE-Core rev: c574aaf30c82ad397c0a6567b3cb52e7fb5d5829) Signed-off-by:
Chen Qi <Qi.Chen@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Khem Raj authored
baremetal override is not valid for cross-canadian anymore therefore use the TARGET_OS overrides Fixes e.g. https://github.com/riscv/meta-riscv/issues/117 (From OE-Core rev: 1bc122a044de280d17525c8e5ee66e81775a7d8b) Signed-off-by:
Khem Raj <raj.khem@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Hongxu Jia authored
The ubi, ubifs and multiubi FSTYPES calls `mkfs.ubifs' to create UBIFS images. In do_image_ubi, $vname is empty, the name of UBIFS image conflicts with the one in do_image_ubifs, and it's a race risk. [do_image_ubi] mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAME_SUFFIX}.ubifs ${mkubifs_args} [do_image_ubi] [do_image_ubifs] mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ubifs ${MKUBIFS_ARGS} [do_image_ubifs] In do_image_multiubi, $vname is not empty, the UBIFS image name does not conflict with others. So do not call mkfs.ubifs in do_image_ubi and depend on do_image_ubifs to create UBIFS images. The fix does not affect do_image_multiubi which still call mkfs.ubifs to create multiple UBIFS images and symlinks. [YOCTO #13272] (From OE-Core rev: 3e5f075184d91dd99cf25cfe84bba1c946ed0c7c) Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Richard Purdie authored
The slow tests run unreliably with our current setup/infrsstructure/timeouts. There are only five slow ones and having the other ~250 run reliably without timeouts is the priority right now. We can revisit the slow tests at some later date if wanted. (From OE-Core rev: 7469c2a5595337fc4407fa7a2ad06b5bf2347545) Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Richard Purdie authored
Further simplification of the go_map_arm() function. (From OE-Core rev: 9c333505897b2bf0d80737c855af31785d23435a) Signed-off-by:
Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Richard Purdie authored
The x86 override means the i586 one isn't necessary. (From OE-Core rev: 1658bf2dbdfe1a5b38efcc03359c9937506c120c) Signed-off-by:
Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Alexander Kanavin authored
With this change, the ptests do not fail anymore, except for the three failures caused by the 5.0 kernel regression: - test_ssl and test_httplib lock up, and are skipped (there is a separate patch for it) - test_asyncio fails but does not lock up (From OE-Core rev: 49720e6d680d0041850c00ce6dc859d557825595) Signed-off-by:
Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Dengke Du authored
When enable DEBUG_BUILD, the perf build failed by the following error: libbpf.c:727:36: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized] This is ok until Khem commit a patch in oe-core: 16643b03227466e2c80a24c2d079fe36e89553c1 This commit import "-Og" option to "DEBUG_OPTIMIZATION", result in this error. Actually, the warning was misinformation. We explore the code in libbpf.c: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf.c#n640 -------------------------------------------------------------------------- if (scn) data = elf_getdata(scn, NULL); if (!scn || !data) { pr_warning("failed to get Elf_Data from map section %d\n", obj->efile.maps_shndx); return -EINVAL; } ...... using data... ...... -------------------------------------------------------------------------- If the 'scn' was not null, the data will be initialized. if the data was null, the function will return -EINVAL, so the data must be not null, but compiler can't see it in 'if' code block, so treat it as 'maybe-uninitialized'. (From OE-Core rev: 0eb4048bc5865579327f5a88086e3e3241b012cb) Signed-off-by:
Dengke Du <dengke.du@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Yeoh Ee Peng authored
Remove duplicate codes. Replace unnecessary class variables with local variables. Rename variables and arguments with simple and standard name. (From OE-Core rev: 6bef61d36f3328fad003c0dc9c010d3f76ba96d8) Signed-off-by:
Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Nathan Rossi authored
The quotes should be generated in the output to match the expected cmake syntax for setting cache variables. (From OE-Core rev: a19a6201c8cc255583bd014534b4a6ec2524070f) Signed-off-by:
Nathan Rossi <nathan@nathanrossi.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Changqing Li authored
When enable DEBUG_BUILD, cogl compile failed with error: | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_gltype = gltype; | ~~~~~~~~~~~~^~~~~~~~ | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:213:22: error: 'glintformat' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_glintformat = glintformat; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Source: https://gitlab.gnome.org/GNOME/cogl/blob/master/cogl/driver/gl/gles/cogl-driver-gles.c it can handle correctly, so fix with -Wnoerror (From OE-Core rev: 72aace12a499db8d1340c8705b177e6f191d853d) Signed-off-by:
Changqing Li <changqing.li@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Beniamin Sandu authored
The kernel-devsrc rework doesn't take into account localversion files in the kernel source tree. This might result in modules with an incomplete version magic when building out-of-tree using the SDK. Before: root@qemux86:~# insmod hello.ko [ 42.000212] hello: version magic '5.0.3-yocto-standard SMP preempt mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard SMP preempt mod_unload PENTIUMM ' [ 42.008200] hello: version magic '5.0.3-yocto-standard SMP preempt mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard SMP preempt mod_unload PENTIUMM ' insmod: can't insert 'hello.ko': invalid module format After: root@qemux86:~# insmod hello.ko [ 39.094288] hello: loading out-of-tree module taints kernel. [ 39.108044] Hello World! (From OE-Core rev: 68b9243729ac1982c9f1d30980cf979267bbc7c3) Signed-off-by:
Beniamin Sandu <beniamin.sandu@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Changqing Li authored
(From OE-Core rev: 46f47b700ef7f58c8095db9bd3b4b867a6447360) Signed-off-by:
Changqing Li <changqing.li@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Changqing Li authored
ext module fiddle depend on libffi, in ruby source tree, there is in internal libffi in case target platfrom don't install libffi, but autotools.bbclass delete configure under libffi and not run autoreconf to regenerate one.so we met this error: ruby-2.5.3/ext/fiddle/libffi-3.2.1/configure: No such file or directory the fix is add depend and extra_oeconf to use libffi in the system (From OE-Core rev: 55acc9b477919208d91781dbe9a03136f895a94b) Signed-off-by:
Changqing Li <changqing.li@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Wenlin Kang authored
This fixes the follow issue, the cause is that net-tools needs libnss-myhostname.so when run "hostname -s". root@qemuarm64:~# hostname -s hostname: Unknown host (From OE-Core rev: 5bad5eb5f41053e4963fb26972f56dbf67349378) Signed-off-by:
Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Lei Yang authored
When I use recipetool to add a new recipe, it says: [snip] sys.exit(14) NameError: name 'sys' is not defined [snip] (From OE-Core rev: 051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586) Signed-off-by:
Lei Yang <Lei.Yang@windriver.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Alejandro del Castillo authored
Install opkg test suite and run it as ptest. (From OE-Core rev: 6b9963a58eec9f5f5fe72021d13e3c89461a9649) Signed-off-by:
Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Zheng Ruoqin authored
Fix Python3 TypeError error in check_perl_modules: Executing bitbake, the following error message will be throwed: File ".../poky/meta/classes/sanity.bbclass", line 979, in check_sanity_eventhandler check_sanity(sanity_data) File ".../poky/meta/classes/sanity.bbclass", line 943, in check_sanity check_sanity_version_change(status, sanity_data) File ".../poky/meta/classes/sanity.bbclass", line 637, in check_sanity_version_change status.addresult(check_perl_modules(d)) File ".../poky/meta/classes/sanity.bbclass", line 563, in check_perl_modules errresult += e.output TypeError: must be str, not bytes So here, transfer e.output from bytes to str. (From OE-Core rev: 2c6fff3fe315357d65d082679856615afc367d90) Signed-off-by:
Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
- Apr 11, 2019
-
-
Andreas Müller authored
Tested with 'unknown-configure-option' in ERROR_QA: For meson (glib-2.0-native): 1. add 'EXTRA_OEMESON_append = "-Dschnitzel=true -Dwurst=true"' | ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: glib-2.0-native: configure was passed unrecognised options: schnitzel wurst [unknown-configure-option] 2. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" schnitzel"' | ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: glib-2.0-native: configure was passed unrecognised options: wurst [unknown-configure-option] 3. change to 'UNKNOWN_CONFIGURE_WHITELIST_append=" schnitzel wurst"' => builds without issues For autotools (readline-native): 1. add 'EXTRA_OECONF = "--with-schnitzel --with-wurst"' | ERROR: readline-native-8.0-r0 do_configure: QA Issue: readline-native: configure was passed unrecognised options: --with-wurst --with-schnitzel [unknown-configure-option] 2. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" --with-schnitzel"' | ERROR: readline-native-8.0-r0 do_configure: QA Issue: readline-native: configure was passed unrecognised options: --with-wurst [unknown-configure-option] 3. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" --with-schnitzel --with-wurst"' => builds without issues (From OE-Core rev: 30c001cdbc6207001b18e093ad9691e606428f0f) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
gobject-introspection is mandatory for gstreamer1.0-python - there is no configure option to enable or disable it. To handle properly, this patch does: * Make 'gobject-introspection-data' a required distro feature * Add 'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"' - it was removed in gobject-introspection.bbclass to avoid | ERROR: libgee-0.18.0-r0 do_configure: QA Issue: libgee: configure was passed unrecognised options: --disable-schemas-install [unknown-configure-option] (From OE-Core rev: bcc560134ebfbeeb0c1cc7b6c96e2da629df67a2) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
Now that whitelisting for unknown configure options was removed in gobject-introspection.bbclass gstreamer1.0-plugins-ugly/-good start complaining | ERROR: gstreamer1.0-plugins-ugly-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-ugly: configure was passed unrecognised options: --enable-introspection [unknown-configure-option] | ERROR: gstreamer1.0-plugins-good-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-good: configure was passed unrecognised options: --enable-introspection [unknown-configure-option] So let only those gst-plugin recipes inherit gobject-introspection whose sources support GI. (From OE-Core rev: b6138d28f750f4306bc8b9c9baa047d9971dcb17) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
this version support gnutls option again - it was mandatory for 2.58.0 (From OE-Core rev: 1638c56a5e38969b07d368176ae30d241199eb36) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 951b8394a7665902ec9b0572585c605251beb002) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 9fca94a4fe8e6f884689accc7d35c453811b6654) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 7d2d1a45e0d6fe0dba289d686a510f844151df2f) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 2e2dbb4c16dcdc8b1d51a3d5a46d766e395d1840) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 0c8fdee10bed66334df93b22ee16fb61a3752c56) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 926cdbf7a7a07c8dfdfe3f3b66f32f8c1ea0dffa) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 25f4b659915c5de60a07ba98cba709c4a52c476e) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 8ffb0a5f88cbebfa19e5eee337d00f6e5214ba34) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-
Andreas Müller authored
(From OE-Core rev: 7ebe0cfccb5ec5643da3154cc4d6537493ad496e) Signed-off-by:
Andreas Müller <schnitzeltony@gmail.com> Signed-off-by:
Richard Purdie <richard.purdie@linuxfoundation.org>
-