summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 11:21:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 00:10:29 +0000
commitdb3d5baa07ce8c81d229fdea4d80671768efa7a3 (patch)
treebce516f8613e6d5c1808f43aec0e2c581fc423f9
parentfe8661cd30b02dd8ea9bf172479f372c919c36a7 (diff)
downloadopenembedded-core-db3d5baa07ce8c81d229fdea4d80671768efa7a3.tar.gz
openembedded-core-db3d5baa07ce8c81d229fdea4d80671768efa7a3.tar.bz2
openembedded-core-db3d5baa07ce8c81d229fdea4d80671768efa7a3.zip
libgcrypt: Fix unpackaged file warning
WARNING: For recipe libgcrypt, the following files/directories were installed but not shipped in any package: WARNING: /usr/sbin Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index 088cd34eff..a890188d49 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -21,6 +21,9 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
do_install_append() {
install -d ${D}/${libdir}/pkgconfig
install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
+
+ # Remove empty sbin directory since we don't build the daemon that would install there
+ rmdir ${D}${sbindir}
}
ARM_INSTRUCTION_SET = "arm"