[oe-commits] Mark Hatle : shadow: use BPN for alternatives

git at git.openembedded.org git at git.openembedded.org
Wed May 30 11:05:14 UTC 2012


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

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Tue May 22 12:38:09 2012 -0500

shadow: use BPN for alternatives

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>

---

 meta/recipes-extended/shadow/shadow_4.1.4.3.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
index 098b0b0..506f4e6 100644
--- a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
+++ b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
@@ -89,13 +89,13 @@ do_install_append() {
 
 	# Move binaries to the locations we want
 	rm ${D}${sbindir}/vigr
-	ln -sf vipw.${PN} ${D}${base_sbindir}/vigr
+	ln -sf vipw.${BPN} ${D}${base_sbindir}/vigr
 	mv ${D}${sbindir}/vipw ${D}${base_sbindir}/vipw
 	mv ${D}${bindir}/login ${D}${base_bindir}/login
 
 	# Handle link properly after rename, otherwise missing files would
 	# lead rpm failed dependencies.
-	ln -sf newgrp.${PN} ${D}${bindir}/sg
+	ln -sf newgrp.${BPN} ${D}${bindir}/sg
 }
 
 inherit update-alternatives





More information about the Openembedded-commits mailing list