summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* goarch.bbclass: use MACHINEOVERRIDES and simplify go_map_arm()Mark Asselstine2019-04-101-8/+11
| | | | | | | | | | | | | | | | | | Per https://github.com/golang/go/wiki/GoArm we need to set GOARM when cross building for ARMv5, ARMv6 and ARMv7. The current approach of using TUNE_FEATURES can be error prone, as we can see today when attempting to build for Cortex-A7 which results in GOARM=''. Since the value of MACHINEOVERRIDES already consolidates the values of TUNE_FEATURES into something more consistent we can use the overrides mechanism to set GOARM, leaving just a little bit of logic in go_map_arm() to trigger off the arch (basically target vs host) for the setting of GOARM. (From OE-Core rev: 5f48939e26402b77fc3343f326765137f9570f40) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go.bbclass: Export more GO* environment variablesMark Asselstine2019-04-101-0/+19
| | | | | | | | | | | | | | | | | | | | | | Currently we are not doing a good job of consolidating GO environment variables used by the go build system in the go.bbclass, instead we are relying on the individual GO recipe authors to perform the exports. This can result in inconsistent build results and often binaries that are not properly cross compiled, resulting in segfaults when the applications are run on the target. For example the GO documentation recommends that the environment include a value assigned to GOARM when cross building for ARMv5, ARMv6 and ARMv7 (https://github.com/golang/go/wiki/GoArm). In order to avoid polluting the build scripts with unnecessary exports, such as run.do_compile, we attempt to only export variables when they apply to a specific arch. (From OE-Core rev: 6300c4a83f7c8fc88702798ffe25bd6d57091673) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: fix gettext dependency warningRoss Burton2019-04-101-1/+1
| | | | | | | | | This message was using %s markers but nothing was being passed in. (From OE-Core rev: d204398d40cbbea5a6b58a36fc289d569f2eb304) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix predictable network interface names in initrdTomasz Meresiński2019-04-101-0/+1
| | | | | | | | | | | https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ says, that udev is responsible for predictable network interface names, so udev package is a better place for its configuration file. (From OE-Core rev: 4cf7c6b86b26c8355054f93e2aa5e05a35e536c6) Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Use bb.utils.to_boolean() for BB_NO_NETWORKRobert Yang2019-04-101-2/+4
| | | | | | | | | Make it consistent with bitbake (From OE-Core rev: 7fb540c3199bc2b82d60fff678b5e588ab4d1ad6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool/manualexecution: Enable creation of configuration option fileYeoh Ee Peng2019-04-101-1/+53
| | | | | | | | | | | | Allow the creation of configuration option file based on user inputs. Where this configuration option file will be used by the the manual execution to display options for configuration rather than user need to inputs configuration manually. (From OE-Core rev: 23c7a037a85a825aa088bfac3a144c14087a9f49) Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resulttool/manualexecution: Enable configuration options selectionYeoh Ee Peng2019-04-101-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current manualexecution required user to input configuration manually where there were inconsistent inputs and human typo issues. Enable manualexecution to have the optional feature where it will use pre-compiled configuration options file where user will be able to select configuration from the pre-compiled list instead of manual key-in the configuration. This will eliminate human error. Expect the pre-compiled configuration options file in json format below { "bsps-hw": { "IMAGE_BASENAME": { "1": "core-image-sato-sdk" }, "MACHINE": { "1": "beaglebone-yocto", "2": "edgerouter", "3": "mpc8315e-rdb", "4": "genericx86", "5": "genericx86-64" } }, "bsps-qemu": { "IMAGE_BASENAME": { "1": "core-image-sato-sdk" }, "MACHINE": { "1": "qemuarm", "2": "qemuarm64", "3": "qemumips", "4": "qemumips64", "5": "qemuppc", "6": "qemux86", "7": "qemux86-64" } } } (From OE-Core rev: 1af7e04223b415a64e100a9f91d60f5e9b0f789a) Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Support Eclipse and other cmake generatorsNikhil Pal Singh2019-04-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support project-file generators such as CodeBlocks, CodeLite, Eclipse, Sublime, and Kate for both make and Ninja build systems. The following generators are listed in cmake --help: Unix Makefiles = Generates standard UNIX makefiles. Ninja = Generates build.ninja files. Watcom WMake = Generates Watcom WMake makefiles. CodeBlocks - Ninja = Generates CodeBlocks project files. CodeBlocks - Unix Makefiles = Generates CodeBlocks project files. CodeLite - Ninja = Generates CodeLite project files. CodeLite - Unix Makefiles = Generates CodeLite project files. Sublime Text 2 - Ninja = Generates Sublime Text 2 project files. Sublime Text 2 - Unix Makefiles = Generates Sublime Text 2 project files. Kate - Ninja = Generates Kate project files. Kate - Unix Makefiles = Generates Kate project files. Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files. Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files. All but one of these contain one of the strings, "Unix Makefiles" or "Ninja". In each of these cases, cmake generates the Makefiles (or ninja files respectively), and also the appropriate project files, eg. .project and .cproject for Eclipse. A user can set OECMAKE_GENERATOR in their local.conf to any one of these strings, except "Watcom WMake" (not supported). (From OE-Core rev: 256e8b5deae66b1463c359db12af396702912139) Signed-off-by: Nikhil Pal Singh <nikhilpal.singh@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: upgrade 9.11.5 -> 9.11.5-P4Adrian Bunk2019-04-101-3/+3
| | | | | | | | | | | Bugfix-only compared to 9.11.5, mostly CVE fixes. COPYRIGHT checksum changed due to 2018 -> 2019. (From OE-Core rev: 5d286da0fbe1a7ded2f84eec990e49d221bdeab4) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "mdadm: fix gcc8 maybe-uninitialized/format-overflow warning"Khem Raj2019-04-102-61/+0
| | | | | | | | | | | | | | This patch tried to address a gcc problem when -Og is used, but it did cause regressions on normal compiles when using clang e.g. the real problem is to fix the compiler until then disable the warning in DEBUG_FLAGS This reverts commit 630281663893cdcfa9c4323b717b415d87d5510f. (From OE-Core rev: 949961cdf7d4639da538045dc83c2a354e16ea80) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.18: remove versioned recipesBruce Ashfield2019-04-103-123/+0
| | | | | | | | | | | | | | The 4.18 kernel has been replaced by 4.19 and 5.0 in master. poky-tiny has been tested against 5.0, so we can now remove the 4.18 recipes. The 4.18 branches will continue to be maintained, but we only want two active kernels in the master/releases branches. (From OE-Core rev: 9251cec30ff77b526363bed7299238e33b68feb4) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: tweak qemuarm -tiny configurationBruce Ashfield2019-04-103-3/+3
| | | | | | | | | | | | Tweaking the qemuarm -tiny configuration so it will boot to a prompt. There are still some remaining issues (like hvc console warnings), but this is much better than a silent boot, or boot hang like we previously had. (From OE-Core rev: 12a5d50e65cd3510ba790cd7867b5319ef5028f4) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemumips: Enable the poweroff driverBruce Ashfield2019-04-106-6/+6
| | | | | | | | | | | | | | | | | | | | | Integrating the following configuration change: Author: Kevin Hao <kexin.hao@windriver.com> Date: Wed Apr 3 19:30:58 2019 +0800 mips: Enable the poweroff driver for the qemumips/qemumips64 As Indicated by Richard Purdie, in order to shutdown the machine we have to explicitly enable the PIIX4 poweroff driver for the qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta: Use PIIX4 poweroff driver to power down") is merged. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> (From OE-Core rev: a166e005eb02e2486d59404938ff639bb4860bdf) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.18: update to v4.18.33Bruce Ashfield2019-04-103-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating Paul Gortmaker's -stable ports to 4.18 which comprise the following commits: 56f9fe35a4c5 Linux 4.18.33 bf44ff79b855 net: hns: Fixes the missing put_device in positive leg for roce reset 81614c514f4e mm: Use fixed constant in page_frag_alloc instead of size + 1 035b5a7a3e3f ipvs: fix warning on unused variable 58ab04e46d92 intel_th: gth: Fix an off-by-one in output unassigning 8cb600d53c6c ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4 f11b815f39bf s390/setup: fix boot crash for machine without EDAT-1 4059d23a36a6 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments d94637dc73e5 KVM: nVMX: Apply addr size mask to effective address for VMX instructions ee356457f2a3 KVM: nVMX: Sign extend displacements of VMX instr's mem operands b4485d9eb039 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux fe7d69927661 KVM: x86/mmu: Detect MMIO generation wrap in any address space c34cae89374b KVM: Call kvm_arch_memslots_updated() before updating memslots 9fb8b858d552 drm/amd/display: don't call dm_pp_ function from an fpu block d4302b79ffbd drm/amd/powerplay: correct power reading on fiji 5f8c51055244 drm/radeon/evergreen_cs: fix missing break in switch statement 3fc39cdce701 media: imx: csi: Stop upstream before disabling IDMA channel 5c008f7971b8 media: imx: csi: Disable CSI immediately after last EOF 74a5ff7db3b2 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming 142a9bd66395 media: lgdt330x: fix lock status reporting 465204a0c772 media: imx: prpencvf: Stop upstream before disabling IDMA channel 42a2c1a40db0 rcu: Do RCU GP kthread self-wakeup from softirq and interrupt f9480ca4fb29 tpm: Unify the send callback behaviour 5f28509f81ad tpm/tpm_crb: Avoid unaligned reads in crb_recv() ea37270d4c87 md: Fix failed allocation of md_register_thread bd77b69a20ba perf intel-pt: Fix divide by zero when TSC is not available c9a63c17458f perf/x86/intel/uncore: Fix client IMC events return huge result 63a25bdd4227 perf intel-pt: Fix overlap calculation for padding 66a57e3b95b5 perf auxtrace: Define auxtrace record alignment 76650254e18e perf intel-pt: Fix CYC timestamp calculation after OVF 274ef4840d79 x86/unwind/orc: Fix ORC unwind table alignment 3928a903e185 vt: perform safe console erase in the right order 645a7ca69855 stable-kernel-rules.rst: add link to networking patch queue 1c14622adb15 bcache: never writeback a discard operation 261aad0b3ea7 PM / wakeup: Rework wakeup source timer cancellation ee610ce938cd svcrpc: fix UDP on servers with lots of threads 0530b66bfd53 NFSv4.1: Reinitialise sequence results before retransmitting a request 9a1d7090b36e nfsd: fix wrong check in write_v4_end_grace() e7edb30fd6b7 nfsd: fix memory corruption caused by readdir 672f2e600d21 nfsd: fix performance-limiting session calculation 624865483faa NFS: Don't recoalesce on error in nfs_pageio_complete_mirror() 2b5fef7c9927 NFS: Fix an I/O request leakage in nfs_do_recoalesce 63adecfe53e9 NFS: Fix I/O request leakages 0b0545dd7e6e cpcap-charger: generate events for userspace 8f27f8570fa7 mfd: sm501: Fix potential NULL pointer dereference f964d308797d dm integrity: limit the rate of error messages 1ed46c0c4f65 dm: fix to_sector() for 32bit ea77e999f649 ipmi_si: fix use-after-free of resource->name 5a0bc68e9a0d arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2 9dc4a1a6447e arm64: debug: Ensure debug handlers check triggering exception level c33e96f8ddb2 arm64: Fix HCR.TGE status for NMI contexts bb7edb8a409a ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify e8d7edd36a92 powerpc/traps: Fix the message printed when stack overflows fbea0579063f powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration 88d0042148f0 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning b0fc119506bf powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest 6e975dad4a8e powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit fcf2d15a0a32 powerpc/83xx: Also save/restore SPRG4-7 during suspend 87481c65c805 powerpc/powernv: Make opal log only readable by root 12319dcc9a80 powerpc/wii: properly disable use of BATs when requested. be851891b1c9 powerpc/32: Clear on-stack exception marker upon exception return 24d0b4b51dd1 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock 3ea70bdc892f selinux: add the missing walk_size + len check in selinux_sctp_bind_connect 00d550a195f2 jbd2: fix compile warning when using JBUFFER_TRACE b18848cc624a jbd2: clear dirty flag when revoking a buffer from an older transaction 108ba9f62780 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup() a79bc3e5fb7c serial: 8250_pci: Fix number of ports for ACCES serial cards 78e39f8bb56e serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart 04eb2755b4e9 serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO 9007ccc01a91 bpf: only test gso type on gso packets ef5b4e1f5735 drm/i915: Relax mmap VMA check 23ca68189393 can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument 8529fecb481e gpio: pca953x: Fix dereference of irq data in shutdown 31e04ac8a8ba media: i2c: ov5640: Fix post-reset delay 1855d8c9e6c4 i2c: tegra: fix maximum transfer size 8bc3433b216d parport_pc: fix find_superio io compare code, should use equal test. 2c0542dbb267 intel_th: Don't reference unassigned outputs c64422307c34 device property: Fix the length used in PROPERTY_ENTRY_STRING() c88db9c0d127 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv 5374924c9332 mm/memory.c: do_fault: avoid usage of stale vm_area_struct db693b432779 mm/vmalloc: fix size check for remap_vmalloc_range_partial() 1811478753e3 mm: hwpoison: fix thp split handing in soft_offline_in_use_page() 492ea426ddce dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit f1bb88d5cee1 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device() 9377917b523a clk: ingenic: Fix doc of ingenic_cgu_div_info f0412cfc06af clk: ingenic: Fix round_rate misbehaving with non-integer dividers b6b4011ce7d1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override 715fe29adfd1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure eb9aa4ebf835 clk: clk-twl6040: Fix imprecise external abort for pdmclk 917fa829bbf5 clk: uniphier: Fix update register for CPU-gear 80d526380136 ext2: Fix underflow in ext2_max_size() bbf30be02326 cxl: Wrap iterations over afu slices inside 'afu_list_lock' 94f31d712f26 IB/hfi1: Close race condition on user context disable and close a80eceacf85c PCI: dwc: skip MSI init if MSIs have been explicitly disabled 084005af4966 PCI/ASPM: Use LTR if already enabled by platform 821934eb7e75 ext4: fix crash during online resizing 01767d409537 ext4: add mask of ext4 flags to swap f21830e67d5d ext4: update quota information while swapping boot loader inode 4de71f7481a7 ext4: cleanup pagecache before swap i_data 4821bf3c61bb ext4: fix check of inode in swap_inode_boot_loader 3cd2f1153739 cpufreq: pxa2xx: remove incorrect __init annotation dc4443928ee2 cpufreq: tegra124: add missing of_node_put() a0e15a764318 cpufreq: kryo: Release OPP tables on module removal d28564a8e60e x86/kprobes: Prohibit probing on optprobe template code 56955276ba2e irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code 14dda7949f82 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table 3a8560230470 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer 7e7e5728d161 Btrfs: fix corruption reading shared and compressed extents after hole punching be1ee0e2fd42 btrfs: ensure that a DUP or RAID1 block group has exactly two stripes cb292a678ee2 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl f1f0ee2859e6 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree() 0e6de290666f m68k: Add -ffreestanding to CFLAGS f78f0d35d43a splice: don't merge into linked buffers 433cbc2d30f3 fs/devpts: always delete dcache dentry-s in dput() dbb3e594eecd scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock 528af139ff6b scsi: sd: Optimal I/O size should be a multiple of physical block size ee579fc4e875 scsi: aacraid: Fix performance issue on logical drives 818838eea45d scsi: virtio_scsi: don't send sc payload with tmfs 478bd6b7f170 s390/virtio: handle find on invalid queue gracefully 47c6ea331f58 s390/setup: fix early warning messages 69304bcf9021 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability 947a053a6d47 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown 084c1f5522f1 clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR 95d7c41e448f regulator: s2mpa01: Fix step values for some LDOs 69913dbd2d55 regulator: max77620: Initialize values for DT properties 060c4f4e5d0c regulator: s2mps11: Fix steps for buck7, buck8 and LDO35 9a215e43276c spi: pxa2xx: Setup maximum supported DMA transfer length 913cb6579c9a spi: ti-qspi: Fix mmap read when more than one CS in use bb427df35f34 netfilter: ipt_CLUSTERIP: fix warning unused variable cn 8fb8fb9b67bb mmc:fix a bug when max_discard is 0 85d7e5a8000a mmc: sdhci-esdhc-imx: fix HS400 timing issue 882b6b31ea55 ACPI / device_sysfs: Avoid OF modalias creation for removed device b3a0dfcfdd64 tracing/perf: Use strndup_user() instead of buggy open-coded version 054dec51d4e6 tracing: Do not free iter->trace in fail path of tracing_open_pipe() 9031822970ed tracing: Use strncpy instead of memcpy for string keys in hist triggers 9367b21da22c CIFS: Fix read after write for files with read caching db6a6106224d CIFS: Do not reset lease state to NONE on lease break aef1cf600f41 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine 134135d884be crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling 6779d6bdf611 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP 2dc6214860a1 crypto: x86/aesni-gcm - fix crash on empty plaintext a6e83e8b0777 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP f62b08c81429 crypto: testmgr - skip crc32c context test for ahash algorithms 817cbacff744 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails bc647ef1085e crypto: pcbc - remove bogus memcpy()s with src == dest 9fb0d7b8f9c2 crypto: morus - fix handling chunked inputs 76bc71692818 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails 67a69738546d crypto: arm64/crct10dif - revert to C code for short inputs e1369ad2e0fc crypto: arm64/aes-neonbs - fix returning final keystream block 7807003aab85 crypto: arm/crct10dif - revert to C code for short inputs f54fbb0e595b crypto: aegis - fix handling chunked inputs 1e1f858caf7d crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails c81bf050b880 fix cgroup_do_mount() handling of failure exits 638f4fb4ec67 libnvdimm: Fix altmap reservation size calculation 5ebf4aa4cf6b libnvdimm/pmem: Honor force_raw for legacy pmem regions 8f42d7ac37af libnvdimm, pfn: Fix over-trim in trim_pfn_device() 68ab49b299fb libnvdimm/label: Clear 'updating' flag after label-set update 063d65ab9fdd nfit/ars: Attempt short-ARS even in the no_init_ars case 387b9f01ac16 nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot b4a1581c801d acpi/nfit: Fix bus command validation 0c27d62e5752 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place fd8e9cd85f26 stm class: Prevent division by zero dd1250b50c61 tmpfs: fix uninitialized return value in shmem_link f4cadb1ec900 selftests: fib_tests: sleep after changing carrier. again. 7d856eb21fd5 net: set static variable an initial value in atl2_probe() 193e19cdf7a0 bnxt_en: Wait longer for the firmware message response to complete. 36ca3daa9b6a bnxt_en: Fix typo in firmware message timeout logic. aae48df6d81b nfp: bpf: fix ALU32 high bits clearance bug 9fbe31fda762 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K a58be12de08d net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task 76320607b755 net: thunderx: make CFG_DONE message to run through generic send-ack sequence 6d0ebfc3fd3c bpf, lpm: fix lookup bug in map_delete_elem 4e9c4ca54607 mac80211_hwsim: propagate genlmsg_reply return code ce8e30135705 phonet: fix building with clang 92f628f3c945 ARCv2: don't assume core 0x54 has dual issue 1faac2e0838b ARCv2: support manual regfile save on interrupts 53fc181c111c ARC: uacces: remove lp_start, lp_end from clobber list 515122c2d88a ARCv2: lib: memcpy: fix doing prefetchw outside of buffer b1ba6184493e ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN a7bc4915f286 tmpfs: fix link accounting when a tmpfile is linked in 5beffa8382a9 mm: handle lru_add_drain_all for UP properly 7bd326b49004 net: marvell: mvneta: fix DMA debug warning 70e79b53dd95 arm64: Relax GIC version check during early boot e3ca5da971e0 ARM: dts: armada-xp: fix Armada XP boards NAND description 2ac1b780dae0 qed: Fix iWARP syn packet mac address validation. 9e1395d75177 qed: Fix iWARP buffer size provided for syn packet processing. 5db253fa68bf ASoC: topology: free created components in tplg load error 31983c568574 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue 98b9e4e542eb net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe() d19e6c11ca1f qmi_wwan: apply SET_DTR quirk to Sierra WP7607 59e3fdbb9d45 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins 63c87ecf5134 net: dsa: bcm_sf2: Do not assume DSA master supports WoL a2e5d18914c1 net: systemport: Fix reception of BPDUs 8d33e97da9c5 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task 1c976b2c9f19 keys: Fix dependency loop between construction record and auth key 590d6228f163 assoc_array: Fix shortcut creation 5aa6e4f891a2 af_key: unconditionally clone on broadcast 8cae27e41068 bpf: fix lockdep false positive in stackmap c16b543d92ee bpf: only adjust gso_size on bytestream protocols 908e6fda5d7d ARM: 8824/1: fix a migrating irq bug when hotplug cpu d6fb8e0d9e7d esp: Skip TX bytes accounting when sending from a request socket 2dd0beec5a84 clk: sunxi: A31: Fix wrong AHB gate number 48db12b60b5b kallsyms: Handle too long symbols in kallsyms.c 882dbe3d5c03 clk: sunxi-ng: v3s: Fix TCON reset de-assert bit 1ab0225d6786 Input: st-keyscan - fix potential zalloc NULL dereference 8a6ef92721b7 auxdisplay: ht16k33: fix potential user-after-free on module unload 53f4d6948b35 i2c: bcm2835: Clear current buffer pointers and counts after a transfer 60bc9292260f i2c: cadence: Fix the hold bit setting e6e2c6c26a58 net: hns: Fix object reference leaks in hns_dsaf_roce_reset() bf6be978fece mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs 7f72a70062d7 x86/CPU: Add Icelake model number 4342d099969c net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend() 6093401c933b scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd 09f4a1b6edf1 Revert "mm: use early_pfn_to_nid in page_ext_init" 7b9dd6a4976b mm/gup: fix gup_pmd_range() for dax 3cd584b00e50 NFS: Don't use page_file_mapping after removing the page 7d8cf3eb1dc7 xprtrdma: Make sure Send CQ is allocated on an existing compvec 5c64b19db5ce floppy: check_events callback should not return a negative number 1cae395dd7c0 ipvs: fix dependency on nf_defrag_ipv6 d05d4feda816 blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue 0af0889613a8 netfilter: compat: initialize all fields in xt_init f2883b8eb0a9 mac80211: Fix Tx aggregation session tear down with ITXQs 665cb8ebf0f3 mac80211: call drv_ibss_join() on restart 0a1d76449997 Input: matrix_keypad - use flush_delayed_work() 375152e09de2 Input: ps2-gpio - flush TX work when closing port b15599627bd0 Input: cap11xx - switch to using set_brightness_blocking() a1e0fb446a4b ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug 7a587d77b211 ASoC: samsung: Prevent clk_get_rate() calls in atomic context bf74076b7dd3 KVM: arm64: Forbid kprobing of the VHE world-switch code d74df61de605 arm/arm64: KVM: Don't panic on failure to properly reset system registers 58d6ec80a286 arm/arm64: KVM: Allow a VCPU to fully reset itself c05c5a6e1f0e KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded ba274486de32 ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables a3d8ea1f2555 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized 237e6c308062 Input: pwm-vibra - stop regulator after disabling pwm, not before 6a48d09a77a1 Input: pwm-vibra - prevent unbalanced regulator fcae9decbc8f s390/dasd: fix using offset into zero size array error f98a25dc02b7 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock 74b6b1e49d06 gpu: ipu-v3: Fix CSI offsets for imx53 1c0723cba9a9 drm/imx: imx-ldb: add missing of_node_puts 321e0fbdae09 gpu: ipu-v3: Fix i.MX51 CSI control registers offset f0e52962b9f2 drm/imx: ignore plane updates on disabled crtcs 38fc637ca52e crypto: rockchip - update new iv to device in multiple operations 5d89757429b3 crypto: rockchip - fix scatterlist nents error 2365ae3a03c9 crypto: ahash - fix another early termination in hash walk 512b0d76c2c9 crypto: cfb - remove bogus memcpy() with src == dest 66b1348939de crypto: cfb - add missing 'chunksize' property 40c76d76e11f crypto: ccree - don't copy zero size ciphertext 2ff9501c582f crypto: ccree - fix free of unallocated mlli buffer ba3c72efd404 crypto: caam - fixed handling of sg list 5d9cee322faf crypto: ccree - fix missing break in switch statement e0ea8deb72db stm class: Fix an endless loop in channel allocation 95b10e2f6a61 mei: bus: move hw module get/put to probe/release 1af8d0304685 iio: adc: exynos-adc: Fix NULL pointer exception on unbind 513052a27dab ASoC: codecs: pcm186x: Fix energysense SLEEP bit d5f37b5d7009 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE() da21c5d9bacf ASoC: fsl_esai: fix register setting issue in RIGHT_J mode b3e4f70db4f3 9p/net: fix memory leak in p9_client_create 4b84eeface08 9p: use inode->i_lock to protect i_size_write() under 32-bit 4441736404a3 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused() 3f7de80a22c6 perf/core: Fix impossible ring-buffer sizes warning (From OE-Core rev: ed4cc3a801445e873eac92d7b686a2956e1355c2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny/4.18: point KBRANCH to 4.18Bruce Ashfield2019-04-101-1/+1
| | | | | | | | | | | | | The other kernel versions had the -tiny KBRANCH typo of 4.15 fixed, but 4.18 was missed. So we update the kbranch to the right version for 4.18 as well. [YOCTO #13247] (From OE-Core rev: f3d3f320b846a56d52d8f5f073db5b37e6f3ba50) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: update CGL audit configuration fragmentBruce Ashfield2019-04-103-3/+3
| | | | | | | | | | | | | | | | | | | Integrating the follow config tweak: cgl: audit: Remove CONFIG_AUDIT_WATCH and CONFIG_AUDIT_WATCH In the following commits, these two options have been replaced by CONFIG_AUDITSYSCALL which is in audit.cfg. c8fc5d49c341 ("audit: remove WATCH and TREE config options") cb74ed278f80 ("audit: always enable syscall auditing when supported and audit is enabled") Signed-off-by: He Zhe <zhe.he@windriver.com> (From OE-Core rev: 2fff1900a580d592acc22dd095b226b3830c36ff) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/4.19: fix duplicate TIF_NEED_RESCHED_LAZYBruce Ashfield2019-04-101-1/+1
| | | | | | | | | | | | | | | | | | Integrating Kevin's patch that cleans up a build warning: x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY The two merge commits 107b161b1cbaf ("Merge branch 'v4.19/standard/base' into v4.19/standard/preempt-rt/base") and dc37b7080cd55 ("Merge tag 'v4.19.8' into linux-4.19.y-rt") almost have the same content, but introduce two define of TIF_NEED_RESCHED_LAZY for x86 arch. Drop one of them to fix the build warning. (From OE-Core rev: d8d339afd2f0e2873a1a782c05aaaa810fff72be) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-tiny: set 5.0 as the preferred kernelBruce Ashfield2019-04-091-1/+1
| | | | | | | | | | | Updating poky-tiny to prefer 5.0 as the kernel version. Boot tested against qemux86 and qemuarm. This removes the last user of the 4.18 kernel, so we can queue it for removal from master. (From meta-yocto rev: 2d44e7ab1a7f85092b5c20287663448b7d784f39) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overview-manual: Fixed broken link to pseudo.Scott Rifenbark2019-04-091-4/+3
| | | | | | | | | | | Link has disappeared. I am no longer using it and am using the article to "Why Fakeroot" to cover both Fakeroot and Pseudo "extra information" stuff. (From yocto-docs rev: 679c6a48a8e4bcc51bb8e97f2ba80123bdba6a5c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev, sdk-manual: Unified question spacingGianfranco Costamagna2019-04-093-3/+3
| | | | | | | | | | | | unify the spacing for questions in various places e.g. before the [Y/n] there should be a space, and before "?" there should be none. Unify the questions where the system expect an answer from the end user (From yocto-docs rev: 0643b2e22273a798b96f126931885efd733e5f89) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated BB_GENERATE_MIRROR_TARBALLSScott Rifenbark2019-04-091-4/+12
| | | | | | | | | | | Updated the description to tell the user they can safely clean up the DL_DIR after creating tarballs of the source files from downloaded repos. (From yocto-docs rev: 6aff69632ea3102b6389ea510e1e3fa5bf1c2123) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/qemurunner: Fix typo in previous commitRichard Purdie2019-04-091-1/+1
| | | | | | (From OE-Core rev: e2b4b0580cd719cf9d48576aa7d0b88e4a286921) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Make prune_suffix prune a suffixAndre Rosa2019-04-091-2/+2
| | | | | | | | | | Make prune_suffix prune a suffix instead of replacing a substring that could happen more than once and not only when it ends with it. (Bitbake rev: 57e765e38c6382a9b36d5ee2a6f3fa96ac905b82) Signed-off-by: Andre Rosa <andre.rosa@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: Add several logging fixesRichard Purdie2019-04-094-1/+161
| | | | | | | | | This change adds three patches to improve the handling of stdout/stderr and child processes to try and improve logging reliability in ptest-runner. (From OE-Core rev: 1c0fffc401cdb581a93d16d225f53c83359ff209) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh/util-linux/python*: Ensure ptest output is unbufferedRichard Purdie2019-04-098-8/+8
| | | | | | | | | | | | | We need to run sed with the -u option to ensure the output is unbuffered else ptest-runner may timeout thinkig things were idle. Busybox doesn't have the -u option so we need to RDEPEND on sed (which is a good thing to do if we use it anyway). Alex Kanavin should get credit for discovering the problem. (From OE-Core rev: d3ffbebf43c23faa43af81c9ecf6fcaef36d675b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Enable domain search list supportAlexey Brodkin2019-04-091-1/+0
| | | | | | | | | | | | | | | | | This option is enabled by default in Busybox and becomes useful in networks with internal resources becasue allows to use much shorter names. E.g. instead of "server.internal.company.com" it's possible to use just "server" if DHCP server is configured with: ---------------------------->8----------------------- option domain-search "internal.company.com"; ---------------------------->8----------------------- (From OE-Core rev: 06a726141ef24bea2d17d2adfcb870e9cccacb74) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch/insane: Rework patch fuzz handlingAndreas Müller2019-04-092-16/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are three issues which can be enhanced: 1. Fuzz warnings cannot be configured as errors for hardening. It happened often to me that these warnings were overseen and detected after commits were already out. 2. The output is too verbose - particularly when more than one file is affected. Meanwhile all users should know why patch fuzz check is performed. So move links with background information to insane.bbclass. 3. Reduce copy & paste effort slightly by printing PN (nit: <recipe> was not a correct suggestion e.g for native extended recipe - see example below) To achieve patch.py drops patch-fuzz info encapsulated by a header- and footer- string into log.do_patch. With this insane.bbclass can drop warnings/errors depending on 'patch-fuzz' in ERROR_QA or WARN_QA. Default remains unchanged: Spit out warnings only. A message for two fuzzed patches and 'pact-fuzz' in ERROR_QA now looks like: | ERROR: autoconf-native-2.69-r11 do_patch: Fuzz detected: | | Applying patch autoreconf-exclude.patch | patching file bin/autoreconf.in | Hunk #1 succeeded at 73 with fuzz 1 (offset -3 lines). | Hunk #2 succeeded at 143 (offset 6 lines). | Hunk #3 succeeded at 167 (offset 6 lines). | Hunk #4 succeeded at 177 (offset 6 lines). | Hunk #5 succeeded at 281 (offset 15 lines). | Hunk #6 succeeded at 399 (offset 15 lines). | Hunk #7 succeeded at 571 (offset 20 lines). | Hunk #8 succeeded at 612 (offset 20 lines). | Hunk #9 succeeded at 636 (offset 20 lines). | Hunk #10 succeeded at 656 (offset 20 lines). | Hunk #11 succeeded at 683 (offset 20 lines). | | Applying patch autoreconf-gnuconfigize.patch | patching file bin/autoreconf.in | Hunk #1 succeeded at 55 with fuzz 1 (offset -3 lines). | Hunk #3 succeeded at 663 (offset 18 lines). | | The context lines in the patches can be updated with devtool: | | devtool modify autoconf-native | devtool finish --force-patch-refresh autoconf-native <layer_path> | | Don't forget to review changes done by devtool! | | ERROR: autoconf-native-2.69-r11 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] (From OE-Core rev: c762c0be43a3854a43cb4b9db559b03126d50706) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/utils: Make prune_suffix prune a suffixAndre Rosa2019-04-091-3/+3
| | | | | | | | | | | ... instead of replacing a substring that could happen more than once and not only when it ends with it. Do the same for the prefix. See related https://github.com/openembedded/bitbake/pull/24 . There it stops replacing sufixes once first one is matched but not here. (From OE-Core rev: 610ac84170f8a91cc3321edfc336a9e39f24ebe3) Signed-off-by: Andre Rosa <andre.rosa@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: update runtime perl module dependenciesRandy MacLeod2019-04-091-0/+10
| | | | | | | | | | | | | | Running: # autoreconf -if on target for prelink-cross was failing due to missing perl modules: Can't locate File/Spec.pm in @INC ... Add the required perl modules and duplicate them for the SDK. (From OE-Core rev: 52657215bcffc022821395950cf3236250370223) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity: clarify error message if TMPDIR movesRoss Burton2019-04-091-1/+1
| | | | | | | | | | | | | If TMPDIR is moved the error message says "move it back or rebuild" but the obvious rebuild method of running 'bitbake [recipe]] -cclean' fails with the same error. Make it clear what we mean by adding "delete and". (From OE-Core rev: 36805a628f8208ff6d7fba9955c5fb1ed6396395) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix 3 CVEsOvidiu Panait2019-04-0914-0/+2688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was discovered that the ghostscript /invalidaccess checks fail under certain conditions. An attacker could possibly exploit this to bypass the -dSAFER protection and, for example, execute arbitrary shell commands via a specially crafted PostScript document. It was found that the superexec operator was available in the internal dictionary in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER. It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER. References: https://nvd.nist.gov/vuln/detail/CVE-2019-6116 https://www.openwall.com/lists/oss-security/2019/01/23/5 https://nvd.nist.gov/vuln/detail/CVE-2019-3835 https://nvd.nist.gov/vuln/detail/CVE-2019-3838 Upstream patches: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=13b0a36 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2db98f9 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=99f1309 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=59d8f4d http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2768d1a http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=49c8092 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2ff600a http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=779664d http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e8acf6d http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2055917 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d683d1e http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ed9fcd9 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a82601e (From OE-Core rev: 12e140dfdac8456772223c816e37bd869419bb18) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-vesa: Refuse to run on UEFI machinesOvidiu Panait2019-04-092-0/+56
| | | | | | | | | | | | | | | | | Fix the following Xorg start failure on UEFI machines when using xf86-video-vesa driver (e.g. in qemu, when anaconda tries to start X): Xorg -br -logfile /tmp/X.log :1 vt7 -s 1440 -ac -nolisten tcp -dpi 96 -noreset ... (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices ... Upstream patch: https://cgit.freedesktop.org/xorg/driver/xf86-video-vesa/commit/?id=2645e0aa9c17c2c966a0533e52ad00510311483e (From OE-Core rev: 25edd39d752876a2894ddbbe396c3b037519f9f1) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcc: Create linux-musleabihf and linux-gnueabihf symlinksKhem Raj2019-04-091-0/+7
| | | | | | | | | | | | | When we have hard-float ABI enabled, certain tools e.g. llvm/clang expects the hf version of tuples for crt files from libgcc, therefore create a symlink to help the cause. This makes clang work with hard-float defaults on target (From OE-Core rev: f58cf0d0ff05636a70330c54f7e537f9480674c4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: standard: Handle exporting generated config fragmentsNathan Rossi2019-04-091-0/+14
| | | | | | | | | | | | | | | The cml1 and ccmake bbclasses generate configuration fragment source files that must be exported from the WORKDIR as a source file to be preserved across builds. This change adds detection of the current recipes inherited classes and for cml1 and ccmake classes checks for the specific generated configuration fragment files. These files are then exported by devtool and included as SRC_URI files from within the target layer. (From OE-Core rev: 7a1fabe4a24552ce8a50c8d6009969ca52a5fd27) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccmake.bbclass: Create a cml1 style class for the CMake curses UINathan Rossi2019-04-091-0/+97
| | | | | | | | | | | | | | | | | | | | | | | | | The ccmake bbclass implements two tasks. The first task 'ccmake' preserves the configured state of CMakeCache.txt (generated from the configure task) and invokes the 'ccmake' program within a oe_terminal execution. The user can then review, select and modify configuration options and once satisfied with the configuration exit ccmake. Once ccmake has exited the build can be run and the updated configuration should be reflected in the output build. The ccmake bbclass has a second task 'ccmake_diffconfig' to compute the differences in configuration which was modified by ccmake. Since there are many ways to persist the configuration changes within recipes and layer configuration, the differences are emitted as a bitbake recipe fragment (configuration.inc) using EXTRA_OECMAKE as well as a CMake script file which can be used as a input to cmake via the '-C' argument. Both files are generated in the WORKDIR of the build and the paths to the files are written as output from the build. It is then up to the user to take this configuration and apply it to the desired location. (From OE-Core rev: 091c46a8ecba6b6b7c44078ae2b567a2ef6e72e9) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake-native: Enable ccmake by default and depend on ncursesNathan Rossi2019-04-091-3/+2
| | | | | | | | | | Enable the building of the curses based ui for cmake. This depends on ncurses. (From OE-Core rev: a8397def4eebacb8876d021129309a6903b71b2f) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+: update for new catalog pathRoss Burton2019-04-051-1/+1
| | | | | | | | | The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog. (From OE-Core rev: d7c0e9d1800912a0f35fb554d54945b728a04a6f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: clean up RDEPENDSRoss Burton2019-04-051-2/+4
| | | | | | | | | | | | | | Because of differences in how RDEPENDS works for native/target, add libxml2 and libxslt to RDEPENDS (so that native dependencies work), but also add libxml2-utils (for xmllint) and libxslt-bin (for xsltproc) to target RDEPENDS. Also add libxml2-native to DEPENDS as that is needed for the docbook-(xml,xsl)-native catalog to be generated. (From OE-Core rev: b571315acb59f61335c20849d2ce7f5059258c1a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: remove XML catalogRoss Burton2019-04-052-24/+2
| | | | | | | | | | | | | | | | | Now that docbook-xml and docbook-xsl use the xmlcatalog class, xmlto can stop shipping a hand-coded catalogue. It still needs to keep the wrapper so that the sysroot catalog is used instead of /etc/xml/catalog. The wrapper is native-specific so mark it as such. Note that this does effectively break xmlto on the target as the xmlcatalog class doesn't write a catalog for the target yet, but I'm hoping that nobody actually uses it on target. (From OE-Core rev: b12686ecdd0b0bdb36c8d1a2baeeb66aadff1b8c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* asciidoc: use correct XML catalog pathRoss Burton2019-04-051-1/+1
| | | | | | | | | | Now that docbook-xml and docbook-xsl are writing catalog files, tell xmllint/xsltproc where the catalog is. (From OE-Core rev: e60ec1dc23df918a7ec2e4572233ee12e73f4aff) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxslt: update for new catalog pathRoss Burton2019-04-051-2/+2
| | | | | | | | | The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog. (From OE-Core rev: 2c91c3ef14269b7b329b3008e5b3a8e65ea4f494) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-xsl: use xmlcatalogRoss Burton2019-04-052-20/+7
| | | | | | | | | | | | There is no need to ship a static catalog that we have to patch, as upstream comes with a catalog fragment. Use the xmlcatalog class to register this catalog. (From OE-Core rev: c4638117142b4e516755161bf35b29c82f41cfc7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-xsl: neaten documentationRoss Burton2019-04-051-5/+2
| | | | | | | | | Tidy up the install task and don't version the directory under ${docdir}. (From OE-Core rev: 4bf256602add685f86058aced1b8ebe0d1413b5d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-xml: use xmlcatalog classRoss Burton2019-04-052-81/+12
| | | | | | | | | | | | Instead of shipping a static catalog and patching it for native builds, use libxml2-native to generate a catalog with the correct paths. Use the xmlcatalog class to register this catalog automatically. (From OE-Core rev: 62a264df8806c48bfd8e96bec6faf6675b873e35) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlcatalog: new class to update the XML catalogueRoss Burton2019-04-051-0/+24
| | | | | | | | | | | | | | | | | This is a new class to handle recipes that need to add/remove entries in the XML Catalog(ue)[1]. In the future it will handle updating the catalogue on the target, but the immediate requirement is during the build so currently this only works with native recipes. Note that as this is a new class and target use hasn't been implemented yet, it is possible that the behaviour of this class will change. [1] https://en.wikipedia.org/wiki/XML_catalog (From OE-Core rev: 28c58cff76b24cea2745352c6557a81c04d85138) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: lttng-tools works fine on musl no need to remove itJonathan Rajotte2019-04-051-1/+0
| | | | | | | (From OE-Core rev: e0dbe1abaaa4a5058979ba7753262a58e2ead14b) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: lttng-ust works fine on musl no need to remove itJonathan Rajotte2019-04-053-3/+0
| | | | | | | (From OE-Core rev: 1eaf5f374dc1e9e5be83ecb4f31b86acea850486) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: backport musl workaroundJonathan Rajotte2019-04-052-0/+111
| | | | | | | | | | | | | | | musl implementation for _SC_NPROCESSORS_CONF is a bit fishy. [1] https://www.openwall.com/lists/musl/2019/03/15/5 Anyway, we implemented a fallback. This patch should be gone by next recipe update. (From OE-Core rev: 5feddda9ac7ea72eac3d5a83251fa023b67aebce) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: improve ptest and test suiteJonathan Rajotte2019-04-058-1/+1334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple patches are to be applied to improve the current ptest suite. 0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch 0002-Fix-test-skip-test_getcpu_override-on-single-thread-.patch 0003-Fix-test-unit-the-tree-origin-can-be-a-symlink-itsel.patch 0006-Tests-check-for-lttng-modules-presence.patch All deal with problem in the test suite. Most of these are already accepted upstream and will be removed on the next recipe update. 0004-Skip-when-testapp-is-not-present.patch Is a OE specific fix that make sure that we skip the test if the test util application (event generator) is not present. We are still unsure on how (upstream) we are going to solve this problem. We already have this problem if a user build lttng without lttng-ust (--without-lttng-ust). We will most probably end up splitting each test into kernel and userspace tests and adjust the makefile accordingly. Another option is to probe lttng for enabled function at runtime. 0005-Tests-use-modprobe-to-test-for-the-presence-of-lttng.patch Is a requirement for 0006 that should be accepted upstream shorlty. 0007-Fix-getgrnam-is-not-MT-Safe-use-getgrnam_r.patch Fixes a race found while testing OE built with musl. This is a legit bug. The fixes or a variant should be accepted soon. (From OE-Core rev: 57db7be54b9ee21b2be33b83782f0636d0702168) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base/pixbufcache: Remove obsolete sstatecompletions codeRichard Purdie2019-04-052-14/+1
| | | | | | | | | | | | This has been unused in OE-Core since the introduction of recipe specific sysroots. Its not so useful since it only runs once upon sstate installation, not per installation per sysroot. Remove the weird looking comment left behind in pixbufcache too. (From OE-Core rev: 2af49716504f65be0cb01f609ea9bfa334926589) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>