vpnor: Add hostfw symlinks

On eMMC, in addition to the PNOR files, there are hostfw
files. Create symlinks for the 2 versions on flash, so that
pldm (which will replace mboxd) can read/write.

Tested: Both pnor and hostfw links are created:
root@rainier:~# ls -l /var/lib/phosphor-software-manager/*
/var/lib/phosphor-software-manager/hostfw:
lrwxrwxrwx    1 root     root            23 Jul 16 20:37 alternate -> /media/hostfw/alternate
lrwxrwxrwx    1 root     root            21 Jul 16 20:37 running -> /media/hostfw/running

/var/lib/phosphor-software-manager/pnor:
lrwxrwxrwx    1 root     root            21 Jul 16 20:37 prsv -> /media/hostfw/running
lrwxrwxrwx    1 root     root            21 Jul 16 20:37 ro -> /media/hostfw/running
lrwxrwxrwx    1 root     root            21 Jul 16 20:37 rw -> /media/hostfw/running

Change-Id: I2fe726641611112bc7a447eed5c2d64db268ce8e
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed
tree: 77ef0ba45b2a712c2fba88bd751c1fb39d231829
  1. m4/
  2. mmc/
  3. static/
  4. test/
  5. ubi/
  6. vpnor/
  7. .clang-format
  8. .gitignore
  9. activation.cpp
  10. activation.hpp
  11. bootstrap.sh
  12. configure.ac
  13. generate-tar
  14. generate-ubi
  15. image_verify.cpp
  16. image_verify.hpp
  17. item_updater.cpp
  18. item_updater.hpp
  19. item_updater_main.cpp
  20. LICENSE
  21. MAINTAINERS
  22. Makefile.am
  23. msl_verify.cpp
  24. msl_verify.hpp
  25. msl_verify_main.cpp
  26. op-pnor-msl.service
  27. openpower-pnor-update@.service
  28. org.open_power.Software.Host.Updater.service
  29. README.md
  30. utils.cpp
  31. utils.hpp
  32. version.cpp
  33. version.hpp
README.md

openpower-pnor-code-mgmt

OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.