Patchwork [7/9] base-passwd: fix out-of-tree builds

login
register
mail settings
Submitter Ross Burton
Date Dec. 14, 2012, 2:51 p.m.
Message ID <1355496684-1498-8-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/41013/
State Accepted
Commit cdc9670500cc64e8863f9ad787691a4c096333c1
Headers show

Comments

Ross Burton - Dec. 14, 2012, 2:51 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-core/base-passwd/base-passwd_3.5.26.bb |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Patch

diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
index 2073b3f..3eae214 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
@@ -20,19 +20,19 @@  do_install () {
 	install -d -m 755 ${D}${sbindir}
 	install -o root -g root -p -m 755 update-passwd ${D}${sbindir}/
 	install -d -m 755 ${D}${mandir}/man8 ${D}${mandir}/pl/man8
-	install -p -m 644 man/update-passwd.8 ${D}${mandir}/man8/
-	install -p -m 644 man/update-passwd.pl.8 \
+	install -p -m 644 ${S}/man/update-passwd.8 ${D}${mandir}/man8/
+	install -p -m 644 ${S}/man/update-passwd.pl.8 \
 		${D}${mandir}/pl/man8/update-passwd.8
 	gzip -9 ${D}${mandir}/man8/* ${D}${mandir}/pl/man8/*
 	install -d -m 755 ${D}${datadir}/base-passwd
-	install -o root -g root -p -m 644 passwd.master ${D}${datadir}/base-passwd/
-	install -o root -g root -p -m 644 group.master ${D}${datadir}/base-passwd/
+	install -o root -g root -p -m 644 ${S}/passwd.master ${D}${datadir}/base-passwd/
+	install -o root -g root -p -m 644 ${S}/group.master ${D}${datadir}/base-passwd/
 
 	install -d -m 755 ${D}${docdir}/${BPN}
-	install -p -m 644 debian/changelog ${D}${docdir}/${BPN}/
+	install -p -m 644 ${S}/debian/changelog ${D}${docdir}/${BPN}/
 	gzip -9 ${D}${docdir}/${BPN}/*
-	install -p -m 644 README ${D}${docdir}/${BPN}/
-	install -p -m 644 debian/copyright ${D}${docdir}/${BPN}/
+	install -p -m 644 ${S}/README ${D}${docdir}/${BPN}/
+	install -p -m 644 ${S}/debian/copyright ${D}${docdir}/${BPN}/
 }
 
 base_passwd_sstate_postinst() {