5f3c54297d
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 |
||
---|---|---|
.. | ||
functions.sh | ||
post_common.cfg | ||
post_kernel_aio_and_worker.cfg | ||
post_kernel_controller.cfg | ||
post_kernel_storage.cfg | ||
post_lvm_no_pv_on_rootfs.cfg | ||
post_lvm_pv_on_rootfs.cfg | ||
post_miniboot_controller.cfg | ||
post_net_common.cfg | ||
post_net_controller.cfg | ||
post_platform_conf_aio_lowlatency.cfg | ||
post_platform_conf_aio.cfg | ||
post_platform_conf_controller.cfg | ||
post_platform_conf_storage.cfg | ||
post_platform_conf_worker_lowlatency.cfg | ||
post_platform_conf_worker.cfg | ||
post_prestaging.cfg | ||
post_pxeboot_controller.cfg | ||
post_system_aio.cfg | ||
post_usb_addon.cfg | ||
post_usb_controller.cfg | ||
post_yow_controller.cfg | ||
pre_common_head.cfg | ||
pre_disk_aio.cfg | ||
pre_disk_controller.cfg | ||
pre_disk_setup_common.cfg | ||
pre_disk_setup_tail.cfg | ||
pre_disk_storage.cfg | ||
pre_disk_worker.cfg | ||
pre_net_common.cfg | ||
pre_pkglist_lowlatency.cfg | ||
pre_pkglist_prestage.cfg | ||
pre_pkglist.cfg | ||
pre_prestaging_install_check.cfg |