mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +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
@@ -31,7 +31,7 @@ do_compile_append() {
|
||||
|
||||
FILES_sgml-common_append = " ${datadir}/sgml"
|
||||
|
||||
pkg_postinst() {
|
||||
pkg_postinst_${PN}() {
|
||||
install-catalog \
|
||||
--add ${sysconfdir}/sgml/sgml-ent.cat \
|
||||
${datadir}/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
@@ -41,7 +41,7 @@ pkg_postinst() {
|
||||
${sysconfdir}/sgml/sgml-ent.cat
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
pkg_postrm_${PN}() {
|
||||
install-catalog \
|
||||
--remove ${sysconfdir}/sgml/sgml-ent.cat \
|
||||
${datadir}/sgml/sgml-iso-entities-8879.1986/catalog
|
||||
|
||||
Reference in New Issue
Block a user