[oe-commits] Richard Purdie : base-passwd: Fix case where ${B} != ${S}

git at git.openembedded.org git at git.openembedded.org
Fri Mar 22 17:05:35 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 2b58618406195aa53df2335c354d7e45ad08f4d5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2b58618406195aa53df2335c354d7e45ad08f4d5

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Mar 21 22:45:02 2013 +0000

base-passwd: Fix case where ${B} != ${S}

Need to reference build objects from ${B}.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-core/base-passwd/base-passwd_3.5.26.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 dd310af..febddcf 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
@@ -17,7 +17,7 @@ SSTATEPOSTINSTFUNCS += "base_passwd_sstate_postinst"
 
 do_install () {
 	install -d -m 755 ${D}${sbindir}
-	install -o root -g root -p -m 755 update-passwd ${D}${sbindir}/
+	install -o root -g root -p -m 755 ${B}/update-passwd ${D}${sbindir}/
 	install -d -m 755 ${D}${mandir}/man8 ${D}${mandir}/pl/man8
 	install -p -m 644 ${S}/man/update-passwd.8 ${D}${mandir}/man8/
 	install -p -m 644 ${S}/man/update-passwd.pl.8 \





More information about the Openembedded-commits mailing list