diff options
author | Ross Burton <ross.burton@arm.com> | 2023-04-24 14:03:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-05 11:07:25 +0100 |
commit | 4233caf60b713c0ea0201c049180bb5b5b82211f (patch) | |
tree | e37b5b382ea299c0ba98c7272f68a8cfa2428e34 /meta/recipes-devtools/dmidecode/dmidecode_3.5.bb | |
parent | 1285f78ce861a92dbb99f476b49499574259e615 (diff) | |
download | poky-4233caf60b713c0ea0201c049180bb5b5b82211f.tar.gz |
dmidecode: upgrade to 3.5
This includes a fix for CVE-2023-30630.
Remove the patch changing prefix and instead pass the paths to the make
install command.
Passing -e to make is no longer needed, the Makefile respects variables
now.
(From OE-Core rev: 86f2f9cfdc23cc9a2579d968cb9bb0fc61608b62)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dmidecode/dmidecode_3.5.bb')
-rw-r--r-- | meta/recipes-devtools/dmidecode/dmidecode_3.5.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_3.5.bb b/meta/recipes-devtools/dmidecode/dmidecode_3.5.bb new file mode 100644 index 0000000000..3e2bb6e30b --- /dev/null +++ b/meta/recipes-devtools/dmidecode/dmidecode_3.5.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "DMI (Desktop Management Interface) table related utilities" | ||
2 | HOMEPAGE = "http://www.nongnu.org/dmidecode/" | ||
3 | DESCRIPTION = "Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output)." | ||
4 | LICENSE = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
6 | |||
7 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.xz" | ||
8 | |||
9 | COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux" | ||
10 | |||
11 | do_install() { | ||
12 | oe_runmake \ | ||
13 | DESTDIR="${D}" \ | ||
14 | prefix="${prefix}" \ | ||
15 | sbindir="${sbindir}" \ | ||
16 | docdir="${docdir}/${BPN}" \ | ||
17 | mandir="${mandir}" \ | ||
18 | install | ||
19 | } | ||
20 | |||
21 | SRC_URI[sha256sum] = "79d76735ee8e25196e2a722964cf9683f5a09581503537884b256b01389cc073" | ||