summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-09-10imagefeatures.py: update no busybox casesross/muttKai Kang
Duplicate case test_no_busybox_base_utils with test_no_busybox_base_utils_systemd in imagefeatures.py. Append IMAGE_FEATURES "ptest-pkgs" and run task 'testimage' of core-image-sato in original case test_no_busybox_base_utils. It takes too much time to run case test_no_busybox_base_utils, so not update the case to run task 'testimage' in test_no_busybox_base_utils_systemd. $ time oe-selftest -r imagefeatures.ImageFeatures.test_no_busybox_base_utils real 394m54.424s user 0m17.764s sys 0m4.276s [Yocto #13736] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
2020-09-10XX fix variable typoRoss Burton
2020-09-10XXX rm_work: support T changingRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10xxx: build: warn if a non-task fakeroot python function is usedRoss Burton
2020-09-10staging.bbclass: Avoid looking at other multiconfigs on extend_recipe_sysrootAlejandro Enedino Hernandez Samaniego
On extend_recipe_sysroot we only compare taskname and pn, but if we have some dependency to a recipe from another multiconfig, these two will still match if it is the same recipe, causing an error since the build system believes it has already proccesed that dependency. Check if this is a multiconfig build, if it is, make sure the current dependency is coming from the same multiconfig as the one we are building. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10XXX image manifestRoss Burton
2020-09-10XXX graph-statsRoss Burton
2020-09-10XXX oe-depends-dot: find lonely recipesRoss Burton
2020-09-10cmake.bbclass: use CMAKE_SYSTEM_LIBRARY_PATH instead of CMAKE_LIBRARY_PATHPascal Bach
CMAKE_LIBRARY_PATH is intended to be set by projects. CMAKE_SYSTEM_LIBRARY_PATH is better suited to be used in a toolchain file. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10XXX insane todoRoss Burton
2020-09-10image_types.bbclass: add optional size to ubi volsTobias Olausson
Instead of hard coding the ubi volume to be just large enough to fit the root file system, one can use a variable to set a preferred size. (From OE-Core rev: 9b4a1c8031600f5c81198f3266fa7db986785602) (From OE-Core rev: 4b783d936cee03ada4c71f53bf10302bc469c13e) Signed-off-by: Tobias Olausson <tol@hms.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10librsvg: CVE whitelistRoss Burton
2020-09-10git perl XXXRoss Burton
2020-09-10XXX hack iaRoss Burton
2020-09-10XXX connman-conf: generaliseRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10libssh2: upgrade to 1.9.0Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10Add libgit2, libssh2 from meta-oe for rustRandy MacLeod
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10testimage.bbclass: Add kernel provider and version to testresultYeoh Ee Peng
In running QA testing, we sometime need to select custom provider for virtual/kernel and version. To track the selected virtual/kernel provider and version used during test, we need to add these information to testresult. This patch add the virtual/kernel and version into the testresult configuration section. Example of virtual/kernel and version added to testresult configuration: - "KERNEL_PROVIDER_VERSION": "linux-intel_4.19" Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10fribidi: ptest XXXRoss Burton
2020-09-10bluez5: remove upstream rejected patch to test suiteRoss Burton
0001-test-gatt-Fix-hung-issue.patch was added to solve a problem with the test case, but the test passes without it and upstream don't agree that this is fixing the test case[1]. [1] https://marc.info/?l=linux-bluetooth&m=153509658106588&w=2 (From OE-Core rev: 495f742b53b62b847afbf39db443f2add06d8e9c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10kernel: do verbose buildsRoss Burton
Pass V=1 to kernel builds so that the compile log is more useful if it all goes wrong. Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10XX zip: dispute cveRoss Burton
2020-09-10XX glibc: whitelist CVEsRoss Burton
2020-09-10X libsndfile: cve whitelistRoss Burton
2020-09-10ncurses: remove site_configRoss Burton
2020-09-10zlib: remove site_configRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10package_ipk: handle exception for subprocess commandAndrey Zhizhikin
When opkg-build command fails to execute, subprocess is returned with exception instead of printing to stderr. This causes the error logging not to be printed out, as the "finally" statement does not contain any bitbake error output. One example of this behavior is when the package name contains uppercase character, which are rejected by opkg-build, subprocess.check_output would except and no error log would be produced. This commit catches the exception subprocess.CalledProcessError and produces bb.error output visible to the user. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10libc-package.bbclass: Use install utility to create directories with right ↵Khem Raj
permissions Could fix issues where dirs with wrong permission is created with mkdir -p Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10image_types: increase minimum btrfs file system sizeRoss Burton
Recent mkfs.btrfs has a different and more accurate algorithm for the minimum file system size[1], so update the minimal size with the correct numbers. [1] https://github.com/kdave/btrfs-progs/commit/31d228a2eb98d95637338bf77b5abcd375614d15 (From OE-Core rev: bc0bc868d5cc282fcbe3a196a92c00467b7deec7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10gmp: depends on flex-native to fix parallel building issueHaiqing Bai
fix below parallel building issue: configure:27365: result: flex configure:27403: flex conftest.l .../sysroots/x86_64-linux/usr/bin/flex.real: No such file or directory configure:27407: $? = 127 configure:27409: checking lex output file root configure:27420: error: cannot find output from flex; giving up Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10oe-selftest: devtool: fix kernel test for multisrc changesPaul Eggleton
Fix the oe-selftest test to understand that the source will be found in a "source" subdirectory if the kernel inherits linux-yocto since there are multiple trees extracted. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10lib/oe/recipeutils: allow patch_recipe_file() to be re-calledPaul Eggleton
If patch_recipe_file() is called with output redirection on the same file twice in succession, then we don't want to wipe out the changes the first call made so we need to be reading in the redirected file if it exists instead of the original one. This is important to enable devtool finish to work with multiple source trees within the same recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10busybox: Add mkfs.EXT2 support on poky-tinyAlejandro Hernandez
Busybox should provide mkfs ext2 support on poky-tiny since e2fsprogs isnt included [YOCTO #12170] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10image-live.bbclass: remove MLPREFIX from syslinuxRobert Yang
Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" IMAGE_FSTYPES += "iso" $ bitbake lib32-core-image-minimal ERROR: lib32-core-image-minimal-1.0-r0 do_bootimg: The file /usr/include/printf.h is installed by both glibc and lib32-glibc, aborting This was because: lib32-syslinux -> lib32-glibc virtual/kernel -> glibc We can build 64bit syslinux (only build, not install) to fix the problem, the do_bootimg only needs several data files of syslinux such as vesamenu.c32, these files are not arch related. (From OE-Core rev: c9aaa0da3d115fdfb5163873ceaccb6f49ae2ac9) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10XXX package unpack hackRoss Burton
2020-09-10XXX meson: set pkg-config-nativeRoss Burton
2020-09-10automake: add build-TESTS for parallel test runnerRoss Burton
2020-09-10native.bbclass: poison TARGET_CFLAGS etc for native buildsAndre McCurdy
TARGET_* FLAGS are never passed to the native toolchain. However, they are exported so their values affect the checksum of every task. Replace with fixed values to both avoid any unnecessary rebuilding of native packages when target flags are changed (as before) and now also to poison any accidental use of target flags with the native toolchain. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10XXX recipe_sanity: remove redundant/obsolete/broken classRoss Burton
2020-09-10tune-strongarm1100.inc: restore specific tuningAndrea Adami
Since commit a11bdc36a1be tune-*: define more generic DEFAULTTUNE to share feed between machines we are using armv4 to share binary feeds. As of today, there are no public feeds for the legacy devices so let's prefer the optimal tuning. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10XXX insane: clean up subprocessRoss Burton
2020-09-10perl: add a version that builds the recipe using perl-cross, and update to ↵Alexander Kanavin
5.28.0 perl-cross is a build system overlay from buildroot project that aims to bring a bit of sanity to cross-building perl. The advantage of using that is that we can drop a lot of custom patches (that no one really understands), and simplify the perl recipe as well. Also the build time goes down from several minutes to about 30 seconds. The whole thing becomes maintainable again, in my opinion. When rewriting the recipe I had two goals in mind: 1. Stay with upstream defaults as much as possible 2. Add custom patches only when their necessity was proven through testing. http://arsv.github.io/perl-cross/ (From OE-Core rev: 3f007ebcdfe1e1d7afa9a1bacb9d31c9c8127b83) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10base: Dummy rebuild commitRichard Purdie
(From OE-Core rev: bcae2c6588c0c20ac10e04b595fe453b2279ba6e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10oeqa/selftest/signing: Limit threading due to resource issuesRichard Purdie
(From OE-Core rev: 5e389aed8532c0a3139916c704f451bc6457aa50) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10XX build: add name to log outputRoss Burton
2020-09-10XX build: timestamp the logsRoss Burton
2020-09-10cairo: Adapt license for cairo-dbg and cairo-src based on contentsPeter Kjellerstedt
Introduce a PACKAGECONFIG "trace" to disable cairo-trace (the only part of the code licensed as GPL-3.0, and which is normally packaged separately in cairo-perf-utils). By disabling this, we can adapt the licenses for cairo-dbg and cairo-src so that they do not include "GPLv3+" when trace is disabled and thus they can be used also when, e.g., GPL-3.0 is blacklisted in INCOMPATIBLE_LICENSE. The "trace" PACKAGECONFIG is enabled by default for backwards compatibility. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10wip cachedpath: use scandirRoss Burton
2020-09-10oeqa: add insane package walk testRoss Burton
For reassurance when changing the insane.bbclass package walking code, add a sanity test to verify that the file listing is what is expected. Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-09-10selftest-hardlink: don't RDEPEND on gdb explicitlyRoss Burton
For easy of reuse and speed of building, don't RDEPEND on gdb explicitly. Instead put gdb.sh into ${PN} and explicitly install gdb into the image if needed. This means other tests that don't need to use gdb can reuse this recipe without waiting for a target gdb to build. Signed-off-by: Ross Burton <ross.burton@intel.com>