diff options
| author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-10-04 14:42:42 +0200 |
|---|---|---|
| committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-10-04 14:42:42 +0200 |
| commit | 7bd3693b986e0a6e59016767ea6f075ba01ab68c (patch) | |
| tree | 8cf3fc3f8a6a546ca1f734cd56e3d4e8fca58faf /classes | |
| parent | 844ddcf4496edfdb9b682f712ab1ae1cd16f1f97 (diff) | |
| download | meta-updater-7bd3693b986e0a6e59016767ea6f075ba01ab68c.tar.gz | |
Tuned initrd image and pseudo environment to fix bugs with extended
security attributes.
Bug-AGL: SPEC-259
Change-Id: I44499ce3f5f1924aecf63689a93d1f20e779225e
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/image_types_ostree.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index a180721..4353af7 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
| @@ -4,7 +4,7 @@ inherit image | |||
| 4 | 4 | ||
| 5 | IMAGE_DEPENDS_ostree = "ostree-native:do_populate_sysroot \ | 5 | IMAGE_DEPENDS_ostree = "ostree-native:do_populate_sysroot \ |
| 6 | virtual/kernel:do_deploy \ | 6 | virtual/kernel:do_deploy \ |
| 7 | ${OSTREE_INITRAMFS_IMAGE}:do_image_cpio" | 7 | ${OSTREE_INITRAMFS_IMAGE}:do_image_ext4" |
| 8 | 8 | ||
| 9 | export OSTREE_REPO | 9 | export OSTREE_REPO |
| 10 | export OSTREE_BRANCHNAME | 10 | export OSTREE_BRANCHNAME |
| @@ -93,7 +93,7 @@ IMAGE_CMD_ostree () { | |||
| 93 | checksum=`sha256sum ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} | cut -f 1 -d " "` | 93 | checksum=`sha256sum ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} | cut -f 1 -d " "` |
| 94 | 94 | ||
| 95 | cp ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} boot/vmlinuz-${checksum} | 95 | cp ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} boot/vmlinuz-${checksum} |
| 96 | cp ${DEPLOY_DIR_IMAGE}/${OSTREE_INITRAMFS_IMAGE}-${MACHINE}.cpio.gz boot/initramfs-${checksum} | 96 | cp ${DEPLOY_DIR_IMAGE}/${OSTREE_INITRAMFS_IMAGE}-${MACHINE}.ext4.gz boot/initramfs-${checksum} |
| 97 | 97 | ||
| 98 | cd ${WORKDIR} | 98 | cd ${WORKDIR} |
| 99 | 99 | ||
