From fb7ea95fc367728f4fcfb0da4f5779e3d19df1bc Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Thu, 17 Jan 2013 16:58:45 +0200 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-bsp/hostap/hostap-conf_1.0.bb | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'meta/recipes-bsp/hostap/hostap-conf_1.0.bb') 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 SECTION = "kernel/modules" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" -RDEPENDS_${PN} = "update-modules" -PR = "r14" +PR = "r15" SRC_URI = "file://hostap_cs.modalias \ file://COPYING.patch" @@ -14,18 +13,8 @@ do_compile() { } do_install() { - install -d ${D}${sysconfdir}/modutils + install -d ${D}${sysconfdir}/modprobe.d - install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modutils/hostap_cs.conf + install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modprobe.d/hostap_cs.conf } -pkg_postinst_${PN} () { - if [ -n "$D" ]; then - exit 1 - fi - update-modules || true -} - -pkg_postrm_${PN} () { - update-modules || true -} -- cgit v1.2.3-54-g00ecf