From 250bde813e94170f8e67474e388acd8c67c3b24f Mon Sep 17 00:00:00 2001 From: Yong Li Date: Fri, 15 Dec 2017 21:25:05 +0800 Subject: Systemd: backport a new api for uuid generation The current uuid generation method just export the machine-id, it does not match the systemd description (https://www.freedesktop.org/software/systemd/man/machine-id.html): This ID uniquely identifies the host. It should be considered "confidential", and must not be exposed in untrusted environments, in particular on the network. If a stable unique identifier that is tied to the machine is needed for some application, the machine ID or any part of it must not be used directly. Backport the new sd_id128_get_machine_app_specific from systemd 233, to replace the old uuid generation method. Change-Id: I44e7b32ca951a9fa591761c3a3e4f27da04d2b6f Signed-off-by: Yong Li --- .../meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig | 3 +++ .../meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig | 3 +++ 2 files changed, 6 insertions(+) mode change 100644 => 100755 meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig (limited to 'meta-openbmc-bsp') diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig index 71e6d27db..411ebbeee 100644 --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig @@ -204,6 +204,9 @@ CONFIG_TIMER_STATS=y CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set # CONFIG_CRYPTO_ECHAINIV is not set +CONFIG_CRYPTO_HMAC=y +CONFIG_CRYPTO_SHA256=y +CONFIG_CRYPTO_USER_API_HASH=y # CONFIG_CRYPTO_HW is not set # CONFIG_XZ_DEC_X86 is not set # CONFIG_XZ_DEC_POWERPC is not set diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig old mode 100644 new mode 100755 index 87dd3ad2f..86d5cca1f --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig @@ -213,6 +213,9 @@ CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set CONFIG_DEBUG_USER=y # CONFIG_CRYPTO_ECHAINIV is not set +CONFIG_CRYPTO_HMAC=y +CONFIG_CRYPTO_SHA256=y +CONFIG_CRYPTO_USER_API_HASH=y # CONFIG_CRYPTO_HW is not set # CONFIG_XZ_DEC_X86 is not set # CONFIG_XZ_DEC_POWERPC is not set -- cgit v1.2.3