summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-11-18 11:32:29 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-18 11:32:29 +0000
commitdffaf46c3411406edc8244e91ccd705913090d63 (patch)
tree6db80bdc2b015f257e722193eb39b0f6b9862a1c
parentcce6287a6f4589a6494835b7710fcfa5d7d8bbe8 (diff)
package.bbclass: added support for preinst/prerm actions - patch by Jamie Lenehan
- this close #456
-rw-r--r--classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 90dfec9fa7..db479d5847 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -259,6 +259,8 @@ python populate_packages () {
write_if_exists(f, pkg, 'FILES')
write_if_exists(f, pkg, 'pkg_postinst')
write_if_exists(f, pkg, 'pkg_postrm')
+ write_if_exists(f, pkg, 'pkg_preinst')
+ write_if_exists(f, pkg, 'pkg_prerm')
f.close()
bb.build.exec_func("read_subpackage_metadata", d)
}