diff options
author | Yong Li <yong.b.li@linux.intel.com> | 2017-12-15 16:25:05 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-01 16:15:19 +0300 |
commit | 250bde813e94170f8e67474e388acd8c67c3b24f (patch) | |
tree | a810530710ccb3aae66e5f9797c16dfc8f57e3b4 /meta-openbmc-bsp | |
parent | 3dd3273adf8a0df3166110649047cdd99fba2fce (diff) | |
download | openbmc-250bde813e94170f8e67474e388acd8c67c3b24f.tar.xz |
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 <yong.b.li@linux.intel.com>
Diffstat (limited to 'meta-openbmc-bsp')
2 files changed, 6 insertions, 0 deletions
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 index 87dd3ad2f..86d5cca1f 100644..100755 --- 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 |