summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-core/base-files
AgeCommit message (Collapse)AuthorFilesLines
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop2-16/+0
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-23Clean up stale obmc-phosphor-utils referencesBrad Bishop1-2/+0
There were a number of places that inherited this class but did not use it. A number of classes that did use it did not inherit it. This was possible because the class was pulled in by the distro configuration but that has been removed here as well. Tested: Built and verified a witherspoon image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I73511cdcc609875b4fe016967c1b84c5200fb703
2018-03-13Convert obmc-ubi-fs to a distro featureBrad Bishop1-2/+2
As with MRW the use of the UBI image scheme is distro policy. Convert the existing machine feature to a distro feature. Enable the new distro feature on the systems that use it(Witherspoon). Add a distro override and fix-up MF checks to use this override instead for improved readability. Tested: Built a Witherspoon image and validated image Change-Id: I8ab03115bbfc2ecc77cff5c9eb8628903ae88051 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-11-28init: Add init script to setup /etc mount before starting systemdEdward A. James2-4/+2
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>
2017-10-05fstab: require service file to mount /var - fixes BMC factory resetMichael Tritz1-1/+1
This commit adds a service file requirement to fstab for mounting the ubi0:rwfs volume to /var. The required file is obmc-flash-bmc-reset.service, which, when called, will perform a BMC factory reset if the corresponding environment variable is set. This functionality was moved out of obmc-flash-bmc-ubirw.service because the factory reset is not the only procedure that calls that service. Moving this function to a new service avoids unexpected behaviors. Resolves openbmc/openbmc#2326 Change-Id: If2a9c650f315cff23040194ec87f16c05622c85e Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-09-11Add /home bind mountEddie James1-0/+1
Need /home to be writable and persistent. Resolves openbmc/openbmc#2250 Change-Id: I1b3477945b3364a9a5053fd085ff8fd591ad6949 Signed-off-by: Eddie James <eajames@us.ibm.com>
2017-09-05Add dir "srv" to the root file systemSaqib Khan1-0/+4
systemd-tmpfiles-setup.service tries to create a temporary dir /srv but due to the read-only root file system it was failing. Resolves openbmc/openbmc#2231 Change-Id: I429b16a7736959583f24bf7fb4c6766cda24130a Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2017-08-30filesystem: mount rw /media with fstabLeonel Gonzalez1-0/+1
/media will be a tmpfs. This is done so that /media is writeable in a read-only filesystem to be able to mount the ubi volumes for the systems that implement the software interfaces. Resolves openbmc/openbmc#2072 Change-Id: Id6163fe43843f9d17ef49760dee1caee7cc17ceb Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
2017-08-29filesystem: mount rw and overlayEdward A. James2-0/+14
Append base-files to add new fstab and depend on mount-overlay recipe. Add systemd services to help mounting overlay fs. Resolves openbmc/openbmc#2134 Change-Id: Ib56fcdde9f7364fca56a08e1ce72e7cafaac35b0 Signed-off-by: Edward A. James <eajames@us.ibm.com>