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 14:39:16 +0100 |
commit | 3fce22d81cc27629c7c3fd4c174b68c8ced468cf (patch) | |
tree | e030b3501779415aa8c444ae0e1119f4cbce86a0 /meta | |
parent | bc45d990938c1b1d761cee6e90464d22f854a2ab (diff) | |
download | openembedded-core-3fce22d81cc27629c7c3fd4c174b68c8ced468cf.tar.gz openembedded-core-3fce22d81cc27629c7c3fd4c174b68c8ced468cf.tar.bz2 openembedded-core-3fce22d81cc27629c7c3fd4c174b68c8ced468cf.zip |
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.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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" SECTION = "base" LICENSE = "GPLv2" DEPENDS = "popt glib-2.0" -PR = "r2" +PR = "r3" LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6" @@ -22,6 +22,6 @@ ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions" do_configure[noexec] = "1" do_install(){ - install -d ${D}/etc/init.d/ - install -m 0755 ${S}/rc.d/init.d/functions ${D}/etc/init.d/functions + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${S}/rc.d/init.d/functions ${D}${sysconfdir}/init.d/functions } |