metal/bsp-files
Eric MacDonald 14cac85e31 Enhance miniboot prestaged install bundle checks
The current miniboot install bundle check rejects
a local install if a container image set check
fails.

This update changes the install bundle check to
conform to the following rules and assumption:

Assumption:
  - the bootimage filename can be arbitrary but
    the filename, excluding the extension, must
    match that of its md5 check file. Example:
    If the iso is named 'bootimage.iso' then the
    check filename must be 'bootimage.md5'.

Rules:
  - There must be an iso image for there to be a local install.
  - There must be an md5 check file of the same filename as
    the iso filename and that check must pass for there to
    be a local install.
  - If there is/are container image check file(s) then run the
    check and log the result.
  - Local install should never be rejected due to missing or
    failed container image set checks.

Test Plan:

PASS: Verify local install with correct iso and check file
      naming convention for both iso and container image set
PASS: Verify local install if container images are missing
PASS: Verify local install if container image set check fails
PASS: Verify check logging for both accepted and rejects cases
PASS: Verify remote install succeeds when local install is rejected
PASS: Verify remote install succeeds with no prestaging

Change-Id: I772ea826233d49a64e4021cf4e28dcae1239b338
Story: 2009291
Task: 43930
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2021-11-17 11:40:20 -05:00
..
2021-07-13 20:15:56 +00:00
2021-07-13 20:15:56 +00:00