summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/hostap/hostap-conf_1.0.bb
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-01-17 16:58:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-18 13:28:07 +0000
commitfb7ea95fc367728f4fcfb0da4f5779e3d19df1bc (patch)
tree1806068f4a6884c4c1185108c9c0d528d3aa01f0 /meta/recipes-bsp/hostap/hostap-conf_1.0.bb
parent950704e392b7888aa6a49fd4273c2eca8b9b6c1e (diff)
downloadpoky-fb7ea95fc367728f4fcfb0da4f5779e3d19df1bc.tar.gz
hostap-conf: remove dependencies of update-modules
Also: * install the alias file in the correct /etc/modprobe.d directory since this is the directory used by modprobe now; * rewrite the alias file to be up-to-date with modprobe's syntax; * remove the postinst/postrm scriptlets because this is just an alias file; [YOCTO #3598] (From OE-Core rev: 427010fd289534d4b4af0bfd74419a4ad0eb5a39) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/hostap/hostap-conf_1.0.bb')
-rw-r--r--meta/recipes-bsp/hostap/hostap-conf_1.0.bb17
1 files changed, 3 insertions, 14 deletions
diff --git a/meta/recipes-bsp/hostap/hostap-conf_1.0.bb b/meta/recipes-bsp/hostap/hostap-conf_1.0.bb
index f8b2102328..466c073cc1 100644
--- a/meta/recipes-bsp/hostap/hostap-conf_1.0.bb
+++ b/meta/recipes-bsp/hostap/hostap-conf_1.0.bb
@@ -2,8 +2,7 @@ DESCRIPTION = "PCMCIA-cs configuration files for wireless LAN cards based on Int
2SECTION = "kernel/modules" 2SECTION = "kernel/modules"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" 4LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
5RDEPENDS_${PN} = "update-modules" 5PR = "r15"
6PR = "r14"
7 6
8SRC_URI = "file://hostap_cs.modalias \ 7SRC_URI = "file://hostap_cs.modalias \
9 file://COPYING.patch" 8 file://COPYING.patch"
@@ -14,18 +13,8 @@ do_compile() {
14} 13}
15 14
16do_install() { 15do_install() {
17 install -d ${D}${sysconfdir}/modutils 16 install -d ${D}${sysconfdir}/modprobe.d
18 17
19 install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modutils/hostap_cs.conf 18 install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modprobe.d/hostap_cs.conf
20} 19}
21 20
22pkg_postinst_${PN} () {
23 if [ -n "$D" ]; then
24 exit 1
25 fi
26 update-modules || true
27}
28
29pkg_postrm_${PN} () {
30 update-modules || true
31}