spectre-meltdown-checker_0.46.bb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. SRC_URI = "git://github.com/speed47/spectre-meltdown-checker;protocol=https;branch=master"
  11. SRCREV = "b8f8c81d519435c0871b13f02b5c4a72c5bffd5e"
  12. S = "${UNPACKDIR}/git"
  13. # binutils: readelf,objdump might be used for deeper analysis
  14. # coreutils: dd with iflag=skip_bytes oflag=seek_bytes in some cases
  15. # kernel-dev: /boot/config is used
  16. # perl: sometimes used when other tools (dd, rdmsr/wdmsr) are missing
  17. RRECOMMENDS:${PN} = "\
  18. binutils \
  19. coreutils \
  20. kernel-dev \
  21. perl \
  22. "
  23. INHIBIT_DEFAULT_DEPS = "1"
  24. PACKAGE_ARCH = "${MACHINE_ARCH}"
  25. do_compile[noexec] = "1"
  26. do_install() {
  27. install -m 755 -D ${S}/${BPN}.sh ${D}${bindir}/${BPN}
  28. }