summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb
blob: bc22f6f871b58a2d095da51062dfa94905139272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "PCMCIA-cs configuration files for Hermes (Orinoco) wireless LAN cards"
SECTION = "kernel/modules"
PRIORITY = "optional"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
RDEPENDS = "update-modules"
PACKAGE_ARCH = "all"
PR = "r5"

SRC_URI = "file://orinoco_cs.conf \
           file://COPYING.patch"

do_install() {
        install -d ${D}${sysconfdir}/modutils
        install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/
}

pkg_postinst () {
	if [ -n "$D" ]; then
		exit 1
	fi
	update-modules || true
}

pkg_postrm () {
	update-modules || true
}