diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:47 +0100 |
commit | dbabc444eead094af872ff9d918457882a19cb79 (patch) | |
tree | 16284dad68c4ace395361c88cb3ee006bb182827 /meta | |
parent | 7191f4b98c0bb9a9d42b9b3e6d298293e96f4152 (diff) | |
download | poky-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.bb | 6 |
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 @@ | |||
1 | DESCRIPTION = "automate test for lsb" | 1 | DESCRIPTION = "automate test for lsb" |
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | PR = "r0" | 4 | PR = "r1" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://LSB_Test.sh;beginline=3;endline=16;md5=7063bb54b04719df0716b513447f4fc0" | 6 | LIC_FILES_CHKSUM = "file://LSB_Test.sh;beginline=3;endline=16;md5=7063bb54b04719df0716b513447f4fc0" |
7 | 7 | ||
@@ -14,8 +14,8 @@ RDEPENDS_${PN} = "rpm" | |||
14 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}" |
15 | 15 | ||
16 | do_install() { | 16 | do_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 |