[oe] [PATCH] fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.
Graham Gower
graham.gower at gmail.com
Thu Dec 2 00:56:26 UTC 2010
This ensures that the fbset package is non-empty for DISTRO=micro.
Signed-off-by: Graham Gower <graham.gower at gmail.com>
---
recipes/fbset/fbset_2.1.bb | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes/fbset/fbset_2.1.bb b/recipes/fbset/fbset_2.1.bb
index 04ea35f..ad02fa9 100644
--- a/recipes/fbset/fbset_2.1.bb
+++ b/recipes/fbset/fbset_2.1.bb
@@ -20,10 +20,10 @@ inherit autotools update-alternatives
PARALLEL_MAKE = ""
do_install() {
- install -d ${D}/usr/sbin ${D}/usr/share/man/man8 ${D}/usr/share/man/man5
- install -m 0755 ${WORKDIR}/${P}/fbset ${D}/usr/sbin/fbset.real
- install -m 0644 ${WORKDIR}/${P}/*.5 ${D}/usr/share/man/man5
- install -m 0644 ${WORKDIR}/${P}/*.8 ${D}/usr/share/man/man8
+ install -d ${D}${sbindir} ${D}${datadir}/man/man8 ${D}${datadir}/man/man5
+ install -m 0755 ${WORKDIR}/${P}/fbset ${D}${sbindir}/fbset.real
+ install -m 0644 ${WORKDIR}/${P}/*.5 ${D}${datadir}/man/man5
+ install -m 0644 ${WORKDIR}/${P}/*.8 ${D}${datadir}/man/man8
}
ALTERNATIVE_NAME = "fbset"
--
1.7.1
More information about the Openembedded-devel
mailing list