]> code.ossystems Code Review - openembedded-core.git/commitdiff
base-passwd: Fix case where ${B} != ${S}
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Mar 2013 22:45:02 +0000 (22:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Mar 2013 16:20:45 +0000 (16:20 +0000)
Need to reference build objects from ${B}.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/base-passwd/base-passwd_3.5.26.bb

index dd310af1986d28b4db7563c489aefab53d69e5ff..febddcfac2cc92bf0c039c956d2bf3db69493c56 100644 (file)
@@ -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 \