summaryrefslogtreecommitdiffstats
path: root/recipes-core/images/dm-verity-image-initramfs.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/images/dm-verity-image-initramfs.bb')
-rw-r--r--recipes-core/images/dm-verity-image-initramfs.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-core/images/dm-verity-image-initramfs.bb b/recipes-core/images/dm-verity-image-initramfs.bb
index e791c19..6a1058d 100644
--- a/recipes-core/images/dm-verity-image-initramfs.bb
+++ b/recipes-core/images/dm-verity-image-initramfs.bb
@@ -4,7 +4,8 @@ DESCRIPTION = "Simple initramfs image for mounting the rootfs over the verity de
4IMAGE_FEATURES = "" 4IMAGE_FEATURES = ""
5 5
6PACKAGE_INSTALL = " \ 6PACKAGE_INSTALL = " \
7 initramfs-dm-verity \ 7 initramfs-module-dmverity \
8 initramfs-module-udev \
8 base-files \ 9 base-files \
9 busybox \ 10 busybox \
10 util-linux-mount \ 11 util-linux-mount \
@@ -24,6 +25,6 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
24inherit core-image 25inherit core-image
25 26
26deploy_verity_hash() { 27deploy_verity_hash() {
27 install -D -m 0644 ${STAGING_VERITY_DIR}/${DM_VERITY_IMAGE}.${DM_VERITY_IMAGE_TYPE}.verity.env ${IMAGE_ROOTFS}${datadir}/dm-verity.env 28 install -D -m 0644 ${STAGING_VERITY_DIR}/${DM_VERITY_IMAGE}.${DM_VERITY_IMAGE_TYPE}.verity.env ${IMAGE_ROOTFS}${datadir}/misc/dm-verity.env
28} 29}
29IMAGE_PREPROCESS_COMMAND += "deploy_verity_hash;" 30IMAGE_PREPROCESS_COMMAND += "deploy_verity_hash;"