[PATCH openbmc 0/7] initfs: check and auto-repair read/write file system

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Feb 6 11:20:22 AEDT 2016


This series if patches to the obmc init and shutdown scripts adds several features, including

Run fsck on the read write filesystem before mounting.
More information on what to do and options when init fails
Consistent location of update  images even during init repair cases

Plus these developer features
All mount arguments consolidated into variables
Clean unmount when testing rofs image in RAM (/run filesystem)
Other clean ups

I've done basic testing on my system but have only done light testing with the final cleanups.
It appears that the current obmc-phosphor-image is picking up e2fsutils-fsck already.

https://github.com/openbmc/openbmc/pull/165

Milton Miller (7):
  obmc-initfs: minor updates
  obmc-initfs: look for images in /run/initramfs/image-
  obmc-initfs: use varables for paths and mount arguments
  obmc-initfs: factor debug and takeover
  obmc-initfs: run fsck on read/write file system
  obmc-initfs: run update as a sub-script
  obmc-initfs: shutdown when rofs is a loop mounted image in /run

 .../obmc-phosphor-initfs/files/obmc-init.sh        | 91 +++++++++++++++++-----
 .../obmc-phosphor-initfs/files/obmc-shutdown.sh    | 22 ++++--
 .../obmc-phosphor-initfs/files/obmc-update.sh      | 59 +++++++-------
 3 files changed, 114 insertions(+), 58 deletions(-)

-- 
2.6.4




More information about the openbmc mailing list