diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:48 +0100 |
commit | 0334d47ae5301502267ae3f75b5ff2d5a3a414e6 (patch) | |
tree | 0b655720d4dae8d9d221d8d67f926e8d07bd1353 /meta | |
parent | 84728a1e8f7dbccc36e883dd5bed72f21f727d8e (diff) | |
download | poky-0334d47ae5301502267ae3f75b5ff2d5a3a414e6.tar.gz |
ubootchart: use variables instead of hardcoded paths
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
(From OE-Core rev: 73ee5587a46751ed39a181b3ff2a12d4a3086c21)
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/ubootchart/ubootchart_svn.bb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/ubootchart/ubootchart_svn.bb b/meta/recipes-devtools/ubootchart/ubootchart_svn.bb index b49e94a7f1..843024cfb0 100644 --- a/meta/recipes-devtools/ubootchart/ubootchart_svn.bb +++ b/meta/recipes-devtools/ubootchart/ubootchart_svn.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "GPLv3" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" |
5 | SRCREV = "12" | 5 | SRCREV = "12" |
6 | PV = "0.0+r${SRCPV}" | 6 | PV = "0.0+r${SRCPV}" |
7 | PR = "r5" | 7 | PR = "r6" |
8 | 8 | ||
9 | #RRECOMMENDS_${PN} = "acct" | 9 | #RRECOMMENDS_${PN} = "acct" |
10 | 10 | ||
@@ -27,13 +27,13 @@ do_compile() { | |||
27 | } | 27 | } |
28 | 28 | ||
29 | do_install() { | 29 | do_install() { |
30 | install -m 0755 -d ${D}/sbin ${D}/etc/ubootchart ${D}/usr/share/applications | 30 | install -m 0755 -d ${D}${base_sbindir} ${D}${sysconfdir}/ubootchart ${D}${datadir}/applications |
31 | install -m 0755 ${S}/ubootchartd_bin ${D}/sbin | 31 | install -m 0755 ${S}/ubootchartd_bin ${D}${base_sbindir} |
32 | install -m 0755 ${S}/ubootchartd ${D}/sbin | 32 | install -m 0755 ${S}/ubootchartd ${D}${base_sbindir} |
33 | install -m 0644 ${S}/ubootchart.conf ${D}/etc/ubootchart | 33 | install -m 0644 ${S}/ubootchart.conf ${D}${sysconfdir}/ubootchart |
34 | install -m 0755 ${S}/start.sh ${D}/etc/ubootchart | 34 | install -m 0755 ${S}/start.sh ${D}${sysconfdir}/ubootchart |
35 | install -m 0755 ${S}/finish.sh ${D}/etc/ubootchart | 35 | install -m 0755 ${S}/finish.sh ${D}${sysconfdir}/ubootchart |
36 | 36 | ||
37 | install -m 0755 ${WORKDIR}/ubootchart-stop ${D}/sbin | 37 | install -m 0755 ${WORKDIR}/ubootchart-stop ${D}${base_sbindir} |
38 | install -m 0644 ${WORKDIR}/ubootchart.desktop ${D}/usr/share/applications | 38 | install -m 0644 ${WORKDIR}/ubootchart.desktop ${D}${datadir}/applications |
39 | } | 39 | } |