summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/builder
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:49 +0100
commit8972009a502f468eb990b140eb2a863b20613ab3 (patch)
treed6294769286edf17d3ce07520957ed4798731463 /meta/recipes-graphics/builder
parent7d17a8ebf14f0d1fe53ea3f387da8ca8f0d3c4e3 (diff)
downloadpoky-8972009a502f468eb990b140eb2a863b20613ab3.tar.gz
builder: 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: 43a7286ed5f628f04597ce7e4bea0d91bc95b09b) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/builder')
-rw-r--r--meta/recipes-graphics/builder/builder_0.1.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
index cb5f440c85..5c12c14873 100644
--- a/meta/recipes-graphics/builder/builder_0.1.bb
+++ b/meta/recipes-graphics/builder/builder_0.1.bb
@@ -1,7 +1,7 @@
1SUMMARY = "New user to do specific job" 1SUMMARY = "New user to do specific job"
2DESCRIPTION = "This recipe create a new user named ${PN}, who is used for specific jobs like building. The task can be auto started via mini X" 2DESCRIPTION = "This recipe create a new user named ${PN}, who is used for specific jobs like building. The task can be auto started via mini X"
3SECTION = "x11" 3SECTION = "x11"
4PR = "r3" 4PR = "r4"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e" 6LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
7 7
@@ -21,10 +21,10 @@ USERADD_PARAM_${PN} = "--system --create-home \
21 --user-group ${PN}" 21 --user-group ${PN}"
22 22
23do_install () { 23do_install () {
24 install -d -m 755 ${D}/etc/mini_x/session.d 24 install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
25 install -p -m 755 builder_hob_start.sh ${D}/etc/mini_x/session.d/ 25 install -p -m 755 builder_hob_start.sh ${D}${sysconfdir}/mini_x/session.d/
26 26
27 chown ${PN}.${PN} ${D}/etc/mini_x/session.d/builder_hob_start.sh 27 chown ${PN}.${PN} ${D}${sysconfdir}/mini_x/session.d/builder_hob_start.sh
28 install -p -m 755 please_wait_dialog.py ${D}/etc/mini_x 28 install -p -m 755 please_wait_dialog.py ${D}${sysconfdir}/mini_x
29} 29}
30 30