diff options
author | Armin Kuster <akuster808@gmail.com> | 2017-05-07 22:39:03 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-05-14 07:56:43 -0700 |
commit | 4585f1e8c95435d60dd3a5287b25c7076347a3c9 (patch) | |
tree | 9be1977ee4fb8e0aff3f901db7da0e95cce3ac63 | |
parent | 6eac21cf4a7653753d87772c497ac14b8b6e3e67 (diff) | |
download | meta-security-4585f1e8c95435d60dd3a5287b25c7076347a3c9.tar.gz |
tpm: move to a sub layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-tpm/README | 0 | ||||
-rw-r--r-- | meta-tpm/conf/layer.conf | 13 | ||||
-rw-r--r-- | meta-tpm/recipes-kernel/linux/linux-yocto_4.10.bbappend | 5 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch (renamed from recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/libtpm/files/Use-format-s-for-call-to-dprintf.patch (renamed from recipes-tpm/libtpm/files/Use-format-s-for-call-to-dprintf.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/libtpm/files/fix_signed_issue.patch (renamed from recipes-tpm/libtpm/files/fix_signed_issue.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/libtpm/libtpm_1.0.bb (renamed from recipes-tpm/libtpm/libtpm_1.0.bb) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch (renamed from recipes-tpm/swtpm/files/fix_fcntl_h.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/files/fix_lib_search_path.patch (renamed from recipes-tpm/swtpm/files/fix_lib_search_path.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/files/fix_signed_issue.patch (renamed from recipes-tpm/swtpm/files/fix_signed_issue.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/files/ioctl_h.patch (renamed from recipes-tpm/swtpm/files/ioctl_h.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb (renamed from recipes-tpm/swtpm/swtpm-wrappers-native.bb) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/swtpm_1.0.bb (renamed from recipes-tpm/swtpm/swtpm_1.0.bb) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/tpm-tools/files/tpm-tools-extendpcr.patch (renamed from recipes-tpm/tpm-tools/files/tpm-tools-extendpcr.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/tpm-tools/tpm-tools_git.bb (renamed from recipes-tpm/tpm-tools/tpm-tools_git.bb) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb (renamed from recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss/ax_pthread.m4 (renamed from recipes-tpm/tpm2.0-tss/tpm2.0-tss/ax_pthread.m4) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss/fix_musl_select_include.patch (renamed from recipes-tpm/tpm2.0-tss/tpm2.0-tss/fix_musl_select_include.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb (renamed from recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb (renamed from recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/trousers/files/get-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch (renamed from recipes-tpm/trousers/files/get-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/trousers/files/tcsd.service (renamed from recipes-tpm/trousers/files/tcsd.service) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/trousers/files/trousers-udev.rules (renamed from recipes-tpm/trousers/files/trousers-udev.rules) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/trousers/files/trousers.init.sh (renamed from recipes-tpm/trousers/files/trousers.init.sh) | 0 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm/trousers/trousers_git.bb (renamed from recipes-tpm/trousers/trousers_git.bb) | 0 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_4.10.bbappend | 3 |
26 files changed, 18 insertions, 3 deletions
diff --git a/meta-tpm/README b/meta-tpm/README new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/meta-tpm/README | |||
diff --git a/meta-tpm/conf/layer.conf b/meta-tpm/conf/layer.conf new file mode 100644 index 0000000..5085db5 --- /dev/null +++ b/meta-tpm/conf/layer.conf | |||
@@ -0,0 +1,13 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have a recipes directory, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend ${LAYERDIR}/classes/*.bbclass" | ||
6 | |||
7 | BBFILE_COLLECTIONS += "tpm-layer" | ||
8 | BBFILE_PATTERN_tpm-layer = "^${LAYERDIR}/" | ||
9 | BBFILE_PRIORITY_tpm-layer = "6" | ||
10 | |||
11 | LAYERDEPENDS_tpm-layer = " \ | ||
12 | core \ | ||
13 | " | ||
diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto_4.10.bbappend b/meta-tpm/recipes-kernel/linux/linux-yocto_4.10.bbappend new file mode 100644 index 0000000..e6b3c65 --- /dev/null +++ b/meta-tpm/recipes-kernel/linux/linux-yocto_4.10.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # TPM kernel support | ||
3 | |||
4 | KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' features/tpm/tpm.scc', '', d)}" | ||
5 | |||
diff --git a/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch b/meta-tpm/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch index 9e1021a..9e1021a 100644 --- a/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch +++ b/meta-tpm/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch | |||
diff --git a/recipes-tpm/libtpm/files/Use-format-s-for-call-to-dprintf.patch b/meta-tpm/recipes-tpm/libtpm/files/Use-format-s-for-call-to-dprintf.patch index a71b5c1..a71b5c1 100644 --- a/recipes-tpm/libtpm/files/Use-format-s-for-call-to-dprintf.patch +++ b/meta-tpm/recipes-tpm/libtpm/files/Use-format-s-for-call-to-dprintf.patch | |||
diff --git a/recipes-tpm/libtpm/files/fix_signed_issue.patch b/meta-tpm/recipes-tpm/libtpm/files/fix_signed_issue.patch index fc13aa5..fc13aa5 100644 --- a/recipes-tpm/libtpm/files/fix_signed_issue.patch +++ b/meta-tpm/recipes-tpm/libtpm/files/fix_signed_issue.patch | |||
diff --git a/recipes-tpm/libtpm/libtpm_1.0.bb b/meta-tpm/recipes-tpm/libtpm/libtpm_1.0.bb index f9624f6..f9624f6 100644 --- a/recipes-tpm/libtpm/libtpm_1.0.bb +++ b/meta-tpm/recipes-tpm/libtpm/libtpm_1.0.bb | |||
diff --git a/recipes-tpm/swtpm/files/fix_fcntl_h.patch b/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch index e844045..e844045 100644 --- a/recipes-tpm/swtpm/files/fix_fcntl_h.patch +++ b/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch | |||
diff --git a/recipes-tpm/swtpm/files/fix_lib_search_path.patch b/meta-tpm/recipes-tpm/swtpm/files/fix_lib_search_path.patch index 28aca4a..28aca4a 100644 --- a/recipes-tpm/swtpm/files/fix_lib_search_path.patch +++ b/meta-tpm/recipes-tpm/swtpm/files/fix_lib_search_path.patch | |||
diff --git a/recipes-tpm/swtpm/files/fix_signed_issue.patch b/meta-tpm/recipes-tpm/swtpm/files/fix_signed_issue.patch index 140585b..140585b 100644 --- a/recipes-tpm/swtpm/files/fix_signed_issue.patch +++ b/meta-tpm/recipes-tpm/swtpm/files/fix_signed_issue.patch | |||
diff --git a/recipes-tpm/swtpm/files/ioctl_h.patch b/meta-tpm/recipes-tpm/swtpm/files/ioctl_h.patch index d736bc6..d736bc6 100644 --- a/recipes-tpm/swtpm/files/ioctl_h.patch +++ b/meta-tpm/recipes-tpm/swtpm/files/ioctl_h.patch | |||
diff --git a/recipes-tpm/swtpm/swtpm-wrappers-native.bb b/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb index 644f3ac..644f3ac 100644 --- a/recipes-tpm/swtpm/swtpm-wrappers-native.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb | |||
diff --git a/recipes-tpm/swtpm/swtpm_1.0.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_1.0.bb index 14f668b..14f668b 100644 --- a/recipes-tpm/swtpm/swtpm_1.0.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm_1.0.bb | |||
diff --git a/recipes-tpm/tpm-tools/files/tpm-tools-extendpcr.patch b/meta-tpm/recipes-tpm/tpm-tools/files/tpm-tools-extendpcr.patch index ab5e683..ab5e683 100644 --- a/recipes-tpm/tpm-tools/files/tpm-tools-extendpcr.patch +++ b/meta-tpm/recipes-tpm/tpm-tools/files/tpm-tools-extendpcr.patch | |||
diff --git a/recipes-tpm/tpm-tools/tpm-tools_git.bb b/meta-tpm/recipes-tpm/tpm-tools/tpm-tools_git.bb index f670bff..f670bff 100644 --- a/recipes-tpm/tpm-tools/tpm-tools_git.bb +++ b/meta-tpm/recipes-tpm/tpm-tools/tpm-tools_git.bb | |||
diff --git a/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb b/meta-tpm/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb index 6f1141c..6f1141c 100644 --- a/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb +++ b/meta-tpm/recipes-tpm/tpm2.0-tools/tpm2.0-tools_git.bb | |||
diff --git a/recipes-tpm/tpm2.0-tss/tpm2.0-tss/ax_pthread.m4 b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss/ax_pthread.m4 index d383ad5..d383ad5 100644 --- a/recipes-tpm/tpm2.0-tss/tpm2.0-tss/ax_pthread.m4 +++ b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss/ax_pthread.m4 | |||
diff --git a/recipes-tpm/tpm2.0-tss/tpm2.0-tss/fix_musl_select_include.patch b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss/fix_musl_select_include.patch index ecaca6e..ecaca6e 100644 --- a/recipes-tpm/tpm2.0-tss/tpm2.0-tss/fix_musl_select_include.patch +++ b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss/fix_musl_select_include.patch | |||
diff --git a/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb index 14ec0ab..14ec0ab 100644 --- a/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb +++ b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb | |||
diff --git a/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb b/meta-tpm/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb index a53d4c3..a53d4c3 100644 --- a/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb +++ b/meta-tpm/recipes-tpm/tpm2simulator/tpm2simulator-native_116.bb | |||
diff --git a/recipes-tpm/trousers/files/get-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch b/meta-tpm/recipes-tpm/trousers/files/get-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch index 3f5a144..3f5a144 100644 --- a/recipes-tpm/trousers/files/get-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch +++ b/meta-tpm/recipes-tpm/trousers/files/get-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch | |||
diff --git a/recipes-tpm/trousers/files/tcsd.service b/meta-tpm/recipes-tpm/trousers/files/tcsd.service index 787d4e9..787d4e9 100644 --- a/recipes-tpm/trousers/files/tcsd.service +++ b/meta-tpm/recipes-tpm/trousers/files/tcsd.service | |||
diff --git a/recipes-tpm/trousers/files/trousers-udev.rules b/meta-tpm/recipes-tpm/trousers/files/trousers-udev.rules index 256babd..256babd 100644 --- a/recipes-tpm/trousers/files/trousers-udev.rules +++ b/meta-tpm/recipes-tpm/trousers/files/trousers-udev.rules | |||
diff --git a/recipes-tpm/trousers/files/trousers.init.sh b/meta-tpm/recipes-tpm/trousers/files/trousers.init.sh index 0ecf7cc..0ecf7cc 100644 --- a/recipes-tpm/trousers/files/trousers.init.sh +++ b/meta-tpm/recipes-tpm/trousers/files/trousers.init.sh | |||
diff --git a/recipes-tpm/trousers/trousers_git.bb b/meta-tpm/recipes-tpm/trousers/trousers_git.bb index 352374c..352374c 100644 --- a/recipes-tpm/trousers/trousers_git.bb +++ b/meta-tpm/recipes-tpm/trousers/trousers_git.bb | |||
diff --git a/recipes-kernel/linux/linux-yocto_4.10.bbappend b/recipes-kernel/linux/linux-yocto_4.10.bbappend index 35a32b6..0e610d4 100644 --- a/recipes-kernel/linux/linux-yocto_4.10.bbappend +++ b/recipes-kernel/linux/linux-yocto_4.10.bbappend | |||
@@ -1,8 +1,5 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.10:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.10:" |
2 | 2 | ||
3 | # TPM kernel support | ||
4 | KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' features/tpm/tpm.scc', '', d)}" | ||
5 | |||
6 | SRC_URI += "\ | 3 | SRC_URI += "\ |
7 | ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \ | 4 | ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \ |
8 | " | 5 | " |