From af4f0d44acef328245dfe1bd102bb5e61293ee2d Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 22 Jun 2018 02:07:35 +0500 Subject: dmidecode: correct docdir Without this, the package clutters up the root of /usr/share/doc. Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- meta/recipes-devtools/dmidecode/dmidecode_3.1.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb b/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb index f83281e235..b423fda6d2 100644 --- a/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb +++ b/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb @@ -9,6 +9,10 @@ COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux" EXTRA_OEMAKE = "-e MAKEFLAGS=" +# The upstream buildsystem uses 'docdir' as the path where it puts AUTHORS, +# README, etc, but we don't want those in the root of our docdir. +docdir .= "/${BPN}" + do_install() { oe_runmake DESTDIR="${D}" install } -- cgit 1.2.3-korg