Skip to contentSkip to conversation

fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.

PATCH New Graham Gower 1 participant 1 message Dec 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.

This ensures that the fbset package is non-empty for DISTRO=micro.

---
 recipes/fbset/fbset_2.1.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
recipes/fbset/fbset_2.1.bb +4 -4
index 04ea35f..ad02fa9 100644
@@ -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"
Signature · 1 line
1.7.1