[PATCH openbmc v2 0/3] Split whitelist into files by package.

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Feb 18 09:10:21 AEDT 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 series does the split into files, and has the update work on the combined result.

The work to move the files to other recipes will require further investigation into the build system.

Do we want to differentiate directories from plain files?

milton

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

Milton D. Miller II (3):
  update: look for whitelist in directory with images
  initfs: use S instead of WORKDIR when installing
  initfs: split whitelist into a directory of files

 .../obmc-phosphor-initfs/files/obmc-init.sh        |  2 +-
 .../obmc-phosphor-initfs/files/obmc-update.sh      | 11 +++++----
 .../obmc-phosphor-initfs/files/whitelist           |  9 --------
 .../files/whitelist.d/dropbear                     |  1 +
 .../obmc-phosphor-initfs/files/whitelist.d/events  |  1 +
 .../files/whitelist.d/networkd                     |  1 +
 .../obmc-phosphor-initfs/files/whitelist.d/users   |  4 ++++
 .../obmc-phosphor-initfs/files/whitelist.d/uuid    |  1 +
 .../obmc-phosphor-initfs/obmc-phosphor-init.bb     | 26 +++++++++++++++++-----
 9 files changed, 36 insertions(+), 20 deletions(-)
 delete mode 100644 meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist
 create mode 100644 meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist.d/dropbear
 create mode 100644 meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist.d/events
 create mode 100644 meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist.d/networkd
 create mode 100644 meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist.d/users
 create mode 100644 meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/whitelist.d/uuid

-- 
2.7.1




More information about the openbmc mailing list