mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-15 15:37:18 +00:00
fb67042242
This allows to track tip easier. refresh patch Fix LICENSE to match SPDX format Signed-off-by: Armin Kuster <akuster808@gmail.com>
34 lines
1014 B
BlitzBasic
34 lines
1014 B
BlitzBasic
SUMMARY = "Linux Kernel Runtime Guard"
|
|
DESCRIPTION="LKRG performs runtime integrity checking of the Linux \
|
|
kernel and detection of security vulnerability exploits against the kernel."
|
|
SECTION = "security"
|
|
HOMEPAGE = "https://www.openwall.com/lkrg/"
|
|
LICENSE = "GPL-2.0-only"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5105ead24b08a32954f34cbaa7112432"
|
|
|
|
DEPENDS = "virtual/kernel elfutils"
|
|
|
|
SRCREV = "43db5f19fca259feb1962f6db33382348cbc8320"
|
|
|
|
SRC_URI = "git://github.com/lkrg-org/lkrg.git;protocol=https;branch=main \
|
|
file://makefile_cleanup.patch "
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit module kernel-module-split
|
|
|
|
MAKE_TARGETS = "modules"
|
|
|
|
MODULE_NAME = "p_lkrg"
|
|
|
|
module_do_install() {
|
|
install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}
|
|
install -m 0644 ${MODULE_NAME}.ko \
|
|
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/${MODULE_NAME}/${MODULE_NAME}.ko
|
|
}
|
|
|
|
RPROVIDES:${PN} += "kernel-module-lkrg"
|
|
|
|
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
|