summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* uxen-guest-tools: fix -DMODULE not working when building uxenhc moduleMartin Jansa2021-11-303-13/+57
| | | | | | | | | | | * undo the unnecessary and incomplete changes from 0001-vm-support-fix-build-for-kernel-s-5.4.patch because with 5.15 it was still failing with: ERROR: modpost: missing MODULE_LICENSE() in uxen-guest-tools/4.1.8-r0/uxen-4.1.8-72a4af9/vm-support/linux/uxenhc/uxenhc.o fix it properly in 0004-uxenhc-fix-DMODULE-not-working-on-module-build-comma.patch Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* uxen-guest-tools: fix build against kernels 5.15+Martin Jansa2021-11-303-1/+81
| | | | | | | | This is a compile only fix to update the uxen kernel modules to work against newer kernels. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor: set PVMartin Jansa2021-11-301-0/+2
| | | | | | | | | | | | | * use something more reasonable than default 'git' from filename * there wasn't a new tag for a long time, so this is quite far from 0.3.0 as git describe shows: v0.3.0-231-g6b23764a but 0.3.0 is still the closest release I've found and matches PROJECT_VERSION in Makefile: https://github.com/avpatel/xvisor-next/blob/6b23764a1439f9d08b2ed2f363da522460d8a22b/Makefile#L29 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* uxen-guest-tools: fix build against kernels 5.4+Bruce Ashfield2021-11-292-0/+98
| | | | | | | This is a compile only fix to update the uxen kernel modules to work against newer kernels. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor: uprev to latest master and fix python referenceBruce Ashfield2021-11-293-57/+38
| | | | | | | | | | | Bumping to the latest xvisor tip. We drop one patch that is now part of the upstream, and we add another to remove /usr/bin/python from scripts called during build, since it breaks the build on hosts without /usr/bin/python. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix CVE-2021-3667Xu, Yanfei2021-11-242-0/+41
| | | | | | | | | | | | | | | | | | Backport a fix for CVE-2021-3667. The CVE discription: An improper locking issue was found in the virStoragePoolLookupByTargetPath API of libvirt. It occurs in the storagePoolLookupByTargetPath function where a locked virStoragePoolObj object is not properly released on ACL permission failure. Clients connecting to the read-write socket with limited ACL permissions could use this flaw to acquire the lock and prevent other users from accessing storage pool/volume APIs, resulting in a denial of service condition. The highest threat from this vulnerability is to system availability. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1986094 Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: inhibit empty-dirs QA checkBruce Ashfield2021-11-121-0/+1
| | | | | | | | | | | | | | | | OEcore has recently added a QA check for directories that should be empty. libvirt (via meson) creates some localsstate directories for the various components. These trigger the QA check and break the build. We still have some non-volatile localstate (/var) scenarios, and not seeing a distro feature that controls the QA check, and/or to coordinate the removal of the populated directories, we inhibit the QA check. In a boot with a volatile /var, the directories will be overlayed and no harm will come, in a non-volatile scenario, they'll be visible and no harm will come. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* irqbalance: bump SRCREV to latestMartin Jansa2021-11-081-4/+4
| | | | | | | | | | | | | | * remove the incorrect comment about SRCREV being 1.7.0 * and add +git because the old SRCREV wasn't matching with 1.8.0 tag as well * add -Wno-error=format-security to work around build failures with newer ncurses-6.3 like: | ../git/ui/ui.c:45:32: error: format not a string literal and no format arguments [-Werror=format-security] | 45 | mvprintw(LINES - 1, 0, footer); | | ^~~~~~ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: convert github SRC_URIs to use https protocolBruce Ashfield2021-11-028-8/+8
| | | | | | | | | | | github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: add explicit branch to all SRC_URIsBruce Ashfield2021-11-0210-10/+10
| | | | | | | | | | | | | | As introduced in the oe-core post: https://lists.openembedded.org/g/openembedded-core/message/157623 SRC_URIs without an explicit branch will generate warnings, and eventually be an error. We run the provided conversion script to make sure that meta-virt is ready for the change. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen,xen-tools: update xen to new releasesEdward Pickup2021-11-0210-197/+41
| | | | | | | | | | | | | | | | | | | Update the SHA in recipes for xen and xen-tools to use the latest releases; update xen 4.14 to xen 4.14.3 release, update xen 4.15 to 4.15.1 release, and xen 4.16 to the current master version. Add a comment to each recipe indicating which version of Xen is used in recipe. Do not apply patches that have been merged/solved in Xen and remove patch files not needed anymore. Create a test package to pack new tests introduced in 4.16. Add a depencency to util-linux-prlimit, as the xen 4.16 x86 requires prlimit, without this boot of dom0 fails. Signed-off-by: Edward Pickup <Edward.Pickup@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: 15.2.12 -> 15.2.15Kai Kang2021-10-283-35/+11
| | | | | | | | | | | | Update ceph to latest 15.x version: * remove 0001-add-missing-include-for-atomic-bool.patch which has been fixed in upstream * update patch to support python 3.10 * add gawk to RDEPENDS that script 'rgw-gap-list-comparator' requires it Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: inherit pkgconfig.bbclassKai Kang2021-10-181-1/+1
| | | | | | | | | | | | According to oe-core commit 8e26252b45 layer.conf: Extend recipes not to install without explict dependencies pkgconfig-native is not deployed in sysroot by default any more. Inherit pkgconfig.bbclass to make it available for ceph. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: add missing pkgconfig inheritRoss Burton2021-10-121-1/+1
| | | | | | | | | | New oe-core pulls in less default dependencies[1], so add an explicit inherit of pkgconfig as it is needed to configure Xen. [1] https://lists.openembedded.org/g/openembedded-core/message/156185 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* oath: inherit pkgconfigMartin Jansa2021-09-301-1/+1
| | | | | | | | | | | | | | | | * Newer oe-core doesn't pull many default dependencies anymore: https://lists.openembedded.org/g/openembedded-core/message/156185 add explicit dependency on pkgconfig through pkgconfig.bbclass as we're using it here. * fixes: ../../oath-toolkit-2.6.2/liboath/configure: line 30585: PKG_PROG_PKG_CONFIG: command not found checking for gtk-doc... ../../oath-toolkit-2.6.2/liboath/configure: line 30595: syntax error near unexpected token `$gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no' ../../oath-toolkit-2.6.2/liboath/configure: line 30595: ` PKG_CHECK_EXISTS($gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no)' configure: error: ../../oath-toolkit-2.6.2/liboath/configure failed for liboath Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "ceph/libibverbs: replace libibverbs with rdma-core"Bruce Ashfield2021-09-172-1/+35
| | | | | | | | | | meta-cloud-services still has users of libibverbs, so we'll keep it around a bit longer. But this library has been replaced by rdma-core, and won't get more updates, so it should be considered depreciated and slated for removal. This reverts commit 513f05926a5bdcda033a5da6f76f4f0dddb9d41f.
* libvirt: fix CVE-2021-3631Zqiang2021-09-162-0/+57
| | | | | | | | | | Selinux MCS generate a single category context and may be accessed by another machine. link: https://gitlab.com/libvirt/libvirt/-/issues/153 Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph/libibverbs: replace libibverbs with rdma-coreBruce Ashfield2021-09-162-35/+1
| | | | | | | | | | libibverbs is no longer developed, and its functionaty is provided by the rdma-core projects. rdma-core is part of meta-networking, so we drop libibverbs and update our dependency to rdma-core. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libibverbs: don't rprovide virtual/libibverbsBruce Ashfield2021-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the oe-core commit: commit 93ac180d8c389f16964bce8bd5538d9389e970e6 Author: Michael Opdenacker <michael.opdenacker@bootlin.com> Date: Wed Sep 1 11:20:20 2021 +0200 meta: stop using "virtual/" in RPROVIDES and RDEPENDS Fixes [YOCTO #14538] Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS. That's confusing because "virtual/" has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS). Instead, using "virtual-" instead of "virtual/" as already done in the glibc recipe. We stop rproviding virtual/libibverbs to keep the namespace clean. There aren't many (any) users of this virtual provides, but we keep it around (for now) to maintain compatibility. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xtf: add testimage integration to run XTF test cases in OEQAChristopher Clark2021-09-022-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new minimal OEQA test case to run the Xen Test Framework test runner in the standard testimage step. Tested with qemux86-64 and designed for compatibility with Arm when XTF supports it. To enable, append to local.conf: INHERIT += "testimage" QEMU_USE_SLIRP = "1" TEST_SERVER_IP = "127.0.0.1" To run: bitbake -c testimage xtf-image For inspection while it runs, at another shell prompt: * Observe the image booting: tail -f ${TMPDIR}/work/qemux86_64-*/xtf-image/*/testimage/qemu_boot_log.* * Observe the tests running once boot has completed: tail -f ${TMPDIR}/work/qemux86_64-*/xtf-image/*/temp/log.do_testimage The XTF test sequence by default is a single XTF test case with minimal hardware dependency to ensure that Xen is running, the Xen toolstack is functional and XTF works. Additional XTF test cases for an image can be configured via variables that are documented in the OEQA test case: * XTF_TEST_CASES_POPULATE * XTF_TEST_CASES_SKIP * XTF_TEST_CASES_REQUIRE Since testimage requires a functioning network to perform the tests on the image and the qemu MACHINES do not have networking enabled this commit provides a new qemuboot-testimage-network bbclass to add an image postprocess command to enable a functional eth0 for qemu MACHINES. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xtf-image: update qemuboot settingsChristopher Clark2021-09-021-5/+0
| | | | | | | | | | | | QB_MEM is now set via the qemuboot-xen-defaults bbclass and has the better default value of 512MB, which fixes some test failures observed when using the lower previous default value of 400MB. The SYSLINUX_XEN_ARGS method of setting the intended dom0 memory level did not take effect in practice, so remove it. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xtf-image: fix QB_DEFAULT_FSTYPE: only needed for x86-64 qemuChristopher Clark2021-09-021-1/+1
| | | | | | | The qemuboot launch method for x86-64 uses wic but Arm does not. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: supply bootloader config for qemux86-64 machineChristopher Clark2021-09-021-0/+1
| | | | | | | | | | | | | | | | Add a dedicated bootloader config for the qemux86-64 machine so that the 'pmtmr=0' kernel command line argument can be provided, which removes an error message that otherwise occurs in syslog during boot which is detected by an OEQA test case causing it to fail. A new kickstart file is provided that applies the new bootloader config and it is supplied as an override to WKS_FILE for this image. This is work towards enabling the Xen Test Framework (XTF) in the OEQA testimage framework. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: apply workaround for gnu linker error to fix x86 buildChristopher Clark2021-08-277-0/+42
| | | | | | | | Upstream patch applied to each Xen and Xen tools recipe to fix the build of the hypervisor and shim with GNU linker 2.37. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* uxen: update guest tools to 4.1.8Bruce Ashfield2021-08-271-4/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides conversion pass 2Bruce Ashfield2021-08-021-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides syntax conversionBruce Ashfield2021-08-0232-287/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemuboot, xen-image-minimal: enable runqemu for qemuarm64 Xen imagesChristopher Clark2021-07-291-2/+3
| | | | | | | | | | | | | | | | | | | The Xen hypervisor built for Arm 64-bit targets can be launched with runqemu by providing a Device Tree binary and configuration for Qemu, which enables interactive testing of Xen images. Add qemuboot-xen-dtb.bbclass to add a new bitbake task for generating the dtb file by using lopper on a device tree produced by Qemu. Add qemuboot-xen-defaults.bbclass to supply working default parameters for the qemuarm64 machine and general support for qemuboot for Xen, and adjust the defaults as needed to boot successfully in testing. Development aided by this script by Stewart Hildebrand of DornerWorks: https://gist.github.com/stewdk/110f43e0cc1d905fc6ed4c7e10d8d35e Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* uxen-guest-tools: inherit dos2unix to fix do_patch failureMartin Jansa2021-07-231-1/+1
| | | | | | | | | | | | | | * fixes: ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output: stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch patching file Makefile Hunk #1 FAILED at 1 (different line endings). Hunk #2 FAILED at 19 (different line endings). 2 out of 2 hunks FAILED -- rejects in file Makefile Patch fix-Makefile-for-OE-kernel-build.patch does not apply (enforce with -f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: remove Arm 32-bit compiler flags overrideChristopher Clark2021-07-141-1/+0
| | | | | | | | The SECURITY_FLAGS are already passed into the tools build in HOST_CC_ARCH so this separate case override is not needed. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xtf: fix build with gcc11 SRCREV and specifying linkerChristopher Clark2021-07-141-1/+2
| | | | | | | | | Newer XTF revision works around GCC 11.1 issue 99578 and supplying the correct linker to use fixes the build. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: fix build and passing of CFLAGS via Xen varsChristopher Clark2021-07-143-4/+14
| | | | | | | | | | | | | | | | Ensure that the Xen build system variables EXTRA_CFLAGS_XEN_CORE and EXTRA_CFLAGS_XEN_TOOLS are passed into the compile steps. Update the hypervisor compilation to avoid passing in most compile flags from the build environment via EXTRA_CFLAGS_XEN_CORE -- prefer the compiler defaults and the flags set by the Xen build system, so only the debug prefix flags are provided. Observeration derived from the prior commit e99974aa, so: Reported-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: apply upstream fixes for gcc11 compilationChristopher Clark2021-07-149-6/+152
| | | | | | | | | Apply patches for the tools and hypervisor to Xen 4.15 and the git recipe and uprev Xen 4.14 to latest stable revision. Retire the previous -Wno-vla-parameter workaround. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "nagios-nsca: blacklist recipe due to unsupported libmcrypt"hongxu2021-07-071-2/+0
| | | | | | | | | The libmcrypt build issue has been fixed by oe This reverts commit e7a0ea3e0fc43f6c2ec8fee70ec1315014ffbec1. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: don't require dev86-native to build dev86Ross Burton2021-06-303-45/+32
| | | | | | | | | | Instead of installing binaries and patching the makefiles to run external commands, simply build ifdef using BUILD_CC instead of CC. This patch is now upstreamable, the recipe is less complicated, and nativesdk works. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: work on all hosts, other cleanupsRoss Burton2021-06-301-4/+1
| | | | | | | | | | Remove COMPATIBLE_HOST, whilst this is an x86 assembler there's nothing to stop you building it on or for arm64 and assembling x86 code. Override INEXE so that binaries are not stripped and remove INSANE_SKIP. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: upadte to 0.14.0Bruce Ashfield2021-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Integrating the following commits: 3f5b0d5 Wire up cpuid events on kvmi (#975) 8cdef96 Clear up event example even more (#974) 548da8d Simplify event-example (#973) cffe055 Clean up on partial init failure (#972) fb2e006 Add snapcraft.yaml (#961) 582fc95 Add vmtrace (IPT) buffer offset to vm_event ABI (#960) 8b88b72 Turn on all debug options for scan-build test (#959) 719d90f Debug print in volatility_ist can segfault, fix (#958) 19379a9 Remove temp file accidentaly added to git (#957) f686145 Nested support (#956) 6d65cc3 Add AC_PROG_CC_C99 to configure.ac (#955) e21df55 Add more files to gitignore (#954) d9e490e Container build test (#953) c68d899 Switch to using Github Actions for CI (#952) 6d07174 Bump version to 0.15.0 (odd-numbered dev version) (#951) 1ae3950 examples: fix reinjection in breakpoint-recoil-example (#945) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* irqbalance: update to 1.8.0Bruce Ashfield2021-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commits: bd5aaf5 Fix comma typo in ui.c 43751df drop NoNewPrivs from irqbalance service 066499a remove no existing irq in banned_irqs ee6b3bd Fix compile issue with none AARCH64 builds d17bcc9 Fix irqbalance cannot obtain the full name of irq 99ae256 Updating irqbalance to v1.8.0 47f0f26 Add return value check of opendir in do_one_cpu 518d81c Hotplug may occur again during sleep, so wait until there is no hotplug fe0b99e ui: fix cpu/irq menu off by one 0cdc7a2 fix uint64_t printf format (use PRIu64) 31dea01 Also fetch node info for non-PCI devices ef9bf64 Add hot pull method for irqbalance 6ae114f Add log for hotplug appropriately 0ba4a60 add irq hotplug feature for irqbalance 004c7ab Remove some unused constant macros in constants.h c995237 Add a deprecation notice for IRQBALANCE_BANNED_CPUS 31c7d12 Add IRQBALANCE_BANNED_CPULIST to env file 6fe0329 log correctly for isolated and nohz_full cpus 04e5ce0 Update README.md 4019fe6 Add some examples for IRQBALANCE_BANNED_CPUS b3f95be Adjust how we determine if a cpu is online c8757c6 activate_mapping: activate only online CPUs 677b686 add env variable to ban cpus using cpulist syntax f6fcd3e put arg parsing detail into parse_command_line() Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kvmtool: update to -latestBruce Ashfield2021-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commits: 415f92c arm: Fail early if KVM_CAP_ARM_PMU_V3 is not supported 117d649 virtio: add support for vsock 382eaad hw/rtc: ARM/arm64: Use MMIO at higher addresses 45b4968 hw/serial: ARM/arm64: Use MMIO at higher addresses f01cc77 arm: Reorganise and document memory map 7e19cb5 Remove ioport specific routines 1f56b9d pci: Switch trap handling to use MMIO handler 205eaa7 virtio: Switch trap handling to use MMIO handler 579bc61 vfio: Switch to new ioport trap handlers a4a0dac vfio: Refactor ioport trap handler 59866df hw/serial: Switch to new trap handlers 47a5106 hw/serial: Refactor trap handler 38ae332 hw/vesa: Switch trap handling to use MMIO handler 123ee47 hw/rtc: Switch to new trap handler 8c45f36 hw/rtc: Refactor trap handlers 3adbcb2 x86/ioport: Switch to new trap handlers 8230499 x86/ioport: Refactor trap handlers d24bedb hw/i8042: Switch to new trap handlers f7ef3dc hw/i8042: Refactor trap handler fc76962 hw/i8042: Clean up data types 96f0c86 mmio: Extend handling to include ioport emulation 9bc7e2c ioport: Retire .generate_fdt_node functionality a81be31 hw/serial: Use device abstraction for FDT generator function 97531eb ioport: Remove ioport__setup_arch() Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: Fix compile error with snappySaul Wold2021-06-012-0/+31
| | | | | | | | snappy changed a data type in the last update, this is a known issue in ceph. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: update to 15.2.12 to address CVEsSaul Wold2021-05-211-5/+4
| | | | | | | | | | | Updated sha* Fixes: CVE-2021-3509 Fixes: CVE-2021-3524 Fixes: CVE-2021-3531 Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix do_install with usrmergeMartin Jansa2021-05-191-7/+11
| | | | | | | | | | | | | | | | | | | | | | | * meson build uses these paths: ./src/meson.build: systemd_unit_dir = prefix / 'lib' / 'systemd' / 'system' ./tools/meson.build: install_dir: prefix / 'lib' / 'systemd' / 'system', with usrmerge it fails with: sed: can't read TOPDIR/tmp-glibc/work/core2-64-oe-linux/libvirt/7.2.0-r0/image//usr/lib/systemd/system/libvirtd.service: No such file or directory because systemd_unitdir and systemd_system_unitdir are different with and without usrmerge in DISTRO_FEATURES: env.libvirt-without-usrmerge:export systemd_unitdir="/lib/systemd" env.libvirt-with-usrmerge:export systemd_unitdir="/usr/lib/systemd" env.libvirt-without-usrmerge:export systemd_system_unitdir="/lib/systemd/system" env.libvirt-with-usrmerge:export systemd_system_unitdir="/usr/lib/systemd/system" * set -Dinit_script to none when systemd isn't used instead of deleting the files in do_install_append Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: backport patch to fix compatibility with Meson-0.58Martin Jansa2021-05-172-0/+49
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: remove the pre-generated token[12].h and force gperf to generate them ↵Martin Jansa2021-05-143-559/+5
| | | | | | in do_compile Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dev86: fix compatibility with gperf-3.1Martin Jansa2021-05-143-0/+647
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dev86: depend on dev86-native for ifdefgMartin Jansa2021-05-143-5/+71
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dev86: switch to still maintained fork of dev86Martin Jansa2021-05-141-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * as mentioned in: https://github.com/lkundrak/dev86/pull/17 the original lkundrak repo is no longer maintained * pass only BASE_PV as VERSION in EXTRA_OEMAKE to prevent: | version.h:4:20: error: ‘gitAUTOINC’ undeclared (first use in this function) | #define VER_PAT 21+gitAUTOINC+e254e0b196 | ^ * there are many new commits, we need at least that fix for newer gperf git log --oneline v0.16.21..jbruchon/master e254e0b (jbruchon/master) Merge pull request #21 from tkchia/master 3473bde [libc] update _signal syscall semantics, per ABI change in ELKS at https://github.com/jbruchon/elks/pull/629 d74e90d Merge pull request #20 from tkchia/tkchia/update-syscalls 541a8d5 [libc] update syscall list & ino_t type, per ELKS tree 710e852 Merge pull request #16 from spacerace/master b215454 Merge pull request #17 from mfld-fr/master 870635e Move EMU86 & MON86 to standalone projects 84e3d00 [mon86] Latest touch before moving c2f288c [emu86] Latest touch before moving f7449f3 libc tests for MSDOS target (far away from complete ;)) 6cbd64d fixing problem in string.h introduced by myself -.- 39e04cd Merge branch 'master' of https://github.com/spacerace/dev86 b44e43d Added OpenBSD's timingsafe_bcmp() and timingsafe_memcmp() 857c30e Added BSD's strlcat() and strlcpy(), safe string copy/cat 0764e09 typo in string.h 2fb6a3a swab() 4e09d08 strupr() 2bd985f strset() 5a7bb33 strrev() 56be26a strnset() c919b2d strlwr() b63f295 h+Mf bzero() strnset() strset() strlwr() strupr() strrev() swab() 5985246 removed old implementation of strstr. if anyone needs this file => remains in git history 7b481c0 added bzero() 776929c Merge pull request #15 from spacerace/master 8206ed2 stdlib.h + Makefile changes for getenv() and system() b995d1e getenv() implementation 60466fe system() implementation 12439ac note on __mkenv (related to getenv commits from me) aae041a removed empty line on top of file 6d6d91f removed uneeded empty file (see sound.c) ff7d37e formatting (tabs) 246418a formatting in one line fixed 4ff1f48 Merge pull request #14 from mfld-fr/emu86 1b8f8db Add data & suspicious opcode breakpoints 798c4a2 Merge pull request #13 from rdebath/jbruchon 2eb4d82 Add .travis.yml for running "make distribution" tests. 2ea54e1 Merge pull request #12 from mgorny/makez f14f78e build: Always use $(MAKE) to spawn sub-make dfb9b42 Merge pull request #11 from mfld-fr/emu86 6ae2b54 Make dev86 working "in tree" 224843f Merge pull request #10 from mfld-fr/emu86 e56a958 [emu86] Test against ELKS - Round 3 0099ec8 Merge pull request #9 from mfld-fr/emu86 32865c8 [emu86] Test against ELKS - Round 2 e1aa9bd Merge pull request #8 from mfld-fr/emu86 c7ebb2a [emu86] Optimize execution lookup 57019a7 [emu86] Complete decoding optimization de516a5 [emu86] Fix mfld-fr#21 : opcode 90h (NOP) 40f7c99 [emu86] Optimize decoding < C0h 91d4c61 [emu86] Fix mfld-fr#16 : add pcat timing options d519caf [emu86] Fix mfld-fr#14 : trace support 3a479e7 [emu86] Check vector before interrupt 7eec401 Optimize decoding < 80h 98334d3 Fix mfld-fr#8 and warning cleanup 0579c82 Merge pull request #7 from mfld-fr/master 49492b9 [emu86] Add option for tiny model da6a960 [emu86] fix #19 : remove PT1 test e3b465f [dis88] Move back from ELKS f2ea895 Merge pull request #6 from mfld-fr/master b0700f4 [mon86] First stage removal after second validated 6ef705d [mon86] Fix #18 : Complete host tool 1fa5a70 Fix #10 and #11 : Target specific code 22c7770 Merge branch 'bug86' e25c996 [mon86] Tune host tool for read & write 47aadb5 [mon86] Fix #15 : Cleanup in host tool ae7c628 [mon86] Makefile for host part + more testing ae6c84a [mon86] New host tool + fix context parsing c9205ac Add missing void types to libc/misc/qsort.c 7a4f074 unproto: fix macOS Sierra compilation error reported by scontini76 ac6d924 unproto: better CFLAGS f86ad57 bcc: if EOF is hit before end of comment, report it as an error fcdbcd7 limits.h: add PATH_MAX 7239fea include: Add a skeleton for inttypes.h f3e88f9 Remove accidental ignoring of "include" 0ac417a Merge branch 'master' of https://github.com/jbruchon/dev86 74753fa Fix size_t declaration, add ssize_t declaration 4be53b7 Merge pull request #5 from mfld-fr/master d5ecd9c [mon86] Second stage tested on real SBC 81b0ab2 [mon86] Second stage monitor completed b55cbbc [mon86] Trace & break interrupt support 18a5ba8 Merge pull request #4 from mfld-fr/master 77f028b [mon86] First stage monitor completed 07689d4 Merge remote-tracking branch 'upstream/master' e043007 Revert accidental bcc changes in commit 3c83dee 495b99a [emu86] Test against ELKS - Round 1 5508efa Merge pull request #3 from mfld-fr/master 8aa3313 [emu86] Testing against a real ROM - Round 1 d8ac93e [emu86] Fixed #7 : segment selection & override 5b521d6 [emu86] Test against a real POST - Round 2 3c83dee [emu86] Test against a real POST - Round 1 b45a3d2 [emu86] Command line options 345513c [emu86] Fixed #6 : simplified variable size 2d7d316 [emu86] Fixed #2 + FAR call & ret 8ac48bf Import MON86 standalone project needed by EMU86 1da15c0 Bug fixes after EMU86 testing 1dc5fd3 Merge pull request #2 from mfld-fr/master 24935c0 [emu86] Final touch before the weekend 9090120 [emu86] Fixed #5 : redirect serial I/O to PTS 96dfb1a [emu86] Added memory and stack dumps 4fbcead [emu86] Fixed #1 : move reg num out of val struct 205e47d Improved EMU86 for MON86 testing 377ed40 Merge branch 'master' into emu86 fd3cf7e Added partial ZF and CF flags support c758426 Merge pull request #1 from mfld-fr/master 72ad336 Merge branch 'master' of git://github.com/jbruchon/dev86 into emu86 2d8398b More support of 8086 instruction set b2eadba EMU86 second draft 9a8e116 EMU86 first draft fb3b436 Revert "fix linker alignment for .bss segment" bf19066 Merge https://github.com/anchorz/dev86-1 4e8476e Revert "copt: fix a minor glitch in copt/rules.86" 1bcc185 Merge remote-tracking branch 'upstream/master' b0426b2 Force output of initial segment directive a44b267 fix linker alignment for .bss segment c0832c8 under CYGWIN bcc requires -o option to compile an .o file otherwise it ends up as .exe and cannot link 80d485b (origin/master, origin/HEAD) Add stdint.h header to recognize some C99 types 29dbfca libc/msdos: program name missing in argv[0] b0e9b25 libc/msdos: __mkargv es register changed 4a350d3 ar: rename of temporary libary fails on some platforms cf72284 copt: fix a minor glitch in copt/rules.86 ce888f6 Allow copt rules with empty outputs; fix minor glitch in copt/rules.86 4ed1997 bcc/dbprintf.c: ix implicit declaration warnings 9de6f00 Make a.out.h portable to 64 bit systems 7eae1c0 Change strstr() to Jody's two-way implementation 2f53e83 Add a .gitignore file c21e14a initial version with minimal routines fa9c32e Add stdint.h header to recognize some C99 types 6e8432b Minor style cleanups b7a191c Add "make distclean" and make it really clean everything dab04fb bootblocks: long -> int32_t for proper building on 64-bit hosts 0d9ee41 bootblocks requires as86_encap to build Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: add dependency on gperf-nativeMartin Jansa2021-05-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * fails to build on hosts without gperf: /bin/sh: gperf: command not found Makefile:27: recipe for target 'token2.h' failed * normally this isn't triggered, because token[12].h are included in git repo, but regenerating them fails: tmp-glibc/work/x86_64-linux/dev86-native/0.16.21-r0/git/cpp$ touch token1.tok tmp-glibc/work/x86_64-linux/dev86-native/0.16.21-r0/git/cpp$ make bcc-cpp gperf -aptTc -N is_ctok -H hash1 token1.tok > tmp.h /bin/sh: gperf: command not found Makefile:23: recipe for target 'token1.h' failed make: *** [token1.h] Error 127 * unfortunately this isn't enough, because new gperf 3.1 from oe-core isn't compatible, we need to upgrade to different dev86 fork which contains: https://github.com/jbruchon/dev86/pull/19 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: set PVMartin Jansa2021-05-141-1/+1
| | | | | | | | ipxe/gitrAUTOINC+18dc73d27e-r0/git$ git describe --tags v1.20.1-1-g18dc73d2 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: Inhibit -Werror to fix build with gcc-11Martin Jansa2021-05-141-0/+1
| | | | | | | | | | | | | | | | | * with gcc-11 it fails with: drivers/net/ath/ath5k/ath5k_eeprom.c:437:65: error: 'val' may be used uninitialized [-Werror=maybe-uninitialized] 437 | ee->ee_switch_settling_turbo[mode] = (val >> 8) & 0x7f; | ~~~~~~~~~~~^~~~~~ tests/bigint_test.c: In function 'bigint_test_exec': tests/bigint_test.c:232:14: error: 'result_raw' may be used uninitialized [-Werror=maybe-uninitialized] 232 | ok ( memcmp ( result_raw, expected_raw, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | sizeof ( result_raw ) ) == 0 ); \ | ~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>