summaryrefslogtreecommitdiff
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-08 12:40:01 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-08 12:40:01 +0000
commitd3c18ace38eea58a1f12d498535c3bd69fdc515d (patch)
treefa3754d7573949f1e7bd1d10980bcaf38e2e6be0 /meta/classes/image.bbclass
parent2f35f93753a87bdfce113fb7cad4c0127e7822c2 (diff)
downloadopenembedded-core-d3c18ace38eea58a1f12d498535c3bd69fdc515d.tar.gz
openembedded-core-d3c18ace38eea58a1f12d498535c3bd69fdc515d.tar.bz2
openembedded-core-d3c18ace38eea58a1f12d498535c3bd69fdc515d.zip
image.bbclass: Add MACHINE_POSTPRECESS_COMMAND hook
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2391 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index f33108d094..ec08017cd1 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -36,6 +36,7 @@ python () {
IMAGE_DEVICE_TABLE ?= "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-minimal.txt')}"
IMAGE_POSTPROCESS_COMMAND ?= ""
+MACHINE_POSTPROCESS_COMMAND ?= ""
# some default locales
IMAGE_LINGUAS ?= "en-gb"
@@ -81,6 +82,8 @@ fakeroot do_rootfs () {
done
${IMAGE_POSTPROCESS_COMMAND}
+
+ ${MACHINE_POSTPROCESS_COMMAND}
}
log_check() {