aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 () {