[oe-commits] Martin Jansa : mplayer-common: fix FILES
git version control
git at git.openembedded.org
Mon Feb 1 23:13:59 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: 700ab5ea01d7bc15d6704640a14006e5663dc3c0
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=700ab5ea01d7bc15d6704640a14006e5663dc3c0
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Mon Feb 1 19:51:27 2010 +0100
mplayer-common: fix FILES
* ${sysconfdir} starts with /, so now we had /usr//etc/mplayer in
install call and FILES, but it doesn't work in FILES variable
* /usr${sysconfdir} works but it's ugly, feel free to revert to original
version with /usr/etc/mplayer
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/mplayer/mplayer-common.bb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes/mplayer/mplayer-common.bb b/recipes/mplayer/mplayer-common.bb
index 99bc54d..d1ea923 100644
--- a/recipes/mplayer/mplayer-common.bb
+++ b/recipes/mplayer/mplayer-common.bb
@@ -10,11 +10,11 @@ SRC_URI = "file://mplayer.conf"
# Yes, really /usr/etc!!!
do_install() {
- install -d "${D}/usr/${sysconfdir}/mplayer"
+ install -d "${D}/usr${sysconfdir}/mplayer"
- install -m 0644 ${WORKDIR}/mplayer.conf "${D}/usr/${sysconfdir}/mplayer"
+ install -m 0644 ${WORKDIR}/mplayer.conf "${D}/usr${sysconfdir}/mplayer"
}
-FILES_${PN} = "/usr/${sysconfdir}/mplayer"
+FILES_${PN} = "/usr${sysconfdir}/mplayer"
PACKAGE_ARCH = "all"
More information about the Openembedded-commits
mailing list