From 92a9d59fccdfb6587fbd12f686899a8ace5e1d2f Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 9 Feb 2011 18:13:50 -0600 Subject: 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 --- meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-bsp/orinoco') 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() { install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/ } -pkg_postinst () { +pkg_postinst_${PN} () { if [ -n "$D" ]; then exit 1 fi update-modules || true } -pkg_postrm () { +pkg_postrm_${PN} () { update-modules || true } -- cgit v1.2.3-54-g00ecf