diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 14:37:27 +0100 |
commit | 43a7286ed5f628f04597ce7e4bea0d91bc95b09b (patch) | |
tree | 4578b83babbe14a42eef3f7e19ecf99fe7298fb5 /meta/recipes-graphics | |
parent | 5082056a4671570ca4578da2f622b3cc6f9f2dda (diff) | |
download | openembedded-core-43a7286ed5f628f04597ce7e4bea0d91bc95b09b.tar.gz openembedded-core-43a7286ed5f628f04597ce7e4bea0d91bc95b09b.tar.bz2 openembedded-core-43a7286ed5f628f04597ce7e4bea0d91bc95b09b.zip |
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.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/builder/builder_0.1.bb | 10 |
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 @@ SUMMARY = "New user to do specific job" DESCRIPTION = "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" SECTION = "x11" -PR = "r3" +PR = "r4" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e" @@ -21,10 +21,10 @@ USERADD_PARAM_${PN} = "--system --create-home \ --user-group ${PN}" do_install () { - install -d -m 755 ${D}/etc/mini_x/session.d - install -p -m 755 builder_hob_start.sh ${D}/etc/mini_x/session.d/ + install -d -m 755 ${D}${sysconfdir}/mini_x/session.d + install -p -m 755 builder_hob_start.sh ${D}${sysconfdir}/mini_x/session.d/ - chown ${PN}.${PN} ${D}/etc/mini_x/session.d/builder_hob_start.sh - install -p -m 755 please_wait_dialog.py ${D}/etc/mini_x + chown ${PN}.${PN} ${D}${sysconfdir}/mini_x/session.d/builder_hob_start.sh + install -p -m 755 please_wait_dialog.py ${D}${sysconfdir}/mini_x } |