diff options
Diffstat (limited to 'recipes-core/images/dm-verity-image-initramfs.bb')
-rw-r--r-- | recipes-core/images/dm-verity-image-initramfs.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-core/images/dm-verity-image-initramfs.bb b/recipes-core/images/dm-verity-image-initramfs.bb index 60e9892..8dd8543 100644 --- a/recipes-core/images/dm-verity-image-initramfs.bb +++ b/recipes-core/images/dm-verity-image-initramfs.bb | |||
@@ -14,10 +14,10 @@ PACKAGE_INSTALL = " \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | # Can we somehow inspect reverse dependencies to avoid these variables? | 16 | # Can we somehow inspect reverse dependencies to avoid these variables? |
17 | do_rootfs[depends] += "${DM_VERITY_IMAGE}:do_image_${DM_VERITY_IMAGE_TYPE}" | 17 | do_image[depends] += "${DM_VERITY_IMAGE}:do_image_${DM_VERITY_IMAGE_TYPE}" |
18 | 18 | ||
19 | # Ensure dm-verity.env is updated also when rebuilding DM_VERITY_IMAGE | 19 | # Ensure dm-verity.env is updated also when rebuilding DM_VERITY_IMAGE |
20 | do_rootfs[nostamp] = "1" | 20 | do_image[nostamp] = "1" |
21 | 21 | ||
22 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" | 22 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" |
23 | 23 | ||
@@ -26,4 +26,4 @@ inherit core-image | |||
26 | deploy_verity_hash() { | 26 | deploy_verity_hash() { |
27 | install -D -m 0644 ${DEPLOY_DIR_IMAGE}/${DM_VERITY_IMAGE}-${MACHINE}.${DM_VERITY_IMAGE_TYPE}.verity.env ${IMAGE_ROOTFS}/${datadir}/dm-verity.env | 27 | install -D -m 0644 ${DEPLOY_DIR_IMAGE}/${DM_VERITY_IMAGE}-${MACHINE}.${DM_VERITY_IMAGE_TYPE}.verity.env ${IMAGE_ROOTFS}/${datadir}/dm-verity.env |
28 | } | 28 | } |
29 | ROOTFS_POSTPROCESS_COMMAND += "deploy_verity_hash;" | 29 | IMAGE_PREPROCESS_COMMAND += "deploy_verity_hash;" |