meta-virtualization/recipes-extended/libvmi/libvmi_git.bb
Bruce Ashfield db81cacee3 libvmi: update v0.14.0-tip
Bumping libvmi to version v0.10-1144-gf02aeb7, which comprises the following commits:

    f02aeb7 implement Windows PTE resolving (#1074)
    8f9b010 update memory size properties as modified by daf350644dc in mmap logic (#1097)
    60ddb31 Add KF/x's rwmem to examples (#1107)
    033a0ec Add vmi_get_domain_status and Xen driver implementation (#1106)
    932c602 add vmi_mmap_guest_pa method (#1103)
    bdb9ffb Fix memory leak in read-disk-example.c (#1102)
    2d7258b Move mmap option from source to CMake config (#1101)
    c85b701 Export events.h only once if multiple drivers support it (#1100)
    ea5d6ad Remove centos CI tests (#1099)
    df8547f Set mem-range access, read wstrings, get last PF (#1095)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-03-25 03:28:19 +00:00

44 lines
1.6 KiB
BlitzBasic

DESCRIPTION = "An introspection library, written in C, focused on reading \
and writing memory from virtual machines (VM's)."
HOMEPAGE = "https://github.com/libvmi/libvmi"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
SECTION = "console/tools"
PV = "0.14.0+git"
DEPENDS = "libvirt libcheck bison fuse bison-native flex-native autoconf-archive-native"
SRC_URI = "git://github.com/libvmi/libvmi.git;branch=master;protocol=https \
file://0001-Build-vbd-only-when-xen-is-enabled.patch \
"
SRCREV = "f02aeb751fd27bd4ae753dcd5904a4ef3232821e"
S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
# Noramlly dynamic libs would be of the form libXX.so.1.0.0 in which case
# bitbake should be able to properly populate the -dev package and the main
# packages. Since libvmi uses the form libXX.1.0.0.so it breaks this automatic
# packaging so we need to be more explicit about what goes where.
FILES:${PN} += "${libdir}/libvmi-0.9.so"
FILES:${PN}-dev = "${includedir} ${libdir}/${BPN}.so ${libdir}/*.la \
${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
${datadir}/aclocal ${base_libdir}/*.o \
${libdir}/${BPN}/*.la ${base_libdir}/*.la"
PACKAGECONFIG ??= "json-c"
PACKAGECONFIG[xen] = "--enable-xen,--disable-xen,xen,"
PACKAGECONFIG[kvm] = "--disable-kvm-legacy,--enable-kvm-legacy,kvm,"
PACKAGECONFIG[json-c] = ",,json-c,"
# We include a sample conf file to which we have added
do_install:append () {
mkdir ${D}${sysconfdir}
cp etc/*.conf ${D}${sysconfdir}
}
# Construction of grammar.h is not parallel safe.
PARALLEL_MAKE = "-j1"