diff options
author | Christopher Larson <chris_larson@mentor.com> | 2018-07-27 22:24:29 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-16 09:49:39 +0100 |
commit | aa9d8e73bb4d30cad41899763d0fa5c6dc9dcedc (patch) | |
tree | 3f961f01466d570de0940998d2f74d9abaf36233 /meta | |
parent | bb3a1321cdffa767c83ee33b83ec4b8524e289c2 (diff) | |
download | poky-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.bbclass | 2 |
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 | |||
14 | IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}" | 14 | IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}" |
15 | IMGCLASSES += "image_types_wic" | 15 | IMGCLASSES += "image_types_wic" |
16 | IMGCLASSES += "rootfs-postcommands" | 16 | IMGCLASSES += "rootfs-postcommands" |
17 | IMGCLASSES += "image-postinst-intercepts" | ||
17 | inherit ${IMGCLASSES} | 18 | inherit ${IMGCLASSES} |
18 | 19 | ||
19 | TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" | 20 | TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" |
@@ -246,6 +247,7 @@ fakeroot python do_rootfs () { | |||
246 | do_rootfs[dirs] = "${TOPDIR}" | 247 | do_rootfs[dirs] = "${TOPDIR}" |
247 | do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}" | 248 | do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}" |
248 | do_rootfs[umask] = "022" | 249 | do_rootfs[umask] = "022" |
250 | do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}" | ||
249 | addtask rootfs after do_prepare_recipe_sysroot | 251 | addtask rootfs after do_prepare_recipe_sysroot |
250 | 252 | ||
251 | fakeroot python do_image () { | 253 | fakeroot python do_image () { |