diff options
Diffstat (limited to 'meta/recipes-bsp/hostap/hostap-conf_1.0.bb')
-rw-r--r-- | meta/recipes-bsp/hostap/hostap-conf_1.0.bb | 17 |
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 | |||
2 | SECTION = "kernel/modules" | 2 | SECTION = "kernel/modules" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" |
5 | RDEPENDS_${PN} = "update-modules" | 5 | PR = "r15" |
6 | PR = "r14" | ||
7 | 6 | ||
8 | SRC_URI = "file://hostap_cs.modalias \ | 7 | SRC_URI = "file://hostap_cs.modalias \ |
9 | file://COPYING.patch" | 8 | file://COPYING.patch" |
@@ -14,18 +13,8 @@ do_compile() { | |||
14 | } | 13 | } |
15 | 14 | ||
16 | do_install() { | 15 | do_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 | ||
22 | pkg_postinst_${PN} () { | ||
23 | if [ -n "$D" ]; then | ||
24 | exit 1 | ||
25 | fi | ||
26 | update-modules || true | ||
27 | } | ||
28 | |||
29 | pkg_postrm_${PN} () { | ||
30 | update-modules || true | ||
31 | } | ||