summaryrefslogtreecommitdiff
path: root/classes/image_ipk.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/image_ipk.oeclass')
-rw-r--r--classes/image_ipk.oeclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/image_ipk.oeclass b/classes/image_ipk.oeclass
index a377ecf02c..6d6a2b22e2 100644
--- a/classes/image_ipk.oeclass
+++ b/classes/image_ipk.oeclass
@@ -16,6 +16,7 @@ def get_image_deps(d):
DEPENDS += "${@get_image_deps(d)}"
IMAGE_DEVICE_TABLE = "${@oe.which(oe.data.getVar('OEPATH', d, 1), 'files/device_table-minimal.txt')}"
+IMAGE_POSTPROCESS_COMMAND ?= ""
# Must call real_do_rootfs() from inside here, rather than as a separate
# task, so that we have a single fakeroot context for the whole process.
@@ -36,7 +37,9 @@ fakeroot do_rootfs () {
if test -z "$FAKEROOTKEY"; then
fakeroot -i ${TMPDIR}/fakedb.image oeimage -t $type -e ${FILE}
else
- oeimage -t $type -e ${FILE}
+ oeimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
fi
done
+
+ ${IMAGE_POSTPROCESS_COMMAND}
}