diff options
| -rw-r--r-- | meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb new file mode 100644 index 0000000000..19b19419ca --- /dev/null +++ b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | SUMMARY = "Hardware vulnerability and mitigation checker" | ||
| 2 | DESCRIPTION = "\ | ||
| 3 | Reptar, Downfall, Zenbleed, ZombieLoad, RIDL, Fallout, Foreshadow, Spectre, \ | ||
| 4 | Meltdown vulnerability/mitigation checker for Linux & BSD \ | ||
| 5 | " | ||
| 6 | HOMEPAGE = "https://github.com/speed47/spectre-meltdown-checker" | ||
| 7 | BUGTRACKER = "https://github.com/speed47/spectre-meltdown-checker/issues" | ||
| 8 | LICENSE = "GPL-3.0-only" | ||
| 9 | LIC_FILES_CHKSUM = "file://spectre-meltdown-checker.sh;beginline=2;endline=2;md5=3ae5399e70af7be9b93f72568069e2f4" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/speed47/spectre-meltdown-checker;protocol=https;branch=master" | ||
| 12 | SRCREV = "b8f8c81d519435c0871b13f02b5c4a72c5bffd5e" | ||
| 13 | |||
| 14 | S = "${UNPACKDIR}/git" | ||
| 15 | |||
| 16 | # binutils: readelf,objdump might be used for deeper analysis | ||
| 17 | # coreutils: dd with iflag=skip_bytes oflag=seek_bytes in some cases | ||
| 18 | # kernel-dev: /boot/config is used | ||
| 19 | # perl: sometimes used when other tools (dd, rdmsr/wdmsr) are missing | ||
| 20 | RRECOMMENDS:${PN} = "\ | ||
| 21 | binutils \ | ||
| 22 | coreutils \ | ||
| 23 | kernel-dev \ | ||
| 24 | perl \ | ||
| 25 | " | ||
| 26 | |||
| 27 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 28 | |||
| 29 | inherit allarch | ||
| 30 | |||
| 31 | do_compile[noexec] = "1" | ||
| 32 | |||
| 33 | do_install() { | ||
| 34 | install -m 755 -D ${S}/${PN}.sh ${D}${bindir}/${PN} | ||
| 35 | } | ||
