aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-sysinfo/opie-sysinfo.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-05 00:04:15 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-12 13:03:58 +0100
commit6e623cf1d0976f933d03d0efb79546f43253660f (patch)
treea8e0f0ea3527814da3cda97c73b27744fd2fa424 /recipes-opie/opie-sysinfo/opie-sysinfo.inc
parent89e20c959763a32aad5ed50a12d290378ddef024 (diff)
downloadmeta-opie-6e623cf1d0976f933d03d0efb79546f43253660f.tar.gz
meta-opie-6e623cf1d0976f933d03d0efb79546f43253660f.tar.bz2
meta-opie-6e623cf1d0976f933d03d0efb79546f43253660f.zip
opie-sysinfo: split out machine-specific images
This saves ~600k of space on the target by only installing the image appropriate for the machine. If there is no specific image then the opie-sysinfo-images package will be empty and not produced, which is OK since opie-sysinfo only RRECOMMENDS it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie/opie-sysinfo/opie-sysinfo.inc')
-rw-r--r--recipes-opie/opie-sysinfo/opie-sysinfo.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-opie/opie-sysinfo/opie-sysinfo.inc b/recipes-opie/opie-sysinfo/opie-sysinfo.inc
index 69eaf53..e8d9a7f 100644
--- a/recipes-opie/opie-sysinfo/opie-sysinfo.inc
+++ b/recipes-opie/opie-sysinfo/opie-sysinfo.inc
@@ -5,13 +5,18 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
APPNAME = "sysinfo"
+RRECOMMENDS_${PN} += "opie-sysinfo-images"
+
S = "${WORKDIR}/${APPNAME}"
inherit opie
do_install() {
install -d ${D}${palmtopdir}/pics/${APPNAME}/
- install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/SystemInfo.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*icon.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/pattern.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/pda.png ${D}${palmtopdir}/pics/${APPNAME}/
install -d ${D}${palmtopdir}/share/sysinfo/
install -m 0644 ${WORKDIR}/share/sysinfo/results ${D}${palmtopdir}/share/sysinfo/results
}