[yocto] [meta-security][PATCH 1/1] swtpm-wrappers: fix naming convention violation

Patrick Ohly patrick.ohly at intel.com
Tue Apr 25 02:14:02 PDT 2017


Native recipes must be called <foo>-native. This is more than just a
recommendation, there's actual code which checks for the suffix.

Not following that rule broke swtpm-wrappers when using the "usrmerge"
DISTRO_FEATURE, because the code in native.bbclass which cleans up
DISTRO_FEATURES for native recipes was skipped and thus swtpm-wrappers
ended up using different paths than the other native recipes.

Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
 recipes-tpm/swtpm/{swtpm-wrappers.bb => swtpm-wrappers-native.bb} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-tpm/swtpm/{swtpm-wrappers.bb => swtpm-wrappers-native.bb} (100%)

diff --git a/recipes-tpm/swtpm/swtpm-wrappers.bb b/recipes-tpm/swtpm/swtpm-wrappers-native.bb
similarity index 100%
rename from recipes-tpm/swtpm/swtpm-wrappers.bb
rename to recipes-tpm/swtpm/swtpm-wrappers-native.bb
-- 
2.11.0




More information about the yocto mailing list