diff options
author | Edward A. James <eajames@us.ibm.com> | 2017-11-09 16:03:14 -0600 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2017-11-28 13:49:42 +0000 |
commit | c03b9c4a5d5f8e089297d8d4c13540d6b2c9421f (patch) | |
tree | 9ac113538f9b8edf3b576540c0415994c37c0aad /meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc | |
parent | 8053d428ff7f353463c25447de450056d441d5bd (diff) | |
download | talos-openbmc-c03b9c4a5d5f8e089297d8d4c13540d6b2c9421f.tar.gz talos-openbmc-c03b9c4a5d5f8e089297d8d4c13540d6b2c9421f.zip |
init: Add init script to setup /etc mount before starting systemd
Systemd requires /etc mounted and ready at init time. Previously, we
were mounting /etc as an overlay from the persistant filesystem after
systemd started. This caused a variety of issues with systemd and
associated applications (journal, etc).
This change also adds factory reset functionality.
Resolves openbmc/openbmc#2542
Change-Id: Ib8a38e99df39f833026fe4475670a7ec2b9c8d4d
Signed-off-by: Edward A. James <eajames@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc')
-rw-r--r-- | meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc index 5cc320fbc..a5be9f8fc 100644 --- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc +++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc @@ -10,7 +10,8 @@ SRC_URI += "file://0001-configs-ast-Add-redundnant-env.patch" SRC_URI += "${@bb.utils.contains('MACHINE_FEATURES', 'obmc-ubi-fs', \ 'file://0001-config-ast-common-hack-bootopts.patch \ - file://0004-config-ast-common-ubi-bootops.patch', '', d)}" + file://0004-config-ast-common-ubi-bootops.patch \ + file://0001-config-ast-common-Add-conditional-factory-reset-comm.patch', '', d)}" python do_configure () { if ((d.getVar("MACHINE_FEATURES", True)) == "obmc-ubi-fs"): |