diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-28 10:09:02 +0800 |
---|---|---|
committer | Lans Zhang <jia.zhang@windriver.com> | 2017-07-28 10:09:02 +0800 |
commit | f77e53d6278108e53a9fde153cc91b1754a949da (patch) | |
tree | 5b55b34d80828942258738ade9f44af06df9b94e | |
parent | afea92abb3c4d917dad3616e1dcc79c26f4f10e4 (diff) | |
download | meta-secure-core-f77e53d6278108e53a9fde153cc91b1754a949da.tar.gz |
meta-secure-core: code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | meta-efi-secure-boot/recipes-bsp/grub/grub-efi_2.02.bbappend | 2 | ||||
-rw-r--r-- | meta-efi-secure-boot/recipes-devtools/libsign/libsign_git.bb | 8 | ||||
-rw-r--r-- | meta-encrypted-storage/recipes-kernel/linux/linux-yocto-encrypted-storage.inc | 2 | ||||
-rw-r--r-- | meta-integrity/recipes-support/ima-evm-utils/ima-evm-utils_git.bb | 18 | ||||
-rw-r--r-- | meta-integrity/recipes-support/keyutils/keyutils_git.bb (renamed from meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb) | 17 | ||||
-rw-r--r-- | meta-signing-key/classes/user-key-store.bbclass | 2 |
7 files changed, 27 insertions, 24 deletions
@@ -45,7 +45,7 @@ yocto build tree, you can add it to the build system by adding the | |||
45 | location of the meta-secure-core layer to bblayers.conf, along with any | 45 | location of the meta-secure-core layer to bblayers.conf, along with any |
46 | other layers needed. e.g.: | 46 | other layers needed. e.g.: |
47 | 47 | ||
48 | BBLAYERS ?= " \ | 48 | BBLAYERS ?= "\ |
49 | /path/to/yocto/meta \ | 49 | /path/to/yocto/meta \ |
50 | /path/to/yocto/meta-poky \ | 50 | /path/to/yocto/meta-poky \ |
51 | /path/to/yocto/meta-yocto-bsp \ | 51 | /path/to/yocto/meta-yocto-bsp \ |
diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi_2.02.bbappend b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi_2.02.bbappend index 5a56857..da02b5c 100644 --- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi_2.02.bbappend +++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi_2.02.bbappend | |||
@@ -131,7 +131,7 @@ do_deploy_class-target() { | |||
131 | 131 | ||
132 | FILES_${PN} += "/boot/efi" | 132 | FILES_${PN} += "/boot/efi" |
133 | 133 | ||
134 | CONFFILES_${PN} += " \ | 134 | CONFFILES_${PN} += "\ |
135 | ${EFI_BOOT_PATH}/grub.cfg \ | 135 | ${EFI_BOOT_PATH}/grub.cfg \ |
136 | ${EFI_BOOT_PATH}/grubenv \ | 136 | ${EFI_BOOT_PATH}/grubenv \ |
137 | ${EFI_BOOT_PATH}/boot-menu.inc \ | 137 | ${EFI_BOOT_PATH}/boot-menu.inc \ |
diff --git a/meta-efi-secure-boot/recipes-devtools/libsign/libsign_git.bb b/meta-efi-secure-boot/recipes-devtools/libsign/libsign_git.bb index 369d533..72f9d7a 100644 --- a/meta-efi-secure-boot/recipes-devtools/libsign/libsign_git.bb +++ b/meta-efi-secure-boot/recipes-devtools/libsign/libsign_git.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "A generic signing tool framework" | 1 | SUMMARY = "A generic signing tool framework" |
2 | DESCRIPTION = " \ | 2 | DESCRIPTION = "\ |
3 | This project targets to provide a generic signing framework. This framework \ | 3 | This project targets to provide a generic signing framework. This framework \ |
4 | separates the signing request and signing process and correspondingly forms \ | 4 | separates the signing request and signing process and correspondingly forms \ |
5 | the so-called signlet and signaturelet. \ | 5 | the so-called signlet and signaturelet. \ |
@@ -18,7 +18,7 @@ DEPENDS += "openssl" | |||
18 | 18 | ||
19 | PV = "0.3.2+git${SRCPV}" | 19 | PV = "0.3.2+git${SRCPV}" |
20 | 20 | ||
21 | SRC_URI = " \ | 21 | SRC_URI = "\ |
22 | git://github.com/jiazhang0/libsign.git \ | 22 | git://github.com/jiazhang0/libsign.git \ |
23 | " | 23 | " |
24 | SRCREV = "0e8005f1c546ef25d834084f5cd85d386cf7cd1d" | 24 | SRCREV = "0e8005f1c546ef25d834084f5cd85d386cf7cd1d" |
@@ -27,7 +27,7 @@ PARALLEL_MAKE = "" | |||
27 | 27 | ||
28 | S = "${WORKDIR}/git" | 28 | S = "${WORKDIR}/git" |
29 | 29 | ||
30 | EXTRA_OEMAKE = " \ | 30 | EXTRA_OEMAKE = "\ |
31 | CC="${CC}" \ | 31 | CC="${CC}" \ |
32 | bindir="${STAGING_BINDIR}" \ | 32 | bindir="${STAGING_BINDIR}" \ |
33 | libdir="${STAGING_LIBDIR}" \ | 33 | libdir="${STAGING_LIBDIR}" \ |
@@ -43,7 +43,7 @@ do_install() { | |||
43 | oe_runmake install DESTDIR="${D}" | 43 | oe_runmake install DESTDIR="${D}" |
44 | } | 44 | } |
45 | 45 | ||
46 | FILES_${PN} += " \ | 46 | FILES_${PN} += "\ |
47 | ${libdir}/signaturelet \ | 47 | ${libdir}/signaturelet \ |
48 | " | 48 | " |
49 | 49 | ||
diff --git a/meta-encrypted-storage/recipes-kernel/linux/linux-yocto-encrypted-storage.inc b/meta-encrypted-storage/recipes-kernel/linux/linux-yocto-encrypted-storage.inc index 198c972..faa613f 100644 --- a/meta-encrypted-storage/recipes-kernel/linux/linux-yocto-encrypted-storage.inc +++ b/meta-encrypted-storage/recipes-kernel/linux/linux-yocto-encrypted-storage.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" |
2 | 2 | ||
3 | SRC_URI += " \ | 3 | SRC_URI += "\ |
4 | ${@bb.utils.contains('DISTRO_FEATURES', 'encrypted-storage', \ | 4 | ${@bb.utils.contains('DISTRO_FEATURES', 'encrypted-storage', \ |
5 | 'file://dmcrypt.scc file://dmcrypt.cfg', '', d)} \ | 5 | 'file://dmcrypt.scc file://dmcrypt.cfg', '', d)} \ |
6 | " | 6 | " |
diff --git a/meta-integrity/recipes-support/ima-evm-utils/ima-evm-utils_git.bb b/meta-integrity/recipes-support/ima-evm-utils/ima-evm-utils_git.bb index 16c315a..8ef322d 100644 --- a/meta-integrity/recipes-support/ima-evm-utils/ima-evm-utils_git.bb +++ b/meta-integrity/recipes-support/ima-evm-utils/ima-evm-utils_git.bb | |||
@@ -1,19 +1,19 @@ | |||
1 | LICENSE = "GPLv2" | 1 | LICENSE = "GPLv2" |
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
3 | 3 | ||
4 | SRC_URI = " \ | 4 | DEPENDS += "openssl attr keyutils" |
5 | git://git.code.sf.net/p/linux-ima/ima-evm-utils \ | 5 | |
6 | file://0001-Don-t-build-man-pages.patch \ | 6 | PV = "1.0+git${SRCPV}" |
7 | file://0001-Install-evmctl-to-sbindir-rather-than-bindir.patch \ | 7 | |
8 | SRC_URI = "\ | ||
9 | git://git.code.sf.net/p/linux-ima/ima-evm-utils \ | ||
10 | file://0001-Don-t-build-man-pages.patch \ | ||
11 | file://0001-Install-evmctl-to-sbindir-rather-than-bindir.patch \ | ||
8 | " | 12 | " |
9 | SRCREV = "3e2a67bdb0673581a97506262e62db098efef6d7" | 13 | SRCREV = "3e2a67bdb0673581a97506262e62db098efef6d7" |
10 | PV = "1.0+git${SRCPV}" | ||
11 | 14 | ||
12 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
13 | 16 | ||
14 | DEPENDS += "openssl attr keyutils" | ||
15 | RDEPENDS_${PN}_class-target += "libcrypto libattr keyutils" | ||
16 | |||
17 | inherit pkgconfig autotools | 17 | inherit pkgconfig autotools |
18 | 18 | ||
19 | # Specify any options you want to pass to the configure script using EXTRA_OECONF: | 19 | # Specify any options you want to pass to the configure script using EXTRA_OECONF: |
@@ -21,4 +21,6 @@ EXTRA_OECONF = "" | |||
21 | 21 | ||
22 | FILES_${PN}-dev += "${includedir}" | 22 | FILES_${PN}-dev += "${includedir}" |
23 | 23 | ||
24 | RDEPENDS_${PN}_class-target += "libcrypto libattr keyutils" | ||
25 | |||
24 | BBCLASSEXTEND = "native nativesdk" | 26 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb b/meta-integrity/recipes-support/keyutils/keyutils_git.bb index 1c33f2b..e88e75b 100644 --- a/meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb +++ b/meta-integrity/recipes-support/keyutils/keyutils_git.bb | |||
@@ -4,17 +4,17 @@ facility in the kernel, which can be used by filesystems, block devices and \ | |||
4 | more to gain and retain the authorization and encryption keys required to \ | 4 | more to gain and retain the authorization and encryption keys required to \ |
5 | perform secure operations." | 5 | perform secure operations." |
6 | SECTION = "base" | 6 | SECTION = "base" |
7 | |||
7 | LICENSE = "GPLv2" | 8 | LICENSE = "GPLv2" |
8 | LIC_FILES_CHKSUM = "file://LICENCE.GPL;md5=5f6e72824f5da505c1f4a7197f004b45" | 9 | LIC_FILES_CHKSUM = "file://LICENCE.GPL;md5=5f6e72824f5da505c1f4a7197f004b45" |
9 | 10 | ||
10 | PR = "r1" | 11 | PV = "1.5.9+git${SRCPV}" |
11 | |||
12 | SRCREV = "9209a0c8fd63afc59f644e078b40cec531409c30" | ||
13 | 12 | ||
14 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git;protocol=git \ | 13 | SRC_URI = "\ |
15 | file://keyutils_fix_library_install.patch \ | 14 | git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git \ |
16 | file://keyutils-fix-the-cflags-for-all-of-targets.patch \ | 15 | file://keyutils_fix_library_install.patch \ |
17 | " | 16 | file://keyutils-fix-the-cflags-for-all-of-targets.patch \ |
17 | " | ||
18 | SRC_URI_append_arm = " file://keyutils-remove-m32-m64.patch" | 18 | SRC_URI_append_arm = " file://keyutils-remove-m32-m64.patch" |
19 | SRC_URI_append_aarch64 = " file://keyutils-remove-m32-m64.patch" | 19 | SRC_URI_append_aarch64 = " file://keyutils-remove-m32-m64.patch" |
20 | SRC_URI_append_mips = " file://keyutils-remove-m32-m64.patch" | 20 | SRC_URI_append_mips = " file://keyutils-remove-m32-m64.patch" |
@@ -22,12 +22,13 @@ SRC_URI_append_mips64 = " file://keyutils-remove-m32-m64.patch" | |||
22 | SRC_URI_append_x86 = " file://keyutils_fix_x86_cflags.patch" | 22 | SRC_URI_append_x86 = " file://keyutils_fix_x86_cflags.patch" |
23 | SRC_URI_append_x86-64 = " file://keyutils_fix_x86-64_cflags.patch" | 23 | SRC_URI_append_x86-64 = " file://keyutils_fix_x86-64_cflags.patch" |
24 | SRC_URI_append_powerpc = "file://keyutils-remove-m32-m64.patch" | 24 | SRC_URI_append_powerpc = "file://keyutils-remove-m32-m64.patch" |
25 | SRCREV = "9209a0c8fd63afc59f644e078b40cec531409c30" | ||
25 | 26 | ||
26 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
27 | 28 | ||
28 | inherit autotools-brokensep | 29 | inherit autotools-brokensep |
29 | 30 | ||
30 | INSTALL_FLAGS = " \ | 31 | INSTALL_FLAGS = "\ |
31 | LIBDIR=${libdir} \ | 32 | LIBDIR=${libdir} \ |
32 | USRLIBDIR=${libdir} \ | 33 | USRLIBDIR=${libdir} \ |
33 | BINDIR=${bindir} \ | 34 | BINDIR=${bindir} \ |
diff --git a/meta-signing-key/classes/user-key-store.bbclass b/meta-signing-key/classes/user-key-store.bbclass index 6e3af96..57610ac 100644 --- a/meta-signing-key/classes/user-key-store.bbclass +++ b/meta-signing-key/classes/user-key-store.bbclass | |||
@@ -1,4 +1,4 @@ | |||
1 | DEPENDS_append_class-target += " \ | 1 | DEPENDS_append_class-target += "\ |
2 | sbsigntool-native \ | 2 | sbsigntool-native \ |
3 | libsign-native \ | 3 | libsign-native \ |
4 | openssl-native \ | 4 | openssl-native \ |