metal/bsp-files
Kyle MacLeod 5f3c54297d Support CentOS previous release in subcloud remote install
This commit introduces support for installing CentOS-based previous
release (21.12) in Debian.

There are two main components in this commit:
1. Handle the label change for the backup partition:

Platform Backup in 21.12 vs 'platform_backup' in Debian
This is accomplished by ignoring the label/partlabel entirely when
searching for an existing backup partition. Instead, the partition
GUID is used to locate the partition. The GUID does not change
between distributions.

2. Use pre-bundled CentOS kickstarts for subcloud installs in Debian

Since modifications are required to the CentOS kickstart files for the
above, we copy the relevant pre-bundled centos kickstarts (for miniboot
and prestaged ISO only) into a centos-specific directory under the
Debian /var/www/pages/feed/rel-${platform_release}/kickstart directory
structure, in order to be available for the gen-bootloader-iso-centos.sh
utility. These files are included in the platform-kickstarts .deb
package.

NOTES on how the pre-bundled files are created:
- We cannot use the files under bsp-file/kickstarts/*.cfg, since they
  are not valid for 21.12 release (e.g. they refer to /var/www)
- Instead, files were taken from a valid 21.12 release and manually
  merged with the pre-bundled files generated from this repo

GOING FORWARD:
Only the bundled files at kickstart/files/centos/*.cfg will be
maintained. At a later time, we may choose to remove the partial
kickstarts under bsp-files/kickstarts/*.cfg, since they are not used
anywhere.

Test Plan

PASS:
- Build full ISO, verify that the
  /var/www/pages/feed/rel-23.09/kickstart/centos directory is populated
  with the pre-bundled kickstart files
- Verify previous-release CentOS subcloud install/deployment under
  Debian (requires patched 22.12 load)
- Verify current-release subcloud install under Debian

Story: 2010611
Task: 48268

Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
Change-Id: I1b7f76212e222dea7c6e586e4e9492f8a86a955e
2023-06-30 13:06:35 -04:00
..
kickstarts Support CentOS previous release in subcloud remote install 2023-06-30 13:06:35 -04:00
upgrades Refactor from-load pxe setup in to-load kickstart 2023-05-16 15:42:33 +00: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 sysinv_fpga_agent merge with sysinv_agent 2022-10-03 18:45:03 +00:00
filter_out_from_prestaging sysinv_fpga_agent merge with sysinv_agent 2022-10-03 18:45:03 +00: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 sysinv_fpga_agent merge with sysinv_agent 2022-10-03 18:45:03 +00:00
filter_out_from_worker Removing unused package python-ryu 2022-08-15 12:25:11 +00:00
filter_out_from_worker_lowlatency Removing unused package python-ryu 2022-08-15 12:25:11 +00: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_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
pxeboot.cfg Remove Extended Security Profile selections 2019-08-19 10:53:34 -04:00