diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:50 +0100 |
commit | 250dd223ca6d81aa14557274eafcfccda5bc459d (patch) | |
tree | 91d280ac69e14b1fdf8bff2c3c52cb78c21a0329 | |
parent | cb8f3828f486e9e35613c2f1efe1c2bbc763fdeb (diff) | |
download | poky-250dd223ca6d81aa14557274eafcfccda5bc459d.tar.gz |
lsbinitscripts: 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: 3fce22d81cc27629c7c3fd4c174b68c8ced468cf)
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/lsb/lsbinitscripts_9.03.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb index 8071916782..eac4ebb70f 100644 --- a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb +++ b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "SysV init scripts which only is used in an LSB image" | |||
2 | SECTION = "base" | 2 | SECTION = "base" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | DEPENDS = "popt glib-2.0" | 4 | DEPENDS = "popt glib-2.0" |
5 | PR = "r2" | 5 | PR = "r3" |
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6" |
8 | 8 | ||
@@ -22,6 +22,6 @@ ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions" | |||
22 | do_configure[noexec] = "1" | 22 | do_configure[noexec] = "1" |
23 | 23 | ||
24 | do_install(){ | 24 | do_install(){ |
25 | install -d ${D}/etc/init.d/ | 25 | install -d ${D}${sysconfdir}/init.d/ |
26 | install -m 0755 ${S}/rc.d/init.d/functions ${D}/etc/init.d/functions | 26 | install -m 0755 ${S}/rc.d/init.d/functions ${D}${sysconfdir}/init.d/functions |
27 | } | 27 | } |