summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/preinit-mounts
Commit message (Collapse)AuthorAgeFilesLines
* preinit-mounts: Fix dependenciesBrad Bishop2018-03-011-0/+3
| | | | | | | | preinit-mounts is a shell script. Add appropriate dependencies. Change-Id: Idb8d44c23fe73638e40d0394e44c6db3bf5ba011 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Tested: Built and validated a witherspoon image
* preinit-mounts: Add a proper init alternativeBrad Bishop2018-02-271-3/+12
| | | | | | | | | | | | The obmc-ubi-fs feature enables a recipe 'preinit-mounts' that installs a systemd-launcher script at /sbin/init. This prevents systemd from installing the /sbin/init alternative. Add an init alternative to preinit-mounts and set it priority higher than the one provided by systemd. Tested: Built and verified Witherspoon image with QEMU Change-Id: Iaddfcd4b59148d9c5d96b4634bf575ff8c2a05e0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* init: Add init script to setup /etc mount before starting systemdEdward A. James2017-11-282-0/+29
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>
OpenPOWER on IntegriCloud