[PATCH openbmc v3] Split whitelist into files by package.

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Jul 13 08:20:31 AEST 2016

The whitelist, a list of files and directories to preserve when updating the file system image, is not maintainable as a single file.  Each package should specify which files it wants saved, and a combined list generated.

This  patch is the first step of moving the white list content to a directory in the image and updating the scripts to look at the directory.  With this patch additional recipes can be added to the initramfs recipe that add additional files to be preserved across a "revert to factory image", such as adding shell history files as mentioned in #293.

Some design is needed to assemble the whitelist content from the various recipes because the whitelist is in the initramfs but it affects the packages in the main rootfs image.  Splitting the whitelist into fragments in the various package recipes is deferred for that design.

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


Milton Miller (1):
  initfs: Store whiltelist in a directory of files

 .../common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-init.sh | 2 +-
 .../recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh      | 6 ++++--
 .../recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-initfs.bb   | 5 +++--
 3 files changed, 8 insertions(+), 5 deletions(-)


More information about the openbmc mailing list