summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:47 +0100
commitdbabc444eead094af872ff9d918457882a19cb79 (patch)
tree16284dad68c4ace395361c88cb3ee006bb182827 /meta
parent7191f4b98c0bb9a9d42b9b3e6d298293e96f4152 (diff)
downloadpoky-dbabc444eead094af872ff9d918457882a19cb79.tar.gz
lsbtest: use ${bindir} instead of /usr/bin for packaging
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 0a8003a3542d17332488ca715619990b222ceb71) 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-extended/lsb/lsbtest_1.0.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/lsb/lsbtest_1.0.bb b/meta/recipes-extended/lsb/lsbtest_1.0.bb
index 11911643b5..5ebea53202 100644
--- a/meta/recipes-extended/lsb/lsbtest_1.0.bb
+++ b/meta/recipes-extended/lsb/lsbtest_1.0.bb
@@ -1,7 +1,7 @@
1DESCRIPTION = "automate test for lsb" 1DESCRIPTION = "automate test for lsb"
2SECTION = "console/utils" 2SECTION = "console/utils"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4PR = "r0" 4PR = "r1"
5 5
6LIC_FILES_CHKSUM = "file://LSB_Test.sh;beginline=3;endline=16;md5=7063bb54b04719df0716b513447f4fc0" 6LIC_FILES_CHKSUM = "file://LSB_Test.sh;beginline=3;endline=16;md5=7063bb54b04719df0716b513447f4fc0"
7 7
@@ -14,8 +14,8 @@ RDEPENDS_${PN} = "rpm"
14S = "${WORKDIR}" 14S = "${WORKDIR}"
15 15
16do_install() { 16do_install() {
17 install -d ${D}/usr/bin 17 install -d ${D}${bindir}
18 install -m 0755 ${S}/LSB_Test.sh ${D}/usr/bin 18 install -m 0755 ${S}/LSB_Test.sh ${D}${bindir}
19 install -d ${D}/opt/lsb-test 19 install -d ${D}/opt/lsb-test
20 install -m 0644 ${S}/packages_list ${D}/opt/lsb-test/packages_list 20 install -m 0644 ${S}/packages_list ${D}/opt/lsb-test/packages_list
21 install -m 0644 ${S}/session ${D}/opt/lsb-test/session 21 install -m 0644 ${S}/session ${D}/opt/lsb-test/session