diff options
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/hostap/hostap-conf_1.0.bb | 4 | ||||
-rw-r--r-- | meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 4 | ||||
-rw-r--r-- | meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-bsp/hostap/hostap-conf_1.0.bb b/meta/recipes-bsp/hostap/hostap-conf_1.0.bb index fa29470485..de72b769a9 100644 --- a/meta/recipes-bsp/hostap/hostap-conf_1.0.bb +++ b/meta/recipes-bsp/hostap/hostap-conf_1.0.bb | |||
@@ -19,13 +19,13 @@ do_install() { | |||
19 | install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modutils/hostap_cs.conf | 19 | install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modutils/hostap_cs.conf |
20 | } | 20 | } |
21 | 21 | ||
22 | pkg_postinst () { | 22 | pkg_postinst_${PN} () { |
23 | if [ -n "$D" ]; then | 23 | if [ -n "$D" ]; then |
24 | exit 1 | 24 | exit 1 |
25 | fi | 25 | fi |
26 | update-modules || true | 26 | update-modules || true |
27 | } | 27 | } |
28 | 28 | ||
29 | pkg_postrm () { | 29 | pkg_postrm_${PN} () { |
30 | update-modules || true | 30 | update-modules || true |
31 | } | 31 | } |
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index 6d08084b19..4cefdb7966 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | |||
@@ -28,13 +28,13 @@ do_install() { | |||
28 | install -m 0755 src/lrz src/lsz ${D}${bindir}/ | 28 | install -m 0755 src/lrz src/lsz ${D}${bindir}/ |
29 | } | 29 | } |
30 | 30 | ||
31 | pkg_postinst() { | 31 | pkg_postinst_${PN}() { |
32 | for util in rz rx rb sz sx sb; do | 32 | for util in rz rx rb sz sx sb; do |
33 | update-alternatives --install ${bindir}/$util $util lrz 100 | 33 | update-alternatives --install ${bindir}/$util $util lrz 100 |
34 | done | 34 | done |
35 | } | 35 | } |
36 | 36 | ||
37 | pkg_postrm() { | 37 | pkg_postrm_${PN}() { |
38 | for util in rz rx rb sz sx sb; do | 38 | for util in rz rx rb sz sx sb; do |
39 | update-alternatives --remove $util ${bindir}/lrz | 39 | update-alternatives --remove $util ${bindir}/lrz |
40 | done | 40 | done |
diff --git a/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb b/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb index a24d004adb..1c25e02dcc 100644 --- a/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb +++ b/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb | |||
@@ -15,13 +15,13 @@ do_install() { | |||
15 | install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ | 15 | install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ |
16 | } | 16 | } |
17 | 17 | ||
18 | pkg_postinst () { | 18 | pkg_postinst_${PN} () { |
19 | if [ -n "$D" ]; then | 19 | if [ -n "$D" ]; then |
20 | exit 1 | 20 | exit 1 |
21 | fi | 21 | fi |
22 | update-modules || true | 22 | update-modules || true |
23 | } | 23 | } |
24 | 24 | ||
25 | pkg_postrm () { | 25 | pkg_postrm_${PN} () { |
26 | update-modules || true | 26 | update-modules || true |
27 | } | 27 | } |