[PATCH openbmc 0/9] Initfs fsck v3

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Feb 10 05:00:13 AEDT 2016


This series of patches to the obmc init, shutdown, and update 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 (from the /run file system)
Other clean ups

This version splits the first commit into 3 changes, and updates the messages to have more whitespace and a more explicit statement of the chroot test along with commit message edits.
It corrects a missed variable conversion of rwdir in update and loops on the chroot test.

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

Milton Miller (9):
  obmc-initfs: shutdown: don't follow links
  obmc-initfs: shutdown: use absolute paths
  obmc-initfs: init: check init is an executable file
  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        | 106 ++++++++++++++++-----
 .../obmc-phosphor-initfs/files/obmc-shutdown.sh    |  22 +++--
 .../obmc-phosphor-initfs/files/obmc-update.sh      |  59 ++++++------
 3 files changed, 126 insertions(+), 61 deletions(-)

-- 
2.6.4




More information about the openbmc mailing list