diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-09 18:13:50 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-12 00:31:43 +0000 |
commit | 92a9d59fccdfb6587fbd12f686899a8ace5e1d2f (patch) | |
tree | ee21a7f2eff64edb141297e75cfda174b8e45bf9 /meta/recipes-bsp/orinoco | |
parent | 6f6bffe5df1edf10056f42d2c95ae68b6bb918f9 (diff) | |
download | poky-92a9d59fccdfb6587fbd12f686899a8ace5e1d2f.tar.gz |
recipes: pre/post actions
A number of the recipes did not properly label their pre and post
actions, causing the actions to occur in all split packages. This
was corrected by defaulting to _${PN} in most cases.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-bsp/orinoco')
-rw-r--r-- | meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
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 | } |