pldm package parser: fix caller

While porting [1] in [2] i had missed to also adapt the caller for the
PackageParser to the new API.

Adapting the caller to pass the full package as done in [1].

Tested: Unit Tests [3] for common code are passing again

```
ninja: Entering directory `build'
[17/18] Running all tests
 1/11 test_device_specific_update_function                     OK              0.06s
 2/11 test_device_start_update_async_immediate_success         OK              0.05s
 3/11 test_device_start_update_async_onreset_success           OK              0.05s
 4/11 test_software                                            OK              0.04s
 5/11 test_software_association                                OK              0.03s
 6/11 test_software_version                                    OK              0.02s
 7/11 test_software_get_random_softwareid                      OK              0.02s
 8/11 test_software_config                                     OK              0.02s
 9/11 test_device_start_update_async_invalid_fd                OK              0.04s
10/11 test_software_update                                     OK              2.02s
11/11 utest                                                    OK              6.12s

Ok:                11
Fail:              0
```

References:
[1] https://gerrit.openbmc.org/c/openbmc/pldm/+/81162
[2] https://gerrit.openbmc.org/c/openbmc/phosphor-bmc-code-mgmt/+/81195
[3] https://gerrit.openbmc.org/c/openbmc/phosphor-bmc-code-mgmt/+/77236

Change-Id: Ic080483510ed921ca64695a7599fbbd3f27185cb
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
1 file changed
tree: a64848895d9d6740965092ae117e232ee84b5d78
  1. bios/
  2. bmc/
  3. common/
  4. cpld/
  5. eeprom-device/
  6. i2c-vr/
  7. subprojects/
  8. test/
  9. .clang-format
  10. .clang-tidy
  11. .gitignore
  12. .shellcheck
  13. LICENSE
  14. meson.build
  15. meson.options
  16. OWNERS
  17. README.md
README.md

phosphor-bmc-code-mgmt

Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture

To Build

To build this package, do the following steps:

  1. meson build
  2. ninja -C build

To clean the repository run rm -r build.