[OE-core] [PATCH 5/6] dmidecode: correct docdir

Christopher Larson kergoth at gmail.com
Thu Jun 21 21:07:35 UTC 2018


From: Christopher Larson <chris_larson at mentor.com>

Without this, the package clutters up the root of /usr/share/doc.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
 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 f83281e2359..b423fda6d24 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
 }
-- 
2.11.1




More information about the Openembedded-core mailing list