summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb
blob: 98d3aed2ca7f7eb8ccca7705edeefedbb5307e83 (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
28
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_${PN} = "update-modules"
PR = "r7"

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

inherit allarch

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

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

pkg_postrm_${PN} () {
	update-modules || true
}