diff options
| author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:48 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:49 +0100 |
| commit | 7d17a8ebf14f0d1fe53ea3f387da8ca8f0d3c4e3 (patch) | |
| tree | 27f176f3cde29c714ab6abba7169584f87dea101 /meta/recipes-graphics/x11-common | |
| parent | 4efdf2c82f886cb5ac688ccd94f733ddfdc84b5e (diff) | |
| download | poky-7d17a8ebf14f0d1fe53ea3f387da8ca8f0d3c4e3.tar.gz | |
x11-common: 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: 5082056a4671570ca4578da2f622b3cc6f9f2dda)
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/x11-common')
| -rw-r--r-- | meta/recipes-graphics/x11-common/x11-common_0.1.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-graphics/x11-common/x11-common_0.1.bb b/meta/recipes-graphics/x11-common/x11-common_0.1.bb index ddb3a1dffc..26751458c9 100644 --- a/meta/recipes-graphics/x11-common/x11-common_0.1.bb +++ b/meta/recipes-graphics/x11-common/x11-common_0.1.bb | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and configuration files" | |||
| 2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 4 | SECTION = "x11" | 4 | SECTION = "x11" |
| 5 | PR = "r44" | 5 | PR = "r45" |
| 6 | 6 | ||
| 7 | SRC_URI = "file://etc \ | 7 | SRC_URI = "file://etc \ |
| 8 | file://gplv2-license.patch" | 8 | file://gplv2-license.patch" |
| @@ -12,10 +12,10 @@ S = "${WORKDIR}" | |||
| 12 | inherit allarch | 12 | inherit allarch |
| 13 | 13 | ||
| 14 | do_install() { | 14 | do_install() { |
| 15 | cp -R ${S}/etc ${D}/etc | 15 | cp -R ${S}/etc ${D}${sysconfdir} |
| 16 | chmod -R 755 ${D}/etc | 16 | chmod -R 755 ${D}${sysconfdir} |
| 17 | find ${D}/etc -type d -name .svn -prune -exec rm -rf {} \; | 17 | find ${D}${sysconfdir} -type d -name .svn -prune -exec rm -rf {} \; |
| 18 | find ${D}/etc -type f -name \*~ -exec rm -rf {} \; | 18 | find ${D}${sysconfdir} -type f -name \*~ -exec rm -rf {} \; |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | RDEPENDS_${PN} = "dbus-x11 xmodmap xdpyinfo xtscal xinit formfactor" | 21 | RDEPENDS_${PN} = "dbus-x11 xmodmap xdpyinfo xtscal xinit formfactor" |
