summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLans Zhang <jia.zhang@windriver.com>2017-07-03 09:16:40 +0800
committerLans Zhang <jia.zhang@windriver.com>2017-07-03 09:16:40 +0800
commit8c7accebabbf187ee7a273ce49c38ce46004ebde (patch)
treefc4eb496c346ec56258fb3fc643452196e213693
parent5233d3cf5e4cfe77a2e918c9c5db9b739269e690 (diff)
downloadmeta-secure-core-8c7accebabbf187ee7a273ce49c38ce46004ebde.tar.gz
secure-core-image: clean up the code style
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r--meta/recipes-core/images/secure-core-image.bb13
1 files changed, 10 insertions, 3 deletions
diff --git a/meta/recipes-core/images/secure-core-image.bb b/meta/recipes-core/images/secure-core-image.bb
index 1f3dec6..e08b84a 100644
--- a/meta/recipes-core/images/secure-core-image.bb
+++ b/meta/recipes-core/images/secure-core-image.bb
@@ -1,4 +1,5 @@
1SUMMARY = "The root image of SecureCore." 1SUMMARY = "The root image of SecureCore."
2LICENSE = "MIT"
2 3
3SECURE_CORE_IMAGE_EXTRA_INSTALL_append += "\ 4SECURE_CORE_IMAGE_EXTRA_INSTALL_append += "\
4 ${@bb.utils.contains("DISTRO_FEATURES", "efi-secure-boot", \ 5 ${@bb.utils.contains("DISTRO_FEATURES", "efi-secure-boot", \
@@ -13,13 +14,19 @@ SECURE_CORE_IMAGE_EXTRA_INSTALL_append += "\
13 "packagegroup-encrypted-storage", "", d)} \ 14 "packagegroup-encrypted-storage", "", d)} \
14" 15"
15 16
16IMAGE_INSTALL = "packagegroup-core-boot ${SECURE_CORE_IMAGE_EXTRA_INSTALL}" 17IMAGE_INSTALL = "\
18 packagegroup-core-boot \
19 kernel-initramfs \
20 ${SECURE_CORE_IMAGE_EXTRA_INSTALL} \
21"
17 22
18IMAGE_LINGUAS = " " 23IMAGE_LINGUAS = " "
19 24
20LICENSE = "MIT" 25INITRAMFS_IMAGE = "secure-core-image-initramfs"
21 26
22inherit core-image 27inherit core-image
23 28
24IMAGE_ROOTFS_SIZE ?= "8192" 29IMAGE_ROOTFS_SIZE ?= "8192"
25IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}" 30IMAGE_ROOTFS_EXTRA_SPACE_append = "\
31 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)} \
32"