aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2018-07-27 22:24:29 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-16 09:49:32 +0100
commit73cccdb6942404961415e5939263686719b24061 (patch)
tree3b76ccea391910159ba23bcf151b82187bce9781 /meta/classes/image.bbclass
parent7a2044df4ae8d80cf25a6bfd9b71978ffefbfa33 (diff)
downloadopenembedded-core-contrib-73cccdb6942404961415e5939263686719b24061.tar.gz
openembedded-core-contrib-73cccdb6942404961415e5939263686719b24061.tar.bz2
openembedded-core-contrib-73cccdb6942404961415e5939263686719b24061.zip
image.bbclass: inherit and use image-postinst-intercepts
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 5ae0910aa6..34fdbb0850 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -14,6 +14,7 @@ IMGCLASSES += "${@bb.utils.contains_any('IMAGE_FSTYPES', 'live iso hddimg', 'ima
IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}"
IMGCLASSES += "image_types_wic"
IMGCLASSES += "rootfs-postcommands"
+IMGCLASSES += "image-postinst-intercepts"
inherit ${IMGCLASSES}
TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}"
@@ -246,6 +247,7 @@ fakeroot python do_rootfs () {
do_rootfs[dirs] = "${TOPDIR}"
do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}"
do_rootfs[umask] = "022"
+do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}"
addtask rootfs after do_prepare_recipe_sysroot
fakeroot python do_image () {