From 8352ec2ec0584b1162d33ccfacd3a04c6237143f Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 15 Apr 2014 17:02:15 +0200 Subject: [PATCH] Add systemd Change-Id: Ic4b09ba24151c79498556a0f0569e43c42483e63 --- conf/layer.conf | 6 ++++-- recipes-core/systemd/systemd_211.bbappend | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 recipes-core/systemd/systemd_211.bbappend diff --git a/conf/layer.conf b/conf/layer.conf index dcb2827..6608a8f 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -28,6 +28,8 @@ DEPENDS_rpm-lang-all = "rpm-native" DEPENDS_rpminst = "rpm-native" DEPENDS_rpm-libs = "rpm-native" +SERIAL_CONSOLE ?= "115200 ttyUSB0" +PREFERRED_VERSION_linux-yocto ?= "3.14%" -SYSVINIT_ENABLED_GETTYS = "USB0" -PREFERRED_VERSION_linux-yocto ?= "3.14%" \ No newline at end of file +DISTRO_FEATURES_append = " systemd" +VIRTUAL-RUNTIME_init_manager = "systemd" diff --git a/recipes-core/systemd/systemd_211.bbappend b/recipes-core/systemd/systemd_211.bbappend new file mode 100644 index 0000000..afd8cc6 --- /dev/null +++ b/recipes-core/systemd/systemd_211.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +DEPENDS += "smack" +RDEPENDS_${PN} += "smack" + +DEPENDS += "attr" + +EXTRA_OECONF += ' --enable-smack ' \ No newline at end of file -- 2.7.4