summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-25 16:27:51 +0800
committerSaul Wold <sgw@linux.intel.com>2011-08-26 12:34:02 -0700
commitec62502988f0d79a69013513f2246980e0d8c01c (patch)
tree0ff699075ff1a8f76645ae8f68ad8ba72e6921fe /meta/recipes-core/base-passwd
parent612ab0aaf3e693b90bb18234e2517bfc87ee3f7c (diff)
downloadopenembedded-core-contrib-ec62502988f0d79a69013513f2246980e0d8c01c.tar.gz
openembedded-core-contrib-ec62502988f0d79a69013513f2246980e0d8c01c.tar.bz2
openembedded-core-contrib-ec62502988f0d79a69013513f2246980e0d8c01c.zip
base-passwd: Use BPN in FILES paths
Use BPN instead of PN in FILES paths. This fixes the login issue by /etc/passwd missing in multilib images. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-core/base-passwd')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.22.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
index a155b4102d..137512dc3c 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
@@ -30,11 +30,11 @@ do_install () {
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 -d -m 755 ${D}${docdir}/${PN}
- install -p -m 644 debian/changelog ${D}${docdir}/${PN}/
- gzip -9 ${D}${docdir}/${PN}/*
- install -p -m 644 README ${D}${docdir}/${PN}/
- install -p -m 644 debian/copyright ${D}${docdir}/${PN}/
+ install -d -m 755 ${D}${docdir}/${BPN}
+ install -p -m 644 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}/
}
pkg_postinst_${PN} () {