Make bmcweb Find Privilege Registry Folder on SIGHUP

Logic is hard to refactor without some code duplication because
authorizer must be intialized before using and the cases for
SIGHUP and startup are different.

On startup we know for sure that we can initialize with
/var/google because we check there first.

For SIGHUP, we dont neccesarily know where the filepath is pointing
to, so we have to check both anyways.

Change-Id: Iac51b6f89b2f7ad305a8f0d47dd1a4c324f8c3b1
Signed-off-by: Edward Lee <edwarddl@google.com>
(cherry picked from commit 1b94a387ef756b079762cdfa3d7f1c6c101f8df2)
1 file changed
tree: 9681820ba7f5ebc86a72ae826b30ca1703e23bcd
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. LICENSE
  12. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.