From 91f7784cfd26ca7d26e1006d78c067e74c7dc92a Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Fri, 15 Jan 2016 22:12:18 +0900 Subject: Support MinnowBoard MAX To configure for MinnowBoard MAX, use 'intel-corei7-64' as MACHINE. E.g. set up build environment by meta-agl's script: $ source meta-agl/script/envsetup.sh intel-corei7-64 [build-dir] There are instructions to write image into SD card and boot system at "http://elinux.org/Minnowboard:MinnowMaxYoctoProject". Change-Id: I19062482848bb6157791ab698bf92984e24a6d9a Signed-off-by: Tadao Tanikawa --- meta-agl/conf/bblayers.conf.sample | 1 + meta-agl/recipes-core/systemd/systemd/e2fsck.conf | 3 +++ meta-agl/recipes-core/systemd/systemd_%.bbappend | 10 ++++++++++ 3 files changed, 14 insertions(+) create mode 100644 meta-agl/recipes-core/systemd/systemd/e2fsck.conf (limited to 'meta-agl') diff --git a/meta-agl/conf/bblayers.conf.sample b/meta-agl/conf/bblayers.conf.sample index e5e54431c..668f0fe98 100644 --- a/meta-agl/conf/bblayers.conf.sample +++ b/meta-agl/conf/bblayers.conf.sample @@ -14,6 +14,7 @@ BBLAYERS ?= " \ ##OEROOT##/../meta-agl/meta-agl-bsp \ ##OEROOT##/../meta-openembedded/meta-oe \ ##OEROOT##/../meta-openembedded/meta-multimedia \ + ##OEROOT##/../meta-intel \ " BBLAYERS_NON_REMOVABLE ?= " \ ##OEROOT##/meta \ diff --git a/meta-agl/recipes-core/systemd/systemd/e2fsck.conf b/meta-agl/recipes-core/systemd/systemd/e2fsck.conf new file mode 100644 index 000000000..b774f9ebf --- /dev/null +++ b/meta-agl/recipes-core/systemd/systemd/e2fsck.conf @@ -0,0 +1,3 @@ +[options] +# This will prevent e2fsck from stopping boot just because the clock is wrong +broken_system_clock = 1 diff --git a/meta-agl/recipes-core/systemd/systemd_%.bbappend b/meta-agl/recipes-core/systemd/systemd_%.bbappend index 29b7d1d7e..ef926953c 100644 --- a/meta-agl/recipes-core/systemd/systemd_%.bbappend +++ b/meta-agl/recipes-core/systemd/systemd_%.bbappend @@ -1,3 +1,13 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " file://e2fsck.conf " + # enable networkd support PACKAGECONFIG_append_pn-systemd = " networkd" +do_install_append() { + # Install /etc/e2fsck.conf to avoid boot stuck by wrong clock time + install -p -D ${WORKDIR}/e2fsck.conf ${D}/etc/e2fsck.conf +} + +FILES_${PN} += " /etc/e2fsck.conf " -- cgit 1.2.3-korg