summaryrefslogtreecommitdiffstats
path: root/meta
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:39 +0100
commitaa9d8e73bb4d30cad41899763d0fa5c6dc9dcedc (patch)
tree3f961f01466d570de0940998d2f74d9abaf36233 /meta
parentbb3a1321cdffa767c83ee33b83ec4b8524e289c2 (diff)
downloadpoky-aa9d8e73bb4d30cad41899763d0fa5c6dc9dcedc.tar.gz
image.bbclass: inherit and use image-postinst-intercepts
(From OE-Core rev: 73cccdb6942404961415e5939263686719b24061) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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
14IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}" 14IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}"
15IMGCLASSES += "image_types_wic" 15IMGCLASSES += "image_types_wic"
16IMGCLASSES += "rootfs-postcommands" 16IMGCLASSES += "rootfs-postcommands"
17IMGCLASSES += "image-postinst-intercepts"
17inherit ${IMGCLASSES} 18inherit ${IMGCLASSES}
18 19
19TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" 20TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}"
@@ -246,6 +247,7 @@ fakeroot python do_rootfs () {
246do_rootfs[dirs] = "${TOPDIR}" 247do_rootfs[dirs] = "${TOPDIR}"
247do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}" 248do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}"
248do_rootfs[umask] = "022" 249do_rootfs[umask] = "022"
250do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}"
249addtask rootfs after do_prepare_recipe_sysroot 251addtask rootfs after do_prepare_recipe_sysroot
250 252
251fakeroot python do_image () { 253fakeroot python do_image () {