From: Christopher Larson Date: Thu, 21 Jun 2018 21:07:35 +0000 (+0500) Subject: dmidecode: correct docdir X-Git-Tag: uninative-2.2~275 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=af4f0d44acef328245dfe1bd102bb5e61293ee2d;p=openembedded-core.git 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 --- 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 }