metal/bsp-files
Shrikumar Sharma 06626151de Install package_checksums in /usr/local/share/pkg-list
In order to prepare shared software packages on the system
controller for subcloud prestaging, the file
"package-checksums" containing a list of packages and
their checksums, must be copied to /usr/local/share/pkg-list
and renamed as packages_list.

The prestaging process needs the package-and-checksum list
for the version of the load on the controller and the version
of the load on the subcloud.

This file needs to be copied over to /var/www/pages/feed/rel-<id>
on the controller so that the subclouds can download it.

This file can be obtained by downloading from the system
controller. If the system is being installed directly from
a boot iso, the appropriate kickstart is called to install
the file from the mounted bootimage.iso.

There are a few cases which determine how to get the file.

Cases:
1. Install load directly from bootimage.iso (both controller and
   subcloud) - copy from mounted iso to location. The iso
   may be present on a peripheral device like a CD/DVD.

2. Install load over lan - download the file from server and copy
   to locations (all controllers)

3. Version upgrade by importing a new load - copy the file
   to the appropriate location on the system controller.
   The subcloud will download the package_checksums belonging
   to the imported load as part of the upgrade process.

Test Plan:
PASS: Verify that the file is copied over to /usr/local/share/
      pkg-list and /var/www/feed/rel-<rel-id>/ when installing
      System Controller or subcloud from bootimage.iso

PASS: Verify that the file is copied to the locations when
      installing controller-1 via pxeboot

PASS: Verify that the file is copied to the locations when upgrading
      the System Controller (using load-import)

PASS: Verify that the file is copied when adding a subcloud with
      dcmanager subcloud add

Depends On: https://review.opendev.org/c/starlingx/distcloud/+/841828
Story: 2009799
Task: 45376

Change-Id: If14b197999f2ae03e15fdc08ec27511ca1d41767
Signed-off-by: Shrikumar Sharma <shrikumar.sharma@windriver.com>
2022-05-19 22:29:55 -04:00
..
kickstarts Install package_checksums in /usr/local/share/pkg-list 2022-05-19 22:29:55 -04:00
upgrades Install package_checksums in /usr/local/share/pkg-list 2022-05-19 22:29:55 -04:00
centos-ks-gen.pl Prestaging package group and package filter 2022-04-21 18:46:41 -04:00
centos.syslinux.cfg Drop clone.py references from boot menu comment blocks 2020-02-03 12:48:03 -05:00
filter_out_from_controller Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
filter_out_from_prestaging Prestaging package group and package filter 2022-04-21 18:46:41 -04:00
filter_out_from_smallsystem Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
filter_out_from_smallsystem_lowlatency Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
filter_out_from_storage Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
filter_out_from_worker Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
filter_out_from_worker_lowlatency Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
grub.cfg Drop clone.py references from boot menu comment blocks 2020-02-03 12:48:03 -05:00
pkg-list.pl StarlingX open source release updates 2018-05-31 07:36:43 -07:00
platform_comps.py Prestaging package group and package filter 2022-04-21 18:46:41 -04:00
pxeboot.cfg Remove Extended Security Profile selections 2019-08-19 10:53:34 -04:00
pxeboot_grub.cfg Remove Extended Security Profile selections 2019-08-19 10:53:34 -04:00
pxeboot_setup.sh Update pxeboot_setup.sh to use stock grubx64.efi 2021-06-22 14:00:51 -04:00