diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:50 +0100 |
commit | b167ee0156b7e18fe741bfd4e383992710c20bc8 (patch) | |
tree | 5558d8808d1978c0262089afc17f44e835e154fc | |
parent | 8353aa1ad974b6ca2f5840af4b0b5a36728db7db (diff) | |
download | poky-b167ee0156b7e18fe741bfd4e383992710c20bc8.tar.gz |
qemu-config: use ${sysconfdir} instead of /etc for packaging
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
(From OE-Core rev: 998b94adbbc0f0f036c5816fbf6ee594dba90c1c)
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-bsp/qemu-config/qemu-config.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-bsp/qemu-config/qemu-config.bb b/meta/recipes-bsp/qemu-config/qemu-config.bb index 56ee465857..8305f3a965 100644 --- a/meta/recipes-bsp/qemu-config/qemu-config.bb +++ b/meta/recipes-bsp/qemu-config/qemu-config.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa | |||
5 | 5 | ||
6 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemumips|qemuppc)" | 6 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemumips|qemuppc)" |
7 | 7 | ||
8 | PR = "r24" | 8 | PR = "r25" |
9 | 9 | ||
10 | SRC_URI = "file://distcc.sh \ | 10 | SRC_URI = "file://distcc.sh \ |
11 | file://anjuta-remote-run \ | 11 | file://anjuta-remote-run \ |
@@ -28,8 +28,8 @@ do_install() { | |||
28 | install -d ${D}${datadir}/applications | 28 | install -d ${D}${datadir}/applications |
29 | install -m 0644 shutdown.desktop ${D}${datadir}/applications/ | 29 | install -m 0644 shutdown.desktop ${D}${datadir}/applications/ |
30 | 30 | ||
31 | install -d ${D}/etc/init.d | 31 | install -d ${D}${sysconfdir}/init.d |
32 | install qemu-autostart ${D}/etc/init.d/ | 32 | install qemu-autostart ${D}${sysconfdir}/init.d/ |
33 | } | 33 | } |
34 | 34 | ||
35 | pkg_postinst_${PN} () { | 35 | pkg_postinst_${PN} () { |