All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH openbmc v2 0/7] Update flash update to be useable at runtime.
@ 2016-05-26  0:30 OpenBMC Patches
  2016-05-26  0:30 ` [PATCH openbmc v2 1/7] initfs: shutdown: comment on update success OpenBMC Patches
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: OpenBMC Patches @ 2016-05-26  0:30 UTC (permalink / raw)
  To: openbmc

The underlying storage for a file system can not be updated when it is in use.  The initial solution was to update the flash as the system was being shutdown, with output to the console.

Updates were made to the init script that allows the flash to not be used for a given boot but the update script was not enhanced to make this user friendly, and no documentation was provided to prepare the system for this mode.

This series partially addresses #293 by enhancing the update script to 
1. provide more fine grained checks on update conflicts
2. provide additional checks that would cause failures
3. allow the flash to be updated at runtime if the in-use image is not in flash.

I anticipate adding options to allow init to have some options in the initramfs and get further from the command line.

This series is still in RFC state and has not been tested.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/openbmc/297)
<!-- Reviewable:end -->


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

Milton D. Miller II (7):
  initfs: shutdown: comment on update success
  initfs: update: Don't exec sh or sulogin on error just exit 1
  initfs: update: no error if no files to copy to ram
  initfs: update: add option to perform checks but skip actual update
  initfs: update: check individual mtd partitions for mounts
  initfs: update: add check for image size vs mtd size
  initfs: init: add file for base options

 .../obmc-phosphor-initfs/files/obmc-init.sh        |  10 +-
 .../obmc-phosphor-initfs/files/obmc-shutdown.sh    |   8 ++
 .../obmc-phosphor-initfs/files/obmc-update.sh      | 109 +++++++++++++++------
 3 files changed, 96 insertions(+), 31 deletions(-)

-- 
2.8.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-26  0:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-26  0:30 [PATCH openbmc v2 0/7] Update flash update to be useable at runtime OpenBMC Patches
2016-05-26  0:30 ` [PATCH openbmc v2 1/7] initfs: shutdown: comment on update success OpenBMC Patches
2016-05-26  0:30 ` [PATCH openbmc v2 2/7] initfs: update: Don't exec sh or sulogin on error just exit 1 OpenBMC Patches
2016-05-26  0:30 ` [PATCH openbmc v2 3/7] initfs: update: no error if no files to copy to ram OpenBMC Patches
2016-05-26  0:30 ` [PATCH openbmc v2 4/7] initfs: update: add option to perform checks but skip actual update OpenBMC Patches
2016-05-26  0:30 ` [PATCH openbmc v2 5/7] initfs: update: check individual mtd partitions for mounts OpenBMC Patches
2016-05-26  0:30 ` [PATCH openbmc v2 6/7] initfs: update: add check for image size vs mtd size OpenBMC Patches
2016-05-26  0:30 ` [PATCH openbmc v2 7/7] initfs: init: add file for base options OpenBMC Patches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.