[yocto] [meta-selinux][PATCH V2] selinux-autorelabel: disable enforcing mode before relabel

2019-09-08 Thread Yi Zhao
The commit b0d31db104d9a4e94bc1409c2ffcc1d82f4a780f introduced an issue when first boot with bootparams="selinux=1 enforcing=1". At first boot, all files are unlabeled including /sbin/setfiles. The relabel operations are not permitted under enforcing mode. So we need to disable enforcing mode befor

[yocto] [PATCH 1/8] libtpm: update to 0.7.0

2019-09-08 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../recipes-tpm/libtpm/{libtpm_0.6.0.bb => libtpm_0.7.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-tpm/recipes-tpm/libtpm/{libtpm_0.6.0.bb => libtpm_0.7.0.bb} (88%) diff --git a/meta-tpm/recipes-tpm/libtpm/libtpm_0.6.0.bb b/meta-tp

[yocto] [PATCH 2/8] swtpm: update to 0.2.0

2019-09-08 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm/swtpm/{swtpm_0.1.0.bb => swtpm_0.2.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-tpm/recipes-tpm/swtpm/{swtpm_0.1.0.bb => swtpm_0.2.0.bb} (96%) diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.1.0.bb b/meta-tpm/recip

[yocto] [PATCH 3/8] tpm2-abrmd: update to 2.2.0

2019-09-08 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../tpm2-abrmd/{tpm2-abrmd_2.1.1.bb => tpm2-abrmd_2.2.0.bb}| 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta-tpm/recipes-tpm2/tpm2-abrmd/{tpm2-abrmd_2.1.1.bb => tpm2-abrmd_2.2.0.bb} (97%) diff --git a/meta-tpm/recipes-tpm2/tpm2-abrmd/tpm2-a

[yocto] [PATCH 7/8] tpm2-tcti-uefi: update to tip

2019-09-08 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb b/meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb index e

[yocto] [PATCH 5/8] tpm2-tss-engine: update to 1.0.1

2019-09-08 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../{tpm2-tss-engine_1.0.0.bb => tpm2-tss-engine_1.0.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-tpm/recipes-tpm2/tpm2-tss-engine/{tpm2-tss-engine_1.0.0.bb => tpm2-tss-engine_1.0.1.bb} (95%) diff --git a/meta-tpm/recipes-tpm2/tpm

[yocto] [PATCH 4/8] tpm2-tss: update to 2.3.0

2019-09-08 Thread Armin Kuster
drop patch already in update Signed-off-by: Armin Kuster --- ...-ax_code_coverage.m4-version-2019.01.patch | 84 --- .../{tpm2-tss_2.2.3.bb => tpm2-tss_2.3.1.bb} | 5 +- 2 files changed, 2 insertions(+), 87 deletions(-) delete mode 100644 meta-tpm/recipes-tpm2/tpm2-tss/tpm2-t

[yocto] [PATCH 6/8] tpm2-totp: update to 0.1.2

2019-09-08 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../tpm2-totp/{tpm2-totp_0.1.1.bb => tpm2-totp_0.1.2.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-tpm/recipes-tpm2/tpm2-totp/{tpm2-totp_0.1.1.bb => tpm2-totp_0.1.2.bb} (90%) diff --git a/meta-tpm/recipes-tpm2/tpm2-totp/tpm2-totp_0

[yocto] [PATCH 8/8] tpm2-pkcs11: update to tip

2019-09-08 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_0.9.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_0.9.9.bb b/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_0.9.9.bb index 222bb6d..2185749 100644

[yocto] [meta-selinux][PATCH] conf/layer.conf: use BBFILES_DYNAMIC for dynamic layers

2019-09-08 Thread Yi Zhao
From: Robert Yang The previous code add all BBFILE_COLLECTIONS/recipes*/*/*.bbappend to BBFILES, which causes the parsing very slow when there are many layers, e.g., I have 87 layers: * Before: $ rm -fr tmp-glibc/ cache; time bitbake -p real0m45.173s user0m0.560s sys 0m0.060s * Afte