Patchwork [8/9] db: Fix file ownership

login
register
mail settings
Submitter Mark Hatle
Date June 23, 2011, 6:19 p.m.
Message ID <d3fead4b7574cf647d641b7d0a9f7dd30e9598bd.1308852888.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/6443/
State New, archived
Headers show

Comments

Mark Hatle - June 23, 2011, 6:19 p.m.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-support/db/db_5.1.19.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-support/db/db_5.1.19.bb b/meta/recipes-support/db/db_5.1.19.bb
index fc87c31..a8ae1bd 100644
--- a/meta/recipes-support/db/db_5.1.19.bb
+++ b/meta/recipes-support/db/db_5.1.19.bb
@@ -98,6 +98,8 @@  do_install_append() {
 		test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}"
 		mv "${D}/${prefix}/docs" "${D}/${docdir}"
 	fi
+
+	chown -R root:root ${D}
 }
 
 BBCLASSEXTEND = "native nativesdk"