[OE-core] [RFC PATCH 3/6] systemd: check for required kernel config options

Khem Raj raj.khem at gmail.com
Tue May 10 00:31:30 UTC 2016


> On May 8, 2016, at 9:43 PM, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> 
> Use the list in the systemd 225 README to set required Linux kernel
> config options.
> 
> Fixes [YOCTO #5574].
> 
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> ---
> meta/recipes-core/systemd/systemd_229.bb | 19 ++++++++++++++++++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd_229.bb b/meta/recipes-core/systemd/systemd_229.bb
> index c23c749..d64b3cd 100644
> --- a/meta/recipes-core/systemd/systemd_229.bb
> +++ b/meta/recipes-core/systemd/systemd_229.bb
> @@ -22,7 +22,7 @@ DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl rea
> 
> SECTION = "base/shell"
> 
> -inherit useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu systemd ptest gettext bash-completion
> +inherit useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu systemd ptest gettext bash-completion kernel-check
> 
> SRCREV = "714c62b46379abb7558c544665522aca91691e10"
> 
> @@ -192,6 +192,23 @@ CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', ''
> # disable problematic GCC 5.2 optimizations [YOCTO #8291]
> FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2"
> 
> +# All the required options from the systemd README
> +REQUIRED_KERNEL_OPTIONS = "\
> +                           CONFIG_DEVTMPFS \
> +                           CONFIG_CGROUPS \
> +                           CONFIG_INOTIFY_USER \
> +                           CONFIG_SIGNALFD \
> +                           CONFIG_TIMERFD \
> +                           CONFIG_EPOLL \
> +                           CONFIG_NET \
> +                           CONFIG_SYSFS \
> +                           CONFIG_PROC_FS \
> +                           CONFIG_FHANDLE \
> +                           CONFIG_SYSFS_DEPRECATED=n \
> +                           CONFIG_UEVENT_HELPER_PATH='' \
> +                           CONFIG_FW_LOADER_USER_HELPER=n \

We still carry the patch for user fw loader. So this may be removed.

> +                           "
> +
> do_configure_prepend() {
> 	export NM="${HOST_PREFIX}gcc-nm"
> 	export AR="${HOST_PREFIX}gcc-ar"
> --
> 2.5.5
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160509/b3f515a3/attachment-0002.sig>


More information about the Openembedded-core mailing list