mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6f6bffe5df
commit
92a9d59fcc
@@ -19,13 +19,13 @@ do_install() {
|
||||
install -m 0644 ${WORKDIR}/hostap_cs.modalias ${D}${sysconfdir}/modutils/hostap_cs.conf
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
pkg_postinst_${PN} () {
|
||||
if [ -n "$D" ]; then
|
||||
exit 1
|
||||
fi
|
||||
update-modules || true
|
||||
}
|
||||
|
||||
pkg_postrm () {
|
||||
pkg_postrm_${PN} () {
|
||||
update-modules || true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user