diff options
Diffstat (limited to 'meta/packages/orinoco/orinoco-conf_1.0.bb')
-rw-r--r-- | meta/packages/orinoco/orinoco-conf_1.0.bb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/packages/orinoco/orinoco-conf_1.0.bb b/meta/packages/orinoco/orinoco-conf_1.0.bb index 97b860f2cf..a734522979 100644 --- a/meta/packages/orinoco/orinoco-conf_1.0.bb +++ b/meta/packages/orinoco/orinoco-conf_1.0.bb | |||
@@ -2,8 +2,9 @@ DESCRIPTION = "PCMCIA-cs configuration files for Hermes (Orinoco) wireless LAN c | |||
2 | SECTION = "kernel/modules" | 2 | SECTION = "kernel/modules" |
3 | PRIORITY = "optional" | 3 | PRIORITY = "optional" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | RDEPENDS = "update-modules" | ||
5 | PACKAGE_ARCH = "all" | 6 | PACKAGE_ARCH = "all" |
6 | PR = "r2" | 7 | PR = "r3" |
7 | 8 | ||
8 | SRC_URI = "file://spectrum.conf \ | 9 | SRC_URI = "file://spectrum.conf \ |
9 | file://hermes.conf \ | 10 | file://hermes.conf \ |
@@ -16,3 +17,14 @@ do_install() { | |||
16 | install -m 0644 ${WORKDIR}/hermes.conf ${D}${sysconfdir}/pcmcia/ | 17 | install -m 0644 ${WORKDIR}/hermes.conf ${D}${sysconfdir}/pcmcia/ |
17 | install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ | 18 | install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ |
18 | } | 19 | } |
20 | |||
21 | pkg_postinst () { | ||
22 | if [ -n "$D" ]; then | ||
23 | exit 1 | ||
24 | fi | ||
25 | update-modules || true | ||
26 | } | ||
27 | |||
28 | pkg_postrm () { | ||
29 | update-modules || true | ||
30 | } | ||