From 8c7accebabbf187ee7a273ce49c38ce46004ebde Mon Sep 17 00:00:00 2001 From: Lans Zhang Date: Mon, 3 Jul 2017 09:16:40 +0800 Subject: [PATCH] secure-core-image: clean up the code style Signed-off-by: Lans Zhang --- meta/recipes-core/images/secure-core-image.bb | 13 ++++++++++--- 1 file 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 @@ SUMMARY = "The root image of SecureCore." +LICENSE = "MIT" SECURE_CORE_IMAGE_EXTRA_INSTALL_append += "\ ${@bb.utils.contains("DISTRO_FEATURES", "efi-secure-boot", \ @@ -13,13 +14,19 @@ SECURE_CORE_IMAGE_EXTRA_INSTALL_append += "\ "packagegroup-encrypted-storage", "", d)} \ " -IMAGE_INSTALL = "packagegroup-core-boot ${SECURE_CORE_IMAGE_EXTRA_INSTALL}" +IMAGE_INSTALL = "\ + packagegroup-core-boot \ + kernel-initramfs \ + ${SECURE_CORE_IMAGE_EXTRA_INSTALL} \ +" IMAGE_LINGUAS = " " -LICENSE = "MIT" +INITRAMFS_IMAGE = "secure-core-image-initramfs" inherit core-image IMAGE_ROOTFS_SIZE ?= "8192" -IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}" +IMAGE_ROOTFS_EXTRA_SPACE_append = "\ + ${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)} \ +"