aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dietze <mdietze@gmail.com>2013-03-01 21:38:29 +0100
committerMartin Dietze <mdietze@gmail.com>2013-03-02 17:27:30 +0100
commit8f00c8f743e64207ef20c143c6e9c0f7e1b815ed (patch)
treea6d171571942053fae45949e25509b77d70d0aa7
parentd90b9af45853722f0d088d8b72c39603ec10ff56 (diff)
downloadopenembedded-8f00c8f743e64207ef20c143c6e9c0f7e1b815ed.zip
openembedded-8f00c8f743e64207ef20c143c6e9c0f7e1b815ed.tar.gz
openembedded-8f00c8f743e64207ef20c143c6e9c0f7e1b815ed.tar.bz2
hostap-conf: removed file hostap_cs.modalias for nylon.
-rw-r--r--recipes/hostap/hostap-conf_1.0.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/hostap/hostap-conf_1.0.bb b/recipes/hostap/hostap-conf_1.0.bb
index e0909dd..0464585 100644
--- a/recipes/hostap/hostap-conf_1.0.bb
+++ b/recipes/hostap/hostap-conf_1.0.bb
@@ -10,6 +10,9 @@ SRC_URI = "file://hostap_cs.conf \
file://hostap_cs.modalias \
file://hostap_cs.conf-upstream"
+SRC_URI_nylon = "file://hostap_cs.conf \
+ file://hostap_cs.conf-upstream"
+
do_compile() {
}
@@ -20,7 +23,9 @@ do_install() {
install -m 0644 ${WORKDIR}/hostap_cs.conf-upstream ${D}${sysconfdir}/pcmcia/hostap_cs.conf
cat ${WORKDIR}/hostap_cs.conf >>${D}${sysconfdir}/pcmcia/hostap_cs.conf
- install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modutils/hostap_cs.conf
+ if [ -r test -r ${WORKDIR}/hostap_cs.modalias ] ; then
+ install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modutils/hostap_cs.conf
+ fi
}
pkg_postinst () {