[PATCH v2 21/28] builder: use ${sysconfdir} instead of /etc for packaging

Javier Martinez Canillas
2012-08-05T20:02:06Z

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 cb5f440..5c12c14 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
}

--
1.7.7.6