summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* gcc-cross-canadian: Correct the regexp to delete versioned gcc binaryKhem Raj2020-08-211-1/+1
| | | | | | | | | | After gcc 10 this expression needed to be adjusted, its better to use a bitbake variable which we do have readily available (From OE-Core rev: ee2beaff701d02736c8244ebc76f6d6ca96a04f4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Let crosssdk gold linker generate 4096 btyes long .interp sectionKhem Raj2020-08-211-5/+21
| | | | | | | | | | | | | When gold is used as default linker in crosssdk e.g. when building SDK binaries with LTO, the binaries do not have large enough .interp section size and SDK relocation fails for those nativesdk binaries and libraries which used gold for linking. This patch extends the .interp relaxation fix to gold (From OE-Core rev: f856b5f38263251bc48af8ba0da3385c09663d38) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Upgrade to 10.2.0Khem Raj2020-08-1854-264/+6
| | | | | | | | | | Drop 0036-Enable-CET-in-cross-compiler-if-possible.patch and pr96130.patch they are already in 10.2 (From OE-Core rev: 35eda14fbdc38ae5e686c2d30a2c1d5569bd3088) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 5.0.0 -> 5.1.0Richard Purdie2020-08-1726-732/+129
| | | | | | | | | | | | | | | | | | | | | | * Drop backported CVE fixes * Drop cpu backtrace patch from 2015 for debugging an issue which we no longer see (patch throws rejects, files have moved) * Update mips patch to account for file renames * Update chardev patch to match upstream code changes * Update webkitgtk patch, qemumips build works ok but qemux86 musl webkitgtk still fails. Need to figure out the correct fix and upstream it for this, current revert patch is not maintainable. Release notes for 5.1.0 mention slight qemumips performance improvements which would be valuable to us. My tests show no improvement in qemumips testimage execution time for core-image-sato-sdk. Fix a ptest issue for a file looking for /usr/bin/bash when we have /bin/bash. (From OE-Core rev: 686b770af67fdd2251f4ddab5b0eefc8fb0870ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime.inc: fix m32 compile fail with x86-64 compilerChangqing Li2020-08-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration: MACHINE ??= "qemux86-64" require conf/multilib.conf MULTILIBS ?= "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32" IMAGE_INSTALL_append = " packagegroup-core-buildessential lib32-libstdc++ lib32-libstdc++-dev" m32 compile failed on target: cmd: gcc -m32 -v test.cpp -o test output: GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590 ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/x86_64-poky-linux/32" ignoring nonexistent directory "/usr/lib64/x86_64-poky-linux/10.1.0/include" ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../x86_64-poky-linux/include" /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/backward /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include-fixed /usr/include End of search list. GNU C++14 (GCC) version 10.1.0 (x86_64-poky-linux) compiled by GNU C version 10.1.0, GMP version 6.2.0, MPFR version 4.1.0, MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590 Compiler executable checksum: bc3b2f3a33dad80e30112cf1235bf631 In file included from test.cpp:1: /usr/include/c++/10.1.0/iostream:38:10: fatal error: bits/c++config.h: No such file or directory 38 | #include <bits/c++config.h> | ^~~~~~~~~~~~~~~~~~ cannot find header since /usr/lib64/gcc/x86_64-poky-linux/10.1.0/x86_64-poky-linux/32 is missing fixed by link it to ../i686-poky-linux (From OE-Core rev: 509022ea8db314dd9d010a478fd84d0234905c6b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-compare: Drop recipeRichard Purdie2020-08-151-29/+0
| | | | | | | | | | If we no longer have the packagefeed-stability class, we no longer need need build-compare as it was the only user of it. Therefore drop the recipe too. (From OE-Core rev: d6eb93d7c5c9bb1891527581eb0675c3aee271f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Add check for non-arch Storable.pm fileJoshua Watt2020-08-131-0/+5
| | | | | | | | | | | | | | | Under unknown conditions, Storable.pm will be placed in the base library directory instead of under the arch specific one. This causes build issues, see https://bugzilla.yoctoproject.org/show_bug.cgi?id=13946. To try and catch this happening, add an explicit check for the bad file existing and fail the build if it is found. [YOCTO #13946] (From OE-Core rev: 140ec7b71b71a23ebeae12c63ed1c1ac2c227097) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Use virtual/libgl instead of mesaChandana kalluri2020-08-131-1/+1
| | | | | | | | | | Use virtual/libgl instead of mesa within the recipes to provide users the flexibility to specify providers other than mesa. (From OE-Core rev: ddbe09b0f9861fe3012611b5a5298eb4d7c4df45) Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update to 49.3.1Oleksandr Kravchuk2020-08-131-1/+1
| | | | | | | (From OE-Core rev: a2abc8cfd9aedcd541443d02a8dcc28de711c2ba) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Remove RISC-V PIE patchAlistair Francis2020-08-122-43/+0
| | | | | | | | | | | | | Remove the out of tree patch that is trying to address a PIE issue. This patch causes RISC-V applications to seg fault when running _dl_relocate_object. This fixes: https://github.com/riscv/meta-riscv/issues/236 (From OE-Core rev: 6360aed9dcde419134af169c2f3d91cae24c8bc5) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: backport a fix for out-of-line atomics on aarch64Ross Burton2020-08-122-0/+67
| | | | | | | (From OE-Core rev: ce99eb6b042cb36f5c07461fff7f49719550a955) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Upgrade to 1.14.7Khem Raj2020-08-122-4/+4
| | | | | | | | | | CVE_CHECK_WHITELIST += "CVE-2020-16845" (From OE-Core rev: 91580c9d335e0fbee95f94be6f9b34298d3e9a48) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest.json: UpdatesNathan Rossi2020-08-111-18/+48
| | | | | | | | | | | | | | | | | - Regenerate using create_manifest - Fix up some indentation compared to generated - Add "secrets" module into netclient package (introduced in 3.6) - Move "urllib" python package into core package, it is used more commonly than just netclient (e.g. email, xml, mimetypes, pydoc) - Update compression package dependencies due to some modules moving into core package - Update dependencies due to improvements to get_module_deps handling modules of a python package (e.g. ctypes.utils) (From OE-Core rev: 892a8fb85a986a65e9ebef368ddab15068fb6d92) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Improve handling of python3 manifest generationNathan Rossi2020-08-112-3/+19
| | | | | | | | | | | | | | | | | | | | | Specifically cover detection of modules within a python package that do not import anything within their __init__.py. This is at least the case with the xmlrpc package which is only used via its modules xmlrpc.server and xmlrpc.client. Other important corner cases include ctypes.utils which depends on some modules not used by ctypes. This is implemented by generally assuming that importing all the modules of a package (aka *.py within a package, excluding _*.py) will provide enough information. Also due to this change some modules import sysconfig, resulting in sysconfigdata being imported. Handle the conversion of its path to a wildcard based on the platform dependent name being replaced. (From OE-Core rev: bef4be54e02df5f230d250487f85994a3b7bbd77) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update to 5.8 (fix build against v5.8 uapi headers)Bruce Ashfield2020-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating strace to the 5.8 release. The signficant change in this release is fixes to build against the v5.8 kernel. Noteworthy changes from the strace site: - Changes in behaviour - Modified %process class to contain system calls associated with process lifecycle (creation, exec, termination): kill, tkill, tgkill, pidfd_send_signal and rt_sigqueueinfo are added, arch_prctl and unshare are removed. - Improvements - Implemented decoding of faccessat2 syscall. - Implemented decoding of LOOP_CONFIGURE ioctl command. - Updated decoding of io_uring_setup syscall to match Linux 5.8. - Updated lists of AUDIT_*, BPF_*, CAP_*, ETH_*, INET_DIAG_*, IORING_*, KEYCTL_*, KVM_*, LOOP_*, NDA_*, RTC_*, TCA_*, STATX_*, and *_MAGIC constants. - Updated lists of ioctl commands from Linux 5.8. - Bug fixes - Added statx syscall to %fstat trace class. (From OE-Core rev: d656936ec7fbd4c2748a8f2239b6c09e5b9216d9) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: Upgrade 49.2.0 -> 49.2.1zangrc2020-08-081-1/+1
| | | | | | | (From OE-Core rev: 4dfd58e189598ce3b9d14528b1e9d443dbc97926) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu : fix CVE-2020-15863Lee Chee Yang2020-08-082-0/+64
| | | | | | | (From OE-Core rev: 4d44369c7e65b110412e96c86b51d9791d94cb05) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Upgrade to 2.35 releaseKhem Raj2020-08-0626-1079/+2489
| | | | | | | | | | | | | | assembler supports dwarf-5 format line numbers linker has -M -MP gcc-like option for detailed release notes see [1] [1] https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00008.html (From OE-Core rev: 7a7667127625244aae2b1ff179e431fc9ad25737) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distcc: Fix build with -fno-commonKhem Raj2020-08-062-0/+35
| | | | | | | (From OE-Core rev: 3ee28664c7db2e0e548941205ec94c1652a3ac17) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: update 0.48.6 -> 0.48.7Alexander Kanavin2020-08-023-62/+5
| | | | | | | | | Remove patch, as issue fixed upstream. (From OE-Core rev: 3e27b178a1cab60167812ff926e7b15a07af5811) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: update 3.2.1 -> 3.2.2Alexander Kanavin2020-08-022-6/+10
| | | | | | | (From OE-Core rev: a1b6e078e12fb3cd5057076d6ecd60152fd35074) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nasm: update 2.14.02 -> 2.15.03Alexander Kanavin2020-08-026-289/+66
| | | | | | | | | | | Remove backported patches, rebase the rest. Switch to using (mostly) standard autotools build. (From OE-Core rev: 4d13e2713efd5f6cbdc6cf1f86edd0b336ba3ba2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.54.3 -> 0.55.0Alexander Kanavin2020-08-028-47/+47
| | | | | | | | | Rebase patches. (From OE-Core rev: 09dd785ead455fa677c5ccf336d49a32dd7ab6d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.14.4 -> 1.14.6Alexander Kanavin2020-08-022-4/+4
| | | | | | | (From OE-Core rev: c9011d04eb624aeabf5d707e88de80137bcc2eb1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: update to latest revisionAlexander Kanavin2020-08-021-2/+2
| | | | | | | (From OE-Core rev: da09cea1fb61d4a69bcdde4d00ba4d15e73ad6b2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-rpm: adjust RPM_CONFIGDIR paths dynamicallyhongxu2020-08-012-0/+6
| | | | | | | | | | | | | | | | While installing/extracting SDK to a non-default dir(not /opt), run rpm failed: $ python3 -c "import rpm" |error: Unable to open /opt/windriver/wrlinux-graphics/20.31/sysroots/ x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory. This patch adds a flexible way to configure RPM_CONFIGDIR in SDK. (From OE-Core rev: 5f16fd0bf774314c79572daf4ba7e4a8ae209ba1) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: Refresh patchzangrc2020-08-011-24/+12
| | | | | | | | | | | | The patch changes the same file twice which causes issues with some patch tools (not used in YP by default). Refresh the patch to clean this up anyway. RP: Tweak commit message (From OE-Core rev: cb6e65f8196fd6587c75c3ab2cf060c00a074ec6) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix mangled patchRichard Purdie2020-07-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To quote Zhuang <qiuguang.zqg@alibaba-inc.com>: """ A few days ago, I tried to compile a gcc plugin with the toolchain from poky sdk. It failed with errors about missing header files such as backend.h etc. After investigation, I found that the problem was brought by a gcc patch: 0012-gcc-Fix-argument-list-too-long-error.patch (which is considered derived from the original patch) - headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \ + headers="$(sort $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def))"; \ It changes the commands of install-plugin, making the sorting taken effect before the shell globs. Thus results in the header files under gcc $(srcdir) being not installed. By checking log.do_install, we can find that the `headers=' statement to run is incorrect and will not work as expected: headers="$(cd *.def) *.h ../../../../../../../work-shared/gcc-10.1.0-r0/gcc-10.1.0/gcc/../include/ansidecl.h ... As the patch says, "The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, ..." my suggestion is that we can simply take care of PLUGIN_HEADERS using the original proposed sort. """ This fixes the gcc patch as proposed as it does appear its been broken over time. (From OE-Core rev: dce28d8ac7fbae487cb6674b91fe2b574036b26d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: upgrade 9.0.1 -> 10.0.1Trevor Gamblin2020-07-281-2/+2
| | | | | | | (From OE-Core rev: 0e9f286e1c4567e6d3812c0681c168720984b8ce) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: update 2.28.0Oleksandr Kravchuk2020-07-281-3/+2
| | | | | | | (From OE-Core rev: 260c81dbb85be08150373a6e8571633230a02738) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-c: update to 0.15Oleksandr Kravchuk2020-07-272-164/+2
| | | | | | | | | Remove upstreamed patch. (From OE-Core rev: 411f47cdcb74109a103166477d606c88db6175ee) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update to 3.8.5Oleksandr Kravchuk2020-07-271-2/+2
| | | | | | | (From OE-Core rev: ce7ac226336fe1e578fd0959567c95c4ac957f85) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Avoid race continually rebuilding miniperlRichard Purdie2020-07-272-0/+30
| | | | | | | | | | | | | | | | | | | When we run "make install" we notice miniperl rebuilding multiple times. Usually this is harmless however sometimes race issues occur such as miniperl not being executable. The issue is that crosspatch is a phony target so it always rebuilds. Adding this as a dependency of miniperl means miniperl always rebuilds too. Avoid this by injecting a direct dependency avoiding the phony target. miniperl is then only rebuilt when its input changes as desired. Patch submitted to upstream perl-cross. (From OE-Core rev: 95947fa630e1fecc599f975d732eb47dd4b748ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update to 49.2.0Oleksandr Kravchuk2020-07-273-15/+16
| | | | | | | | | | Rebased patch and got rid of the .inc file as Python 2 is not supported anymore. (From OE-Core rev: ff3d9a2966e6593be9ac048d930fc841c24eae7d) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3: define a profile directory path"Mingli Yu2020-07-252-43/+0
| | | | | | | | | | | | | | After ccache upgrade to 3.7.11, there is below logic introduced. 58895dc Add knowledge about -fprofile-{correction,reorder-functions,values} And the python3 ccache build issue [1] is fixed in ccache 3.7.11, so there is no need to define a profile directory path for python3 any more. [1] https://github.com/ccache/ccache/issues/615 (From OE-Core rev: 6cd08bdf72c05982ba000b1186cf139382679e04) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Upgrade to 3.7.11Mingli Yu2020-07-251-1/+1
| | | | | | | | | | | | Bug fixes: Added knowledge about -fprofile-{correction,reorder-functions,values}. ccache now handles the Intel compiler option -xCODE (where CODE is a processor feature code) correctly. Added support for NVCC's -Werror and --Werror options. (From OE-Core rev: 1fea06a83aa226a86eb2032ce4e000009d71eaa5) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: allow reproducible binary buildsJoe Slater2020-07-252-0/+27
| | | | | | | | | | | Use a static TESTDATADIR if tests are disabled. Allow override of TESTDATADIR if tests are enabled since the default will be wrong for target builds. (From OE-Core rev: 43d24a3726dc1b639261429cc6537e947281143c) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-10.1: add fix for PR 96130Dmitry Baryshkov2020-07-222-0/+107
| | | | | | | | | | Fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130 causing ICE (SegFault) when compiling current Mesa git tree. (From OE-Core rev: bc2f2e72f20e6b272e48d1073bb2290665cbde24) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: mitigate the Straight-line Speculation attackRoss Burton2020-07-224-0/+1470
| | | | | | | | | | | | | | | Straight-line Speculation is a SPECTRE-like attack on Armv8-A, further details can be found in the white paper here: https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability/downloads/straight-line-speculation Backport the GCC patches to mitigate the attack. CVE: CVE-2020-13844 (From OE-Core rev: 3415e0ccdf75575014fb8c600edb707bbec0f566) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: fix up check for hardlinks always false if inode > 0xFFFFFFFFHongxu Jia2020-07-222-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While file has a large inode number (> 0xFFFFFFFF), mkfs.ext4 could not parse hardlink correctly. Prepare three hardlink files for mkfs.ext4 $ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/b 11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/c $ truncate -s 1M rootfs_ota.ext4 $ mkfs.ext4 -F -i 8192 rootfs_ota.ext4 -L otaroot -U fd5f8768-c779-4dc9-adde-165a3d863349 -d rootfs_ota $ mkdir mnt && sudo mount rootfs_ota.ext4 mnt $ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b 12 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/a 14 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/b 15 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/c After applying this fix $ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/a 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/b 12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/c (From OE-Core rev: 3b2c7350a7f3fb20f2b61ddb41f81959a54bc873) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: Added ptestOleksandr2020-07-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For ptest support of expat package: - expat_2.2.9.bb recipe was switched on cmake-based building system to avoid cahnges in autotools build system which considered in upstream as potentially deprecated (https://github.com/libexpat/libexpat/issues/330). - cmake-native_3.17.3.bb recipe was forced to use bundled version of expat from CMake source tree. Therefore expat-native package has been removed from DEPENDS variable for cmake-native recipe. Without these changes, next dependency loop appears: Dependency loop #1 found: Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_compile (dependent Tasks ['cmake-native_3.17.3.bb:do_configure']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_install (dependent Tasks ['cmake-native_3.17.3.bb:do_compile']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_populate_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_install']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_prepare_recipe_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_populate_sysroot', 'ninja_1.10.0.bb:do_populate_sysroot', 'expat_2.2.9.bb:do_fetch']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_configure (dependent Tasks ['expat_2.2.9.bb:do_patch', 'expat_2.2.9.bb:do_prepare_recipe_sysroot', 'expat_2.2.9.bb:do_generate_toolchain_file', 'expat_2.2.9.bb:do_deploy_source_date_epoch']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_compile (dependent Tasks ['expat_2.2.9.bb:do_configure']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_install (dependent Tasks ['expat_2.2.9.bb:do_compile']) Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_populate_sysroot (dependent Tasks ['expat_2.2.9.bb:do_install']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_prepare_recipe_sysroot (dependent Tasks ['expat_2.2.9.bb:do_populate_sysroot', 'xz_5.2.5.bb:do_populate_sysroot', 'bzip2_1.0.8.bb:do_populate_sysroot', 'ncurses_6.2.bb:do_populate_sysroot', 'zlib_1.2.11.bb:do_populate_sysroot', 'cmake-native_3.17.3.bb:do_fetch', 'curl_7.71.1.bb:do_populate_sysroot']) Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_configure (dependent Tasks ['cmake-native_3.17.3.bb:do_deploy_source_date_epoch', 'cmake-native_3.17.3.bb:do_patch', 'cmake-native_3.17.3.bb:do_prepare_recipe_sysroot']) - run-ptest script that initalizes testing, copies testing executables' output to log file and measures execution time of each testing executable was added. - patch that implements output of each testcase result in testing exectutable was added. (From OE-Core rev: 3adba877e1b5e5f69a6d1501611624e2d3789a9b) Signed-off-by: Oleksandr Popovych <oleksandr.s.popovych@globallogic.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Update to add OFC fcntl lock updatesRichard Purdie2020-07-221-1/+1
| | | | | | | | | This adds in support for the OFC fcntl ioctl lock flags, removing warnings on some more recent linux kernels. (From OE-Core rev: 234168f803bee2e5b0955aabaddb1d967349fb82) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix nativesdk's default var locationChen Qi2020-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is '/var'. This is causing error when running `rpm -qplv A.rpm'. error: cannot open Packages index using db5 - Permission denied (13) error: cannot open Packages database in /var/lib/rpm The rpm in SDK should be using its own database. So we should remove this configure option, letting the SDK's native sysroot prefix to be there in %_var. In fact, '%_usr' in macros has already got the prefix. After this change, we have in the macros file lines like below. """ %_usr /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/usr %_usrsrc %{_usr}/src %_var /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/var """ (From OE-Core rev: 13e17930062cb3f816516ba7dbeb70d6da7174dd) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: upgrade 3.9.7 -> 3.9.8Joshua Watt2020-07-182-5/+5
| | | | | | | (From OE-Core rev: ed38de1509206508be8798e35217375112a1ee42) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodomex: upgrade 3.9.7 -> 3.9.8Joshua Watt2020-07-181-1/+1
| | | | | | | (From OE-Core rev: 7dcfa97245a4e9a6f38c731f87b51c2a0235ef94) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix for virtfs configuration error in qemu 5.0.0Kamil Dziezyk2020-07-181-1/+1
| | | | | | | | | | | | | Add --enable-cap-ng as virtfs dependency in qemu configuration. When using meta-virtualization layer, qemu requires virtfs, but during do_configure stage below error message shows up: ERROR: VirtFS requires libcap-ng devel and libattr devel (From OE-Core rev: 632b83372d74da749ec9c07621a17c5193db9f2b) Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nasm: fix build with autoconf 2.70Ross Burton2020-07-182-0/+29
| | | | | | | | | | autoconf 2.70 is coming soon which has some small behavioural fixes, so backport a patch from upstream to fix the build with that release. (From OE-Core rev: 954022e97c940239cee1789e4917e1c393dbf3fb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: fix build with autoconf 2.70Ross Burton2020-07-182-0/+80
| | | | | | | | | | autoconf 2.70 is coming soon which has some small behavioural fixes, so backport a patch from upstream to fix the build with that release. (From OE-Core rev: 946610f2cc8cd42265ee3fab6c73ad4831aaeb4e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.3 -> 3.1.7Richard Purdie2020-07-181-1/+1
| | | | | | (From OE-Core rev: 861dc74f78996276ad5b003019c472ab34909774) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.20 -> 0.29.21Richard Purdie2020-07-182-1/+1
| | | | | | (From OE-Core rev: 7899bbe61963b4f998fcd63c83620751713b8efb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>