]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: inherit and use image-postinst-intercepts
authorChristopher Larson <chris_larson@mentor.com>
Fri, 27 Jul 2018 17:24:29 +0000 (22:24 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Aug 2018 08:49:32 +0000 (09:49 +0100)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 5ae0910aa66d98413f3c663274415f158dc64cd9..34fdbb0850784ce86376d7e9e4b7ca71b89113b1 100644 (file)
@@ -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 () {